From c3dcc87aa494934943769b70fd752af1271d196a Mon Sep 17 00:00:00 2001 From: Karl Kurbjun Date: Wed, 18 Apr 2007 07:41:31 +0000 Subject: 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 --- apps/plugins/rockboy/mem.h | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) (limited to 'apps/plugins/rockboy/mem.h') 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 @@ #ifndef __MEM_H__ #define __MEM_H__ - #include "defs.h" - - -#define MBC_NONE 0 -#define MBC_MBC1 1 -#define MBC_MBC2 2 -#define MBC_MBC3 3 -#define MBC_MBC5 5 -#define MBC_RUMBLE 15 -#define MBC_HUC1 0xC1 -#define MBC_HUC3 0xC3 +#define MBC_NONE 0 +#define MBC_MBC1 1 +#define MBC_MBC2 2 +#define MBC_MBC3 4 +#define MBC_MBC5 8 +#define MBC_RUMBLE 16 +#define MBC_HUC1 32 +#define MBC_HUC3 64 +#define MBC_RTC 128 +#define MBC_BAT 256 struct mbc { -- cgit v1.2.3