diff --git a/src/BizHawk.Client.EmuHawk/config/NES/NESGraphicsConfig.cs b/src/BizHawk.Client.EmuHawk/config/NES/NESGraphicsConfig.cs index 72437a820d..96c05a77e2 100644 --- a/src/BizHawk.Client.EmuHawk/config/NES/NESGraphicsConfig.cs +++ b/src/BizHawk.Client.EmuHawk/config/NES/NESGraphicsConfig.cs @@ -104,7 +104,7 @@ namespace BizHawk.Client.EmuHawk if (palette.Exists) { - var data = Palettes.Load_FCEUX_Palette(HawkFile.ReadAllBytes(palette.Name)); + var data = Palettes.Load_FCEUX_Palette(palette.ReadAllBytes()); if (showMsg) { _mainForm.AddOnScreenMessage($"Palette file loaded: {palette.Name}"); diff --git a/src/BizHawk.Client.EmuHawk/config/NES/QuickNesConfig.cs b/src/BizHawk.Client.EmuHawk/config/NES/QuickNesConfig.cs index dc98e2b781..25a725e567 100644 --- a/src/BizHawk.Client.EmuHawk/config/NES/QuickNesConfig.cs +++ b/src/BizHawk.Client.EmuHawk/config/NES/QuickNesConfig.cs @@ -97,7 +97,7 @@ namespace BizHawk.Client.EmuHawk if (palette.Exists) { - var data = Emulation.Cores.Nintendo.NES.Palettes.Load_FCEUX_Palette(HawkFile.ReadAllBytes(palette.Name)); + var data = Emulation.Cores.Nintendo.NES.Palettes.Load_FCEUX_Palette(palette.ReadAllBytes()); _settings.SetNesHawkPalette(data); SetPaletteImage(); }