From 3bfcf252a88664af30a0dcc39b48008d6e83f299 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Wed, 15 Jun 2022 17:06:40 -0400 Subject: [PATCH] Fix `value8_high`. --- Processors/68000Mk2/68000Mk2.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Processors/68000Mk2/68000Mk2.hpp b/Processors/68000Mk2/68000Mk2.hpp index b3f4617af..fafba7f79 100644 --- a/Processors/68000Mk2/68000Mk2.hpp +++ b/Processors/68000Mk2/68000Mk2.hpp @@ -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]; }