aboutsummaryrefslogtreecommitdiff
path: root/patches/dosbox-pure
diff options
context:
space:
mode:
authorneonloop2023-07-16 17:13:40 +0000
committerneonloop2023-07-16 17:13:40 +0000
commitda2a6ed0ad2aa61ba4f72cf56480509bbbf296a4 (patch)
tree06f092a978467769af1e3f1954adf0e06e8535b8 /patches/dosbox-pure
parentc1b9e80da4ee5b7177797431b8e246a3f45364cd (diff)
downloadpicoarch-da2a6ed0ad2aa61ba4f72cf56480509bbbf296a4.tar.gz
picoarch-da2a6ed0ad2aa61ba4f72cf56480509bbbf296a4.tar.bz2
picoarch-da2a6ed0ad2aa61ba4f72cf56480509bbbf296a4.zip
Updates Makefile and core patches
Diffstat (limited to 'patches/dosbox-pure')
-rw-r--r--patches/dosbox-pure/0001-add-auto-cycle-limit.patch10
1 files changed, 5 insertions, 5 deletions
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)