Fix Gambatte and SameBoy palette load file pickers using wrong dir

fixes 348cbd18d
This commit is contained in:
YoshiRulz 2024-08-04 03:42:35 +10:00
parent b84ce89575
commit 2b371e2752
No known key found for this signature in database
GPG Key ID: C4DE31C245353FB7
2 changed files with 2 additions and 2 deletions

View File

@ -303,7 +303,7 @@ namespace BizHawk.Client.EmuHawk
var result = this.ShowFileOpenDialog(
discardCWDChange: true,
filter: FilesystemFilterSet.Palettes,
initDir: _config.PathEntries.ScreenshotAbsolutePathFor(VSystemID.Raw.GB));
initDir: _config.PathEntries.PalettesAbsolutePathFor(VSystemID.Raw.GB));
if (result is not null) LoadColorFile(result, alert: true);
}

View File

@ -265,7 +265,7 @@ namespace BizHawk.Client.EmuHawk
var result = this.ShowFileOpenDialog(
discardCWDChange: true,
filter: FilesystemFilterSet.Palettes,
initDir: _config.PathEntries.ScreenshotAbsolutePathFor(VSystemID.Raw.GB));
initDir: _config.PathEntries.PalettesAbsolutePathFor(VSystemID.Raw.GB));
if (result is not null) LoadColorFile(result, alert: true);
}