From 43ee57221abd87fcb6986fdc51c37e0f9ab9288e Mon Sep 17 00:00:00 2001 From: Raimon Zamora Date: Mon, 22 Apr 2024 13:11:29 +0200 Subject: [PATCH] =?UTF-8?q?-[FIX]=20El=20despa=C3=A7ament=20de=20les=20ins?= =?UTF-8?q?truccions=20de=20les=20tables=20IX,=20IX=5FBIT,=20IY=20i=20IY?= =?UTF-8?q?=5FBIT=20no=20pillava=20el=20signe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- z80.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/z80.cpp b/z80.cpp index 625ad70..107e7e7 100644 --- a/z80.cpp +++ b/z80.cpp @@ -1601,7 +1601,7 @@ namespace z80 void IX_INSTRUCTIONS() { const uint8_t opcode = READ_M1(); - uint8_t d; + int8_t d; switch (opcode) { @@ -1821,7 +1821,7 @@ namespace z80 void IX_BIT_INSTRUCTIONS() { - const uint8_t d = READ_MEM_8(); + const int8_t d = READ_MEM_8(); const uint8_t opcode = READ_MEM_8(); t+=3; switch (opcode) @@ -2181,7 +2181,7 @@ namespace z80 void IY_INSTRUCTIONS() { const uint8_t opcode = READ_M1(); - uint8_t d; + int8_t d; switch (opcode) { @@ -2401,7 +2401,7 @@ namespace z80 void IY_BIT_INSTRUCTIONS() { - const uint8_t d = READ_MEM_8(); + const int8_t d = READ_MEM_8(); const uint8_t opcode = READ_MEM_8(); t+=3; switch (opcode)