Use new return code from v6502_loadFileAtAddress
git-svn-id: svn+ssh://svn.phoenixbox.net/svn/apple1/trunk@82 64f78de7-aa59-e511-a0e8-0002a5492df0
This commit is contained in:
parent
e5db11c190
commit
822748228f
|
@ -100,7 +100,9 @@ int main(int argc, const char * argv[])
|
||||||
|
|
||||||
// Load Woz Monitor
|
// Load Woz Monitor
|
||||||
printf("Loading ROM...\n");
|
printf("Loading ROM...\n");
|
||||||
v6502_loadFileAtAddress(cpu->memory, "apple1.rom", RESET_VECTOR);
|
if (!v6502_loadFileAtAddress(cpu->memory, "apple1.rom", RESET_VECTOR)) {
|
||||||
|
return EXIT_FAILURE;
|
||||||
|
}
|
||||||
//v6502_map(cpu->memory, start, ROM_SIZE, romMirrorCallback, NULL, NULL);
|
//v6502_map(cpu->memory, start, ROM_SIZE, romMirrorCallback, NULL, NULL);
|
||||||
|
|
||||||
// Load integer BASIC
|
// Load integer BASIC
|
||||||
|
|
Loading…
Reference in New Issue