Fix missing check on PS/2 Model 30-286 ROM load - fixes crash when no ROMs present. Patch from AmatCoder.
This commit is contained in:
parent
5c4b6ade9a
commit
76cdb63bc6
1 changed files with 1 additions and 0 deletions
|
|
@ -620,6 +620,7 @@ int loadbios()
|
|||
|
||||
case ROM_IBMPS2_M30_286:
|
||||
f = romfopen("roms/ibmps2_m30_286/33f5381a.bin", "rb");
|
||||
if (!f) break;
|
||||
fread(rom, 0x20000, 1, f);
|
||||
fclose(f);
|
||||
biosmask = 0x1ffff;
|
||||
|
|
|
|||
Loading…
Reference in a new issue