ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/AmigaOS/main_amiga.cpp
(Generate patch)

Comparing BasiliskII/src/AmigaOS/main_amiga.cpp (file contents):
Revision 1.15 by cebix, 2001-02-02T20:52:57Z vs.
Revision 1.16 by cebix, 2001-06-30T12:58:07Z

# Line 276 | Line 276 | int main(int argc, char **argv)
276  
277          // Load Mac ROM
278          BPTR rom_fh = Open(rom_path ? (char *)rom_path : (char *)ROM_FILE_NAME, MODE_OLDFILE);
279 <        if (rom_fh == NULL) {
279 >        if (rom_fh == 0) {
280                  ErrorAlert(GetString(STR_NO_ROM_FILE_ERR));
281                  QuitEmulator();
282          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines