Fix ChannelF settings not being properly saved

This commit is contained in:
CasualPokePlayer 2024-09-04 16:01:53 -07:00
parent 0a7e6c4c00
commit c1ec22c26a
1 changed files with 3 additions and 5 deletions

View File

@ -16,13 +16,11 @@ namespace BizHawk.Emulation.Cores.Consoles.ChannelF
CoreComm = lp.Comm;
_gameInfo = lp.Roms.Select(r => r.Game).ToList();
_files = lp.Roms.Select(r => r.RomData).ToList();
var settings = lp.Settings ?? new ChannelFSettings();
var syncSettings = lp.SyncSettings ?? new ChannelFSyncSettings();
region = syncSettings.Region;
Settings = lp.Settings ?? new ChannelFSettings();
SyncSettings = lp.SyncSettings ?? new ChannelFSyncSettings();
region = SyncSettings.Region;
MemoryCallbacks = new MemoryCallbackSystem(new[] { "System Bus" });