From 079e38ed9bb8354723864be5adb43b74771b5f19 Mon Sep 17 00:00:00 2001 From: Toni Wilen Date: Sat, 23 Dec 2017 23:03:05 +0200 Subject: [PATCH] DIVS divisor uae_s16 --- include/newcpu.h | 2 +- newcpu_common.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/newcpu.h b/include/newcpu.h index 700e3d9c..cbef72d6 100644 --- a/include/newcpu.h +++ b/include/newcpu.h @@ -635,7 +635,7 @@ extern int getDivu68kCycles (uae_u32 dividend, uae_u16 divisor); extern int getDivs68kCycles (uae_s32 dividend, uae_s16 divisor); extern void divbyzero_special(bool issigned, uae_s32 dst); extern void setdivuoverflowflags(uae_u32 dividend, uae_u16 divisor); -extern void setdivsoverflowflags(uae_s32 dividend, uae_u16 divisor); +extern void setdivsoverflowflags(uae_s32 dividend, uae_s16 divisor); extern void protect_roms (bool); extern void unprotect_maprom (void); extern bool is_hardreset(void); diff --git a/newcpu_common.cpp b/newcpu_common.cpp index 919c98dd..9cd97e13 100644 --- a/newcpu_common.cpp +++ b/newcpu_common.cpp @@ -809,7 +809,7 @@ void setdivuoverflowflags(uae_u32 dividend, uae_u16 divisor) * */ -void setdivsoverflowflags(uae_s32 dividend, uae_u16 divisor) +void setdivsoverflowflags(uae_s32 dividend, uae_s16 divisor) { if (currprefs.cpu_model >= 68040) { SET_VFLG(1); -- 2.47.3