diff options
-rw-r--r-- | src/emu/cpu/v810/v810.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/cpu/v810/v810.c b/src/emu/cpu/v810/v810.c index a848c365163..9d56d2d6eb4 100644 --- a/src/emu/cpu/v810/v810.c +++ b/src/emu/cpu/v810/v810.c @@ -920,7 +920,7 @@ static void opCVTS(v810_state *cpustate,UINT32 op) static void opCVTW(v810_state *cpustate,UINT32 op) { //TODO: CY - float val1=GETREG(cpustate,GET1); + float val1=(INT32)GETREG(cpustate,GET1); SET_OV(0); SET_Z((val1==0.0)?1:0); SET_S((val1<0.0)?1:0); |