mirror of
https://github.com/RyuKojiro/apple1.git
synced 2025-01-15 07:34:14 +00:00
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
|
||||
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);
|
||||
|
||||
// Load integer BASIC
|
||||
|
Loading…
x
Reference in New Issue
Block a user