Skip to content

Commit

Permalink
Log when a faulty EEPROM is repaired
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeUsher committed Nov 30, 2017
1 parent 9353a2d commit c1ca7f0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Common/EmuEEPROM.cpp
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ xboxkrnl::XBOX_EEPROM *CxbxRestoreEEPROM(char *szFilePath_EEPROM_bin)
// resetting FactorySettings.AVRegion and setting user video flags to the default // resetting FactorySettings.AVRegion and setting user video flags to the default
// The user can then set their desired settings using the Xbox Dashboard // The user can then set their desired settings using the Xbox Dashboard
if (pEEPROM->FactorySettings.AVRegion == AV_STANDARD_NTSC_M) { if (pEEPROM->FactorySettings.AVRegion == AV_STANDARD_NTSC_M) {
DbgPrintf("INIT: Repairing bad EEPROM (from previous Cxbx-Reloaded builds)\n");
pEEPROM->UserSettings.VideoFlags = 0; pEEPROM->UserSettings.VideoFlags = 0;
pEEPROM->FactorySettings.AVRegion = AV_STANDARD_NTSC_M | AV_FLAGS_60Hz; pEEPROM->FactorySettings.AVRegion = AV_STANDARD_NTSC_M | AV_FLAGS_60Hz;
} }
Expand Down

0 comments on commit c1ca7f0

Please sign in to comment.