summaryrefslogtreecommitdiffstats
path: root/src/common/debug_interface.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-09-11 14:04:40 +0200
committerLioncash <mathew1800@gmail.com>2015-09-11 14:12:08 +0200
commit5dc9950772c6d23a5798a4a0366ac767b489c7ad (patch)
tree791c5bc89014f5df00ef2c827672d3026f9e8cf3 /src/common/debug_interface.h
parentMerge pull request #1141 from lioncash/hdr (diff)
downloadyuzu-5dc9950772c6d23a5798a4a0366ac767b489c7ad.tar
yuzu-5dc9950772c6d23a5798a4a0366ac767b489c7ad.tar.gz
yuzu-5dc9950772c6d23a5798a4a0366ac767b489c7ad.tar.bz2
yuzu-5dc9950772c6d23a5798a4a0366ac767b489c7ad.tar.lz
yuzu-5dc9950772c6d23a5798a4a0366ac767b489c7ad.tar.xz
yuzu-5dc9950772c6d23a5798a4a0366ac767b489c7ad.tar.zst
yuzu-5dc9950772c6d23a5798a4a0366ac767b489c7ad.zip
Diffstat (limited to 'src/common/debug_interface.h')
-rw-r--r--src/common/debug_interface.h36
1 files changed, 0 insertions, 36 deletions
diff --git a/src/common/debug_interface.h b/src/common/debug_interface.h
deleted file mode 100644
index 32f55cb59..000000000
--- a/src/common/debug_interface.h
+++ /dev/null
@@ -1,36 +0,0 @@
-#pragma once
-
-#include <cstring>
-#include <string>
-
-class DebugInterface
-{
-protected:
- virtual ~DebugInterface() {}
-
-public:
- virtual void disasm(unsigned int /*address*/, char *dest, int /*max_size*/) {strcpy(dest, "NODEBUGGER");}
- virtual void getRawMemoryString(int /*memory*/, unsigned int /*address*/, char *dest, int /*max_size*/) {strcpy(dest, "NODEBUGGER");}
- virtual int getInstructionSize(int /*instruction*/) {return 1;}
- virtual bool isAlive() {return true;}
- virtual bool isBreakpoint(unsigned int /*address*/) {return false;}
- virtual void setBreakpoint(unsigned int /*address*/){}
- virtual void clearBreakpoint(unsigned int /*address*/){}
- virtual void clearAllBreakpoints() {}
- virtual void toggleBreakpoint(unsigned int /*address*/){}
- virtual bool isMemCheck(unsigned int /*address*/) {return false;}
- virtual void toggleMemCheck(unsigned int /*address*/){}
- virtual unsigned int readMemory(unsigned int /*address*/){return 0;}
- virtual void writeExtraMemory(int /*memory*/, unsigned int /*value*/, unsigned int /*address*/) {}
- virtual unsigned int readExtraMemory(int /*memory*/, unsigned int /*address*/){return 0;}
- virtual unsigned int readInstruction(unsigned int /*address*/){return 0;}
- virtual unsigned int getPC() {return 0;}
- virtual void setPC(unsigned int /*address*/) {}
- virtual void step() {}
- virtual void runToBreakpoint() {}
- virtual void breakNow() {}
- virtual void insertBLR(unsigned int /*address*/, unsigned int /*value*/) {}
- virtual void showJitResults(unsigned int /*address*/) {};
- virtual int getColor(unsigned int /*address*/){return 0xFFFFFFFF;}
- virtual std::string getDescription(unsigned int /*address*/) = 0;
-};