]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Make non-JIT event skip count adjustable and reduced it slightly.
authorToni Wilen <twilen@winuae.net>
Tue, 27 May 2025 15:59:57 +0000 (18:59 +0300)
committerToni Wilen <twilen@winuae.net>
Tue, 27 May 2025 15:59:57 +0000 (18:59 +0300)
events.cpp
od-win32/win32.cpp

index a9e4cc6663a7fd56dcad9016ee7028bf0820b2a6..83bb4f333c6e23b69406c23c193bbc7340adc5af 100644 (file)
@@ -25,8 +25,6 @@
 #include "audio.h"
 #include "cia.h"
 
-static const int pissoff_nojit_value = 256 * CYCLE_UNIT;
-
 extern uae_u8 agnus_hpos;
 int custom_fastmode;
 extern int linear_hpos;
index 338ebdc0359ebfca0102131b34356b00a64ed817..9d11f4aefe289508b83f70f67f8f3f96bf0a9a06 100644 (file)
@@ -132,6 +132,7 @@ int log_vsync, debug_vsync_min_delay, debug_vsync_forced_delay;
 static int log_winmouse;
 int uaelib_debug;
 int pissoff_value = 15000 * CYCLE_UNIT;
+int pissoff_nojit_value = 160 * CYCLE_UNIT;
 unsigned int fpucontrol;
 int extraframewait, extraframewait2;
 int busywait;
@@ -7137,8 +7138,12 @@ static int parseargs(const TCHAR *argx, const TCHAR *np, const TCHAR *np2)
                minidumpmode = (MINIDUMP_TYPE)getval (np);
                return 2;
        }
-       if (!_tcscmp (arg, _T("jitevent"))) {
-               pissoff_value = getval (np) * CYCLE_UNIT;
+       if (!_tcscmp(arg, _T("jitevent"))) {
+               pissoff_value = getval(np) * CYCLE_UNIT;
+               return 2;
+       }
+       if (!_tcscmp(arg, _T("cpuevent"))) {
+               pissoff_nojit_value = getval(np) * CYCLE_UNIT;
                return 2;
        }
        if (!_tcscmp (arg, _T("inputrecorddebug"))) {