summarylogtreecommitdiffstats
path: root/build_fix2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'build_fix2.patch')
-rw-r--r--build_fix2.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/build_fix2.patch b/build_fix2.patch
new file mode 100644
index 000000000000..f59494643c9d
--- /dev/null
+++ b/build_fix2.patch
@@ -0,0 +1,21 @@
+*** src/chips/z80/z80.h Sat Sep 19 18:26:41 2020
+--- /home/tmoment/z80.h Sat Sep 19 18:26:32 2020
+***************
+*** 98,105 ****
+ u16 opcodeUsage[1280];
+
+ static const bool parityBit[256];
+! template<bool rlc, bool adjust> u8 doRL (u8 val);
+! template<bool rrc, bool adjust> u8 doRR (u8 val);
+ template<bool arith> u8 doSL (u8 val);
+ template<bool arith> u8 doSR (u8 val);
+ template<bool _8bit, bool adc> u16 doAddBase(u16 src, u16 dest);
+--- 98,105 ----
+ u16 opcodeUsage[1280];
+
+ static const bool parityBit[256];
+! template<bool rlc, char adjust> u8 doRL (u8 val);
+! template<bool rrc, char adjust> u8 doRR (u8 val);
+ template<bool arith> u8 doSL (u8 val);
+ template<bool arith> u8 doSR (u8 val);
+ template<bool _8bit, bool adc> u16 doAddBase(u16 src, u16 dest);