projects
/
emu8051.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve performance of GUI step operations
[emu8051.git]
/
src
/
common
/
memory.c
diff --git
a/src/common/memory.c
b/src/common/memory.c
index
c5b2acf
..
9332ea7
100644
(file)
--- a/
src/common/memory.c
+++ b/
src/common/memory.c
@@
-75,6
+75,12
@@
memory_init(void)
}
}
+u_int8_t *
+memory_getbuf(enum mem_id_t id, unsigned long address)
+{
+ return &mem_infos[id].buf[address];
+}
+
void
memory_clear(enum mem_id_t id)
{