diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2006-06-19 01:47:45 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2006-06-19 01:47:45 +0000 |
commit | 6952f03a7dfef2424164762ecd98fb128b7e44eb (patch) | |
tree | 2fa98afcc33e145d3c88417be24eb58a6f90cc9a /apps/plugins/rockboy/mem.h | |
parent | db8316fa52ed8eeb55136bc3aad2c98b25d249fb (diff) | |
download | rockbox-6952f03a7dfef2424164762ecd98fb128b7e44eb.tar.gz rockbox-6952f03a7dfef2424164762ecd98fb128b7e44eb.zip |
Update for Rockboy: - fix scaling for other color screens than H300 - full menu rewrite to display choices properly - some small tweaks to code - some formatting updates
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@10137 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy/mem.h')
-rw-r--r-- | apps/plugins/rockboy/mem.h | 12 |
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; | |||
48 | extern struct rom rom; | 47 | extern struct rom rom; |
49 | extern struct ram ram; | 48 | extern struct ram ram; |
50 | 49 | ||
51 | |||
52 | |||
53 | |||
54 | |||
55 | void mem_updatemap(void) ICODE_ATTR; | 50 | void mem_updatemap(void) ICODE_ATTR; |
56 | void ioreg_write(byte r, byte b) ICODE_ATTR; | 51 | void ioreg_write(byte r, byte b) ICODE_ATTR; |
57 | void mbc_write(int a, byte b) ICODE_ATTR; | 52 | void mbc_write(int a, byte b) ICODE_ATTR; |
@@ -60,7 +55,6 @@ byte mem_read(int a) ICODE_ATTR; | |||
60 | void mbc_reset(void); | 55 | void 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 | |||