Abstracted away the machine bus'es and flags in order to make the rest of the emulator agnostic as to how they're stored.
This commit is contained in:
@@ -194,7 +194,7 @@ cart_reset(void)
|
||||
cart_image_close(1);
|
||||
cart_image_close(0);
|
||||
|
||||
if (!(machines[machine].flags & MACHINE_CARTRIDGE))
|
||||
if (!machine_has_cartridge(machine))
|
||||
return;
|
||||
|
||||
for (i = 0; i < 2; i++) {
|
||||
|
||||
Reference in New Issue
Block a user