trunk/src/emu/bus/snes/snes_slot.c
r241440 | r241441 | |
1359 | 1359 | |
1360 | 1360 | logerror( "\tSize: %d megabits [%d]\n", 1 << (ROM[hilo_mode + 0x17] - 7), ROM[hilo_mode + 0x17]); |
1361 | 1361 | logerror( "\tSRAM: %d kilobits [%d]\n", ROM[hilo_mode + 0x18] * 8, ROM[hilo_mode + 0x18] ); |
1362 | | if (ROM[hilo_mode + 0x19] < 0x10) |
| 1362 | if (ROM[hilo_mode + 0x19] < ARRAY_LENGTH(countries)) |
1363 | 1363 | logerror( "\tCountry: %s [%d]\n", countries[ROM[hilo_mode + 0x19]], ROM[hilo_mode + 0x19]); |
1364 | 1364 | else |
1365 | 1365 | logerror( "\tCountry: Unknown [%d]\n", ROM[hilo_mode + 0x19]); |