From 640769c2b24a35a39ff44fa734ac1a66b8d1f867 Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 14 Sep 2025 15:59:59 +1000 Subject: [PATCH] System: Remove unnecessary c_str() --- src/core/system.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/system.cpp b/src/core/system.cpp index e50fc3c03..8cd7d43bb 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -3809,7 +3809,7 @@ std::unique_ptr System::GetMemoryCardForSlot(u32 slot, MemoryCardTyp else { Host::RemoveKeyedOSDMessage(std::move(message_key)); - return MemoryCard::Open(g_settings.GetGameMemoryCardPath(s_state.running_game_serial.c_str(), slot)); + return MemoryCard::Open(g_settings.GetGameMemoryCardPath(s_state.running_game_serial, slot)); } }