glade port: disable code initializing removed fields in ARM9Mem

this is a hack to make it compile, since tileview wasn't working anyway
This commit is contained in:
matusz 2009-04-11 15:27:48 +00:00
parent 804bf0bfcf
commit 88303c627d
1 changed files with 17 additions and 16 deletions

View File

@ -34,25 +34,26 @@ void init_combo_memory(GtkComboBox *combo, u8 ** addresses) {
gtk_list_store_set (model, &iter, 0, str,-1); \
addresses[i]=(addr r); i++;
DO("A-BG - 0x6000000",ARM9Mem.ARM9_ABG,)
DO("A-BG - 0x6010000",ARM9Mem.ARM9_ABG,+0x10000)
DO("A-BG - 0x6020000",ARM9Mem.ARM9_ABG,+0x20000)
DO("A-BG - 0x6030000",ARM9Mem.ARM9_ABG,+0x30000)
DO("A-BG - 0x6040000",ARM9Mem.ARM9_ABG,+0x40000)
DO("A-BG - 0x6050000",ARM9Mem.ARM9_ABG,+0x50000)
DO("A-BG - 0x6060000",ARM9Mem.ARM9_ABG,+0x60000)
DO("A-BG - 0x6070000",ARM9Mem.ARM9_ABG,+0x70000)
// FIXME: update tileview to actually work
// DO("A-BG - 0x6000000",ARM9Mem.ARM9_ABG,)
// DO("A-BG - 0x6010000",ARM9Mem.ARM9_ABG,+0x10000)
// DO("A-BG - 0x6020000",ARM9Mem.ARM9_ABG,+0x20000)
// DO("A-BG - 0x6030000",ARM9Mem.ARM9_ABG,+0x30000)
// DO("A-BG - 0x6040000",ARM9Mem.ARM9_ABG,+0x40000)
// DO("A-BG - 0x6050000",ARM9Mem.ARM9_ABG,+0x50000)
// DO("A-BG - 0x6060000",ARM9Mem.ARM9_ABG,+0x60000)
// DO("A-BG - 0x6070000",ARM9Mem.ARM9_ABG,+0x70000)
DO("B-BG - 0x6200000",ARM9Mem.ARM9_BBG,)
DO("B-BG - 0x6210000",ARM9Mem.ARM9_BBG,+0x10000)
// DO("B-BG - 0x6200000",ARM9Mem.ARM9_BBG,)
// DO("B-BG - 0x6210000",ARM9Mem.ARM9_BBG,+0x10000)
DO("A-OBJ- 0x6400000",ARM9Mem.ARM9_AOBJ,)
DO("A-OBJ- 0x6410000",ARM9Mem.ARM9_AOBJ,+0x10000)
DO("A-OBJ- 0x6420000",ARM9Mem.ARM9_AOBJ,+0x20000)
DO("A-OBJ- 0x6430000",ARM9Mem.ARM9_AOBJ,+0x30000)
// DO("A-OBJ- 0x6400000",ARM9Mem.ARM9_AOBJ,)
// DO("A-OBJ- 0x6410000",ARM9Mem.ARM9_AOBJ,+0x10000)
// DO("A-OBJ- 0x6420000",ARM9Mem.ARM9_AOBJ,+0x20000)
// DO("A-OBJ- 0x6430000",ARM9Mem.ARM9_AOBJ,+0x30000)
DO("B-OBJ- 0x6600000",ARM9Mem.ARM9_BOBJ,)
DO("B-OBJ- 0x6610000",ARM9Mem.ARM9_BOBJ,+0x10000)
// DO("B-OBJ- 0x6600000",ARM9Mem.ARM9_BOBJ,)
// DO("B-OBJ- 0x6610000",ARM9Mem.ARM9_BOBJ,+0x10000)
DO("LCD - 0x6800000",ARM9Mem.ARM9_LCD,)
DO("LCD - 0x6810000",ARM9Mem.ARM9_LCD,+0x10000)