mirror of https://github.com/stella-emu/stella.git
Initialize EEPROM data if file doesn't exist.
This commit is contained in:
parent
5da4c9eb1c
commit
c462cc4680
|
@ -59,6 +59,7 @@ MT24LC256::MT24LC256(const FilesystemNode& eepromfile, const System& system,
|
|||
catch(...)
|
||||
{
|
||||
myDataFileExists = false;
|
||||
myData = make_unique<uInt8[]>(FLASH_SIZE);
|
||||
}
|
||||
|
||||
// Then initialize the I2C state
|
||||
|
|
Loading…
Reference in New Issue