summaryrefslogtreecommitdiff
path: root/bus.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'bus.cpp')
-rw-r--r--bus.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/bus.cpp b/bus.cpp
index aef20a4..444749c 100644
--- a/bus.cpp
+++ b/bus.cpp
@@ -17,6 +17,8 @@ unsigned char g_ram[RAM_SIZE] = {};
unsigned char g_io1[IO1_SIZE] = {};
unsigned char g_io2[IO2_SIZE] = {};
+std::vector<Breakpoint> code_bkpts{}, read_bkpts{}, write_bkpts{}, access_bkpts{};
+
static void exit_error(const char* fmt, ...)
{
va_list args;
@@ -63,7 +65,7 @@ static inline unsigned int memory_read_concrete(
(base[address + 2] << 8) |
base[address + 3];
}
- UNREACHABLE();
+ UNREACHABLE;
}
static inline struct read_result memory_read(