mirror of
https://github.com/TomHarte/CLK.git
synced 2025-01-12 00:30:31 +00:00
Fix value8_high
.
This commit is contained in:
parent
62fa0991ed
commit
8ff09a1923
@ -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];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user