Skip to content

Commit

Permalink
fix: string to c-string to string
Browse files Browse the repository at this point in the history
  • Loading branch information
Kpada authored and stenzek committed Jul 7, 2024
1 parent 40048cb commit 5cdcdb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/fullscreen_ui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -5593,7 +5593,7 @@ bool FullscreenUI::OpenLoadStateSelectorForGame(const std::string& game_path)
if (entry)
{
s_save_state_selector_loading = true;
if (PopulateSaveStateListEntries(entry->title.c_str(), entry->serial.c_str()) > 0)
if (PopulateSaveStateListEntries(entry->title, entry->serial) > 0)
{
s_save_state_selector_open = true;
s_save_state_selector_resuming = false;
Expand All @@ -5611,7 +5611,7 @@ bool FullscreenUI::OpenSaveStateSelector(bool is_loading)
s_save_state_selector_game_path = {};
s_save_state_selector_loading = is_loading;
s_save_state_selector_resuming = false;
if (PopulateSaveStateListEntries(System::GetGameTitle().c_str(), System::GetGameSerial().c_str()) > 0)
if (PopulateSaveStateListEntries(System::GetGameTitle(), System::GetGameSerial()) > 0)
{
s_save_state_selector_open = true;
return true;
Expand Down

0 comments on commit 5cdcdb5

Please sign in to comment.