StrikerX3 / StrikeBox

StrikeBox - Original Xbox emulator
BSD 2-Clause "Simplified" License
52 stars 9 forks source link

Load and store EEPROM in a file #7

Open StrikerX3 opened 6 years ago

StrikerX3 commented 6 years ago

In order to persist the EEPROM's contents, we need to save it to a file. There should be a setting that allows the user to specify which file they want to use. Create a sensible default EEPROM with generated serial number and default parameters in case it does not exist. Use memory mapped files if available on the platform, so that changes to the EEPROM are automatically persisted to disk.