Fixed the AHA-1640 and BT-640A MCA SCSI controllers, they both work correctly now;

IBM PS/2 Model 80-486 now correctly loads and saves a second NVR file.
This commit is contained in:
OBattler
2017-12-05 22:39:21 +01:00
parent 8d8915e231
commit c15fb69584
5 changed files with 21 additions and 6 deletions

View File

@@ -68,6 +68,7 @@ static void *ps2_nvr_init(device_t *info)
switch (romset)
{
case ROM_IBMPS2_M80: f = nvr_fopen(L"ibmps2_m80_sec.nvr", L"rb"); break;
case ROM_IBMPS2_M80_486: f = nvr_fopen(L"ibmps2_m80-486_sec.nvr", L"rb"); break;
}
if (f)
{
@@ -88,6 +89,7 @@ void ps2_nvr_close(void *p)
switch (romset)
{
case ROM_IBMPS2_M80: f = nvr_fopen(L"ibmps2_m80_sec.nvr", L"wb"); break;
case ROM_IBMPS2_M80_486: f = nvr_fopen(L"ibmps2_m80-486_sec.nvr", L"wb"); break;
}
if (f)
{