mirror of
https://github.com/Creased/RCM-Emulator.git
synced 2026-12-06 02:48:11 +01:00
Persist hardware config to rcm_emu.ini
This commit is contained in:
1 parent
0490e472d0
commit
ca0113042a
4 files changed
+229
No files matched your search
@@ -283,6 +283,11 @@ int main(int argc, char *argv[]) {
|
||||
// Initialize emulator state
|
||||
EmuState state = {};
|
||||
state.init_fuse_defaults();
|
||||
// Overlay any saved hardware tweaks from rcm_emu.ini (cwd-relative).
|
||||
// The load is additive — missing keys keep the defaults set above.
|
||||
if (config_window_load_ini(&state, "rcm_emu.ini")) {
|
||||
printf("[config] Loaded rcm_emu.ini\n");
|
||||
}
|
||||
|
||||
// Load payload binary
|
||||
size_t payload_size = 0;
|
||||
|
||||
Reference in new issue
Block a user