aboutsummaryrefslogtreecommitdiffstats
path: root/main/bsnes/define-disassembler_read-relb.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/bsnes/define-disassembler_read-relb.patch')
-rw-r--r--main/bsnes/define-disassembler_read-relb.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/main/bsnes/define-disassembler_read-relb.patch b/main/bsnes/define-disassembler_read-relb.patch
new file mode 100644
index 0000000000..323e4c385a
--- /dev/null
+++ b/main/bsnes/define-disassembler_read-relb.patch
@@ -0,0 +1,13 @@
+diff --git a/bsnes/snes/alt/smp/smp.hpp b/bsnes/snes/alt/smp/smp.hpp
+index f81c454..ad04d3e 100755
+--- a/bsnes/snes/alt/smp/smp.hpp
++++ b/bsnes/snes/alt/smp/smp.hpp
+@@ -22,6 +22,8 @@ public:
+ ~SMP();
+
+ void disassemble_opcode(char *output, uint16 addr);
++ uint8 disassemble_read(uint16);
++ uint16 relb(int8, int);
+
+ //private:
+ struct Flags {