From 5cdcdb565f6268425efa511a6097b2ed83de8738 Mon Sep 17 00:00:00 2001
From: Nik Chizhov <chizhov.nik.s@gmail.com>
Date: Sat, 6 Jul 2024 23:45:17 +0900
Subject: [PATCH] fix: string to c-string to string

---
 src/core/fullscreen_ui.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/core/fullscreen_ui.cpp b/src/core/fullscreen_ui.cpp
index 39306c864..81c9b2800 100644
--- a/src/core/fullscreen_ui.cpp
+++ b/src/core/fullscreen_ui.cpp
@@ -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;
@@ -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;