mirror of
https://github.com/TomHarte/CLK.git
synced 2024-08-17 23:29:03 +00:00
Fix value8_high
.
This commit is contained in:
parent
f4ae58b1e5
commit
3bfcf252a8
@ -233,7 +233,7 @@ struct Microcycle {
|
|||||||
@c 0xff otherwise. Assumes this is a write cycle.
|
@c 0xff otherwise. Assumes this is a write cycle.
|
||||||
*/
|
*/
|
||||||
forceinline uint8_t value8_high() const {
|
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];
|
return values[operation & SelectByte];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user