OSDN Git Service

[VM][I286][JX] Fix FTBFS.
authorK.Ohta <whatisthis.sowhat@gmail.com>
Fri, 13 Sep 2019 15:47:49 +0000 (00:47 +0900)
committerK.Ohta <whatisthis.sowhat@gmail.com>
Fri, 13 Sep 2019 15:47:49 +0000 (00:47 +0900)
source/src/vm/jx/i286.cpp

index b1f2019..2949f98 100644 (file)
@@ -213,7 +213,7 @@ int I286::run(int icount)
        if(cpustate->pc == 0xff17d) cpustate->pc = 0xff18f;
 #endif
 #ifdef KEYBOARD_HACK
-       if(cpustate->pc == 0xfa909) { cpustate->regs.b[BH] = read_port_byte(0xa1); cpustate->pc = 0xfa97c; }
+       if(cpustate->pc == 0xfa909) { cpustate->regs.b[BH] = read_port_byte(cpustate, 0xa1); cpustate->pc = 0xfa97c; }
        if(cpustate->pc == 0xff6e1) { cpustate->regs.b[AL] = 0x0d; cpustate->pc += 2; }
 #endif
 #endif