Fixed false detection of IBM XT ROMs.
This commit is contained in:
parent
aff104977d
commit
f8575b7b97
1 changed files with 1 additions and 0 deletions
|
|
@ -328,6 +328,7 @@ int loadbios()
|
||||||
{
|
{
|
||||||
f = romfopen("roms/ibmxt/5000027.u19", "rb");
|
f = romfopen("roms/ibmxt/5000027.u19", "rb");
|
||||||
ff = romfopen("roms/ibmxt/1501512.u18","rb");
|
ff = romfopen("roms/ibmxt/1501512.u18","rb");
|
||||||
|
if (!f || !ff) break;
|
||||||
fread(rom, 0x8000, 1, f);
|
fread(rom, 0x8000, 1, f);
|
||||||
fread(rom + 0x8000, 0x8000, 1, ff);
|
fread(rom + 0x8000, 0x8000, 1, ff);
|
||||||
fclose(ff);
|
fclose(ff);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue