From da2a6ed0ad2aa61ba4f72cf56480509bbbf296a4 Mon Sep 17 00:00:00 2001 From: neonloop Date: Sun, 16 Jul 2023 17:13:40 +0000 Subject: Updates Makefile and core patches --- patches/dosbox-pure/0001-add-auto-cycle-limit.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'patches/dosbox-pure') diff --git a/patches/dosbox-pure/0001-add-auto-cycle-limit.patch b/patches/dosbox-pure/0001-add-auto-cycle-limit.patch index 69baeb9..f524ee6 100644 --- a/patches/dosbox-pure/0001-add-auto-cycle-limit.patch +++ b/patches/dosbox-pure/0001-add-auto-cycle-limit.patch @@ -1,10 +1,10 @@ diff --git a/dosbox_pure_libretro.cpp b/dosbox_pure_libretro.cpp -index 6a03631..dc4f70d 100644 +index af4c66f..bd59842 100644 --- a/dosbox_pure_libretro.cpp +++ b/dosbox_pure_libretro.cpp -@@ -451,15 +451,30 @@ void DBP_SetRealModeCycles() - (year > 1993 ? 60000 : // Pentium 90 MHz - Cycles1981to1993[year - 1981]))); // Matching speed for year +@@ -544,15 +544,30 @@ void DBP_SetRealModeCycles() + (year > 1999 ? 500000 : // Pentium III, 600 MHz and later + Cycles1981to1999[year - 1981]))); // Matching speed for year +#ifdef CYCLE_LIMIT + if (CPU_CycleMax > CYCLE_LIMIT) @@ -32,4 +32,4 @@ index 6a03631..dc4f70d 100644 +#endif } - static void DBP_UnlockSpeed(bool unlock, int start_frame_skip = 0, bool skip_once = false) + static bool DBP_NeedFrameSkip(bool in_emulation) -- cgit v1.2.3