Changed an accidental addition to the correct subtraction in the 808x DAS instruction, fixes XTIDE port reporting.
This commit is contained in:
@@ -1898,7 +1898,7 @@ execx86(int cycs)
|
|||||||
temp = !!(cpu_state.flags & A_FLAG);
|
temp = !!(cpu_state.flags & A_FLAG);
|
||||||
if ((cpu_state.flags & A_FLAG) || ((AL & 0xf) > 9)) {
|
if ((cpu_state.flags & A_FLAG) || ((AL & 0xf) > 9)) {
|
||||||
cpu_src = 6;
|
cpu_src = 6;
|
||||||
cpu_data = cpu_dest + cpu_src;
|
cpu_data = cpu_dest - cpu_src;
|
||||||
set_of_sub(8);
|
set_of_sub(8);
|
||||||
cpu_dest = cpu_data;
|
cpu_dest = cpu_data;
|
||||||
set_af(1);
|
set_af(1);
|
||||||
|
Reference in New Issue
Block a user