Log error when writing to flash ram
This commit is contained in:
parent
37f379fe6b
commit
2e5eaa6e2b
|
@ -85,7 +85,9 @@ bool LoadRomFiles(const string& root)
|
||||||
if (settings.dreamcast.language <= 5)
|
if (settings.dreamcast.language <= 5)
|
||||||
syscfg.lang = settings.dreamcast.language;
|
syscfg.lang = settings.dreamcast.language;
|
||||||
|
|
||||||
sys_nvmem.WriteBlock(FLASH_PT_USER, FLASH_USER_SYSCFG, &syscfg);
|
if (sys_nvmem.WriteBlock(FLASH_PT_USER, FLASH_USER_SYSCFG, &syscfg) != 1)
|
||||||
|
printf("Failed to save time and language to flash RAM\n");
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if DC_PLATFORM == DC_PLATFORM_ATOMISWAVE
|
#if DC_PLATFORM == DC_PLATFORM_ATOMISWAVE
|
||||||
|
|
Loading…
Reference in New Issue