diff options
author | Benedikt Böhm <bb@xnull.de> | 2009-07-07 10:34:07 +0200 |
---|---|---|
committer | Benedikt Böhm <bb@xnull.de> | 2009-07-07 10:34:07 +0200 |
commit | 4ad083bf274a972ed7286b9b52179e30873aa830 (patch) | |
tree | c23346d09d906d61855ff1dfe3f42f43d0bc374d /src/emu/mem.h | |
parent | 2ee0ef30cb01415cdb9cdbf4adc5ad279f44f661 (diff) | |
download | swppy-4ad083bf274a972ed7286b9b52179e30873aa830.tar.gz swppy-4ad083bf274a972ed7286b9b52179e30873aa830.tar.xz swppy-4ad083bf274a972ed7286b9b52179e30873aa830.zip |
implement memory bounds checking
Diffstat (limited to 'src/emu/mem.h')
-rw-r--r-- | src/emu/mem.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/mem.h b/src/emu/mem.h index 985a838..eea391e 100644 --- a/src/emu/mem.h +++ b/src/emu/mem.h @@ -5,6 +5,7 @@ #include <sys/types.h> extern uint8_t *MEM; +extern uint64_t mem_size; void store(size_t addr, uint32_t value); uint32_t load(size_t addr); |