aboutsummaryrefslogtreecommitdiff
path: root/emulators/libretro-flycast/files/patch-core_rec-x86_rec__x86__driver.cpp
diff options
context:
space:
mode:
authorTimothy Beyer <beyert@cs.ucr.edu>2022-06-27 07:08:54 +0000
committerLi-Wen Hsu <lwhsu@FreeBSD.org>2022-06-27 07:08:54 +0000
commiteb935d1066f6c36361138dae21cf0ef016b4e97b (patch)
tree2a1402a9960878f1b87a7c8979e372be486ee0bc /emulators/libretro-flycast/files/patch-core_rec-x86_rec__x86__driver.cpp
parent98bb3ae46e2e6a4da0c039fbf4e1d28b3fdd1de8 (diff)
downloadports-eb935d1066f6c36361138dae21cf0ef016b4e97b.tar.gz
ports-eb935d1066f6c36361138dae21cf0ef016b4e97b.zip
emulators/libretro-flycast: Fix 32-bit / i386 build
PR: 264217
Diffstat (limited to 'emulators/libretro-flycast/files/patch-core_rec-x86_rec__x86__driver.cpp')
-rw-r--r--emulators/libretro-flycast/files/patch-core_rec-x86_rec__x86__driver.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/emulators/libretro-flycast/files/patch-core_rec-x86_rec__x86__driver.cpp b/emulators/libretro-flycast/files/patch-core_rec-x86_rec__x86__driver.cpp
new file mode 100644
index 000000000000..0391177b7edc
--- /dev/null
+++ b/emulators/libretro-flycast/files/patch-core_rec-x86_rec__x86__driver.cpp
@@ -0,0 +1,11 @@
+--- core/rec-x86/rec_x86_driver.cpp.orig 2022-05-20 09:34:27 UTC
++++ core/rec-x86/rec_x86_driver.cpp
+@@ -31,7 +31,7 @@ RuntimeBlockInfo* ngen_AllocateBlock(void)
+
+ x86_block* x86e;
+
+-static int cycle_counter;
++int cycle_counter;
+
+ void* loop_no_update;
+ void* intc_sched;