aboutsummaryrefslogtreecommitdiff
path: root/src/Savestate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Savestate.cpp')
-rw-r--r--src/Savestate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Savestate.cpp b/src/Savestate.cpp
index 7a09617..0aa0ba3 100644
--- a/src/Savestate.cpp
+++ b/src/Savestate.cpp
@@ -49,7 +49,7 @@ using Platform::LogLevel;
// TODO: buffering system! or something of that sort
// repeated fread/fwrite is slow on Switch
-Savestate::Savestate(std::string filename, bool save)
+Savestate::Savestate(const std::string& filename, bool save)
{
const char* magic = "MELN";