summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/mem.h
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockboy/mem.h')
-rw-r--r--apps/plugins/rockboy/mem.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/apps/plugins/rockboy/mem.h b/apps/plugins/rockboy/mem.h
index 36ea26e9f3..14d03d5ff5 100644
--- a/apps/plugins/rockboy/mem.h
+++ b/apps/plugins/rockboy/mem.h
@@ -1,4 +1,3 @@
1
2#ifndef __MEM_H__ 1#ifndef __MEM_H__
3#define __MEM_H__ 2#define __MEM_H__
4 3
@@ -48,10 +47,6 @@ extern struct mbc mbc;
48extern struct rom rom; 47extern struct rom rom;
49extern struct ram ram; 48extern struct ram ram;
50 49
51
52
53
54
55void mem_updatemap(void) ICODE_ATTR; 50void mem_updatemap(void) ICODE_ATTR;
56void ioreg_write(byte r, byte b) ICODE_ATTR; 51void ioreg_write(byte r, byte b) ICODE_ATTR;
57void mbc_write(int a, byte b) ICODE_ATTR; 52void mbc_write(int a, byte b) ICODE_ATTR;
@@ -60,7 +55,6 @@ byte mem_read(int a) ICODE_ATTR;
60void mbc_reset(void); 55void mbc_reset(void);
61 56
62 57
63
64#define READB(a) ( mbc.rmap[(a)>>12] \ 58#define READB(a) ( mbc.rmap[(a)>>12] \
65? mbc.rmap[(a)>>12][(a)] \ 59? mbc.rmap[(a)>>12][(a)] \
66: mem_read((a)) ) 60: mem_read((a)) )
@@ -71,10 +65,4 @@ void mbc_reset(void);
71: ( mem_write((a), (b)), (b) ) ) 65: ( mem_write((a), (b)), (b) ) )
72#define WRITEW(a, w) ( WRITEB((a), (w)&0xFF), WRITEB((a)+1, (w)>>8) ) 66#define WRITEW(a, w) ( WRITEB((a), (w)&0xFF), WRITEB((a)+1, (w)>>8) )
73 67
74
75
76
77#endif 68#endif
78
79
80