reios: fix regression due to non-zero GDROM sense codes at startup

This commit is contained in:
Flyinghead 2020-02-02 11:07:32 +01:00
parent b79c074444
commit f9d8733604
2 changed files with 8 additions and 2 deletions

View File

@ -155,7 +155,13 @@ bool InitDrive_(char* fn)
bool InitDrive()
{
return DiscSwap();
bool rc = DiscSwap();
// not needed at startup and confuses some games
sns_asc = 0;
sns_ascq = 0;
sns_key = 0;
return rc;
}
void DiscOpenLid()

View File

@ -606,7 +606,7 @@ void dc_start_game(const char *path)
}
else
{
if (DiscSwap())
if (InitDrive())
LoadCustom();
else
{