fix vbm import with sameboy

This commit is contained in:
CasualPokePlayer 2022-02-17 22:45:41 -08:00
parent 1c4c390e8f
commit 278ba086a3
1 changed files with 7 additions and 0 deletions

View File

@ -4,6 +4,7 @@ using BizHawk.Emulation.Cores;
using BizHawk.Emulation.Cores.Nintendo.GBA;
using BizHawk.Emulation.Cores.Nintendo.GBHawk;
using BizHawk.Emulation.Cores.Nintendo.Gameboy;
using BizHawk.Emulation.Cores.Nintendo.Sameboy;
namespace BizHawk.Client.Common.movie.import
{
@ -291,6 +292,12 @@ namespace BizHawk.Client.Common.movie.import
ConsoleMode = is_GBC ? GBHawk.GBSyncSettings.ConsoleModeType.GBC : GBHawk.GBSyncSettings.ConsoleModeType.GB,
});
break;
case CoreNames.Sameboy:
Result.Movie.SyncSettingsJson = ConfigService.SaveWithType(new Sameboy.SameboySyncSettings
{
ConsoleMode = is_GBC ? Sameboy.SameboySyncSettings.GBModel.GB_MODEL_CGB_E : Sameboy.SameboySyncSettings.GBModel.GB_MODEL_DMG_B,
});
break;
}
}
}