diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2007-04-18 07:41:31 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2007-04-18 07:41:31 +0000 |
commit | c3dcc87aa494934943769b70fd752af1271d196a (patch) | |
tree | 56cd61160f29c22ee3fa67ee9bc3e020013aa051 /apps/plugins/rockboy/mem.h | |
parent | 521d6a5e1f1dc3a08700b22db5b203920c9f3bda (diff) | |
download | rockbox-c3dcc87aa494934943769b70fd752af1271d196a.tar.gz rockbox-c3dcc87aa494934943769b70fd752af1271d196a.zip |
Allow rockboy to run while music is playing with smaller roms. Works on players that do not use the IRAM macros. Only tested on the Gigabeat as I think that is the only player that will run rockboy well with music. Also simplified the sound and reduced the code size a bit.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13199 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy/mem.h')
-rw-r--r-- | apps/plugins/rockboy/mem.h | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/apps/plugins/rockboy/mem.h b/apps/plugins/rockboy/mem.h index 66165d1970..005c495f31 100644 --- a/apps/plugins/rockboy/mem.h +++ b/apps/plugins/rockboy/mem.h | |||
@@ -1,19 +1,18 @@ | |||
1 | #ifndef __MEM_H__ | 1 | #ifndef __MEM_H__ |
2 | #define __MEM_H__ | 2 | #define __MEM_H__ |
3 | 3 | ||
4 | |||
5 | #include "defs.h" | 4 | #include "defs.h" |
6 | 5 | ||
7 | 6 | #define MBC_NONE 0 | |
8 | 7 | #define MBC_MBC1 1 | |
9 | #define MBC_NONE 0 | 8 | #define MBC_MBC2 2 |
10 | #define MBC_MBC1 1 | 9 | #define MBC_MBC3 4 |
11 | #define MBC_MBC2 2 | 10 | #define MBC_MBC5 8 |
12 | #define MBC_MBC3 3 | 11 | #define MBC_RUMBLE 16 |
13 | #define MBC_MBC5 5 | 12 | #define MBC_HUC1 32 |
14 | #define MBC_RUMBLE 15 | 13 | #define MBC_HUC3 64 |
15 | #define MBC_HUC1 0xC1 | 14 | #define MBC_RTC 128 |
16 | #define MBC_HUC3 0xC3 | 15 | #define MBC_BAT 256 |
17 | 16 | ||
18 | struct mbc | 17 | struct mbc |
19 | { | 18 | { |