Update snes_slot.cpp (#10695)

fix fast/slow rom reporting
This commit is contained in:
Tom 2022-12-17 23:36:41 +00:00 committed by GitHub
parent 7a66e97194
commit 696b16ccb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1371,7 +1371,7 @@ void base_sns_cart_slot_device::internal_header_logging(uint8_t *ROM, uint32_t l
logerror( "HEADER DETAILS\n" );
logerror( "==============\n\n" );
logerror( "\tName: %.21s\n", title );
logerror( "\tSpeed: %s [%d]\n", (ROM[hilo_mode + 0x15] & 0xf0) ? "FastROM" : "SlowROM", (ROM[hilo_mode + 0x15] & 0xf0) >> 4);
logerror( "\tSpeed: %s [%d]\n", (ROM[hilo_mode + 0x15] & 0x10) ? "FastROM" : "SlowROM", (ROM[hilo_mode + 0x15] & 0xf0) >> 4);
logerror( "\tBank size: %s [%d]\n", (ROM[hilo_mode + 0x15] & 0xf) ? "HiROM" : "LoROM", ROM[hilo_mode + 0x15] & 0xf);
logerror( "\tType: %s", cart_types[type]);