Skip to content

Commit

Permalink
RMG-Core: make arrays const
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie241 committed Feb 27, 2025
1 parent e11d188 commit 3570200
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/RMG-Core/MediaLoader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ static char* medialoader_get_dd_rom(void*)
static char* medialoader_get_gb_cart_ram(void*, int index)
{
std::filesystem::path gameBoySave;
SettingsID settingIds[] =
const SettingsID settingIds[] =
{
SettingsID::Core_Gameboy_P1_Save,
SettingsID::Core_Gameboy_P2_Save,
Expand All @@ -94,7 +94,7 @@ static char* medialoader_get_gb_cart_ram(void*, int index)
static char* mediaLoader_get_gb_cart_rom(void*, int index)
{
std::filesystem::path gameBoyRom;
SettingsID settingIds[] =
const SettingsID settingIds[] =
{
SettingsID::Core_Gameboy_P1_Rom,
SettingsID::Core_Gameboy_P2_Rom,
Expand Down

0 comments on commit 3570200

Please sign in to comment.