stated.cpp, respect eeprom path for all nvram files

This commit is contained in:
dinkc64 2024-05-13 23:59:57 -04:00
parent 6cb160d68e
commit 09755b23d4

View File

@ -29,9 +29,9 @@ int StatedAuto(int bSave)
int nRet;
if (NeoCDInfo_ID() && bDrvSaveAll != 0) {
_stprintf(szName, _T("config/games/ngcd_%s.fs"), NeoCDInfo_Text(DRV_NAME));
_stprintf(szName, _T("%sngcd_%s.fs"), szAppEEPROMPath, NeoCDInfo_Text(DRV_NAME));
} else {
_stprintf(szName, _T("config/games/%s.fs"), BurnDrvGetText(DRV_NAME));
_stprintf(szName, _T("%s%s.fs"), szAppEEPROMPath, BurnDrvGetText(DRV_NAME));
}
if (bSave == 0) {