From 2b371e2752647c232508944bcea756bf2f2ee8b4 Mon Sep 17 00:00:00 2001 From: YoshiRulz Date: Sun, 4 Aug 2024 03:42:35 +1000 Subject: [PATCH] Fix Gambatte and SameBoy palette load file pickers using wrong dir fixes 348cbd18d --- src/BizHawk.Client.EmuHawk/config/GB/ColorChooserForm.cs | 2 +- src/BizHawk.Client.EmuHawk/config/GB/SameBoyColorChooserForm.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/BizHawk.Client.EmuHawk/config/GB/ColorChooserForm.cs b/src/BizHawk.Client.EmuHawk/config/GB/ColorChooserForm.cs index cbda13bf5b..fee089c44d 100644 --- a/src/BizHawk.Client.EmuHawk/config/GB/ColorChooserForm.cs +++ b/src/BizHawk.Client.EmuHawk/config/GB/ColorChooserForm.cs @@ -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); } diff --git a/src/BizHawk.Client.EmuHawk/config/GB/SameBoyColorChooserForm.cs b/src/BizHawk.Client.EmuHawk/config/GB/SameBoyColorChooserForm.cs index e627ce9724..8aa70a0427 100644 --- a/src/BizHawk.Client.EmuHawk/config/GB/SameBoyColorChooserForm.cs +++ b/src/BizHawk.Client.EmuHawk/config/GB/SameBoyColorChooserForm.cs @@ -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); }