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:
Daniel Loffgren 2016-02-04 06:56:02 +00:00
parent e5db11c190
commit 822748228f
1 changed files with 3 additions and 1 deletions

View File

@ -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