1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-07-18 04:28:57 +00:00

Fix value8_high.

This commit is contained in:
Thomas Harte 2022-06-15 17:06:40 -04:00
parent f4ae58b1e5
commit 3bfcf252a8

View File

@ -233,7 +233,7 @@ struct Microcycle {
@c 0xff otherwise. Assumes this is a write cycle.
*/
forceinline uint8_t value8_high() const {
const uint8_t values[] = { uint8_t(value->w), value->b};
const uint8_t values[] = { uint8_t(value->w >> 8), value->b};
return values[operation & SelectByte];
}