diff --git a/controls.cpp b/controls.cpp index 8f53a89c..fbec5284 100644 --- a/controls.cpp +++ b/controls.cpp @@ -2301,7 +2301,7 @@ void S9xApplyCommand (s9xcommand_t cmd, int16 data1, int16 data2) if (S9xUnfreezeGame(filename.c_str())) { - snprintf(buf, 256, "Quick save-state %s loaded", ext.c_str()); + snprintf(buf, 256, "%s loaded", S9xBasename(filename).c_str()); S9xSetInfoString(buf); } else @@ -2328,7 +2328,7 @@ void S9xApplyCommand (s9xcommand_t cmd, int16 data1, int16 data2) auto filename = S9xGetFilename(ext, SNAPSHOT_DIR); - snprintf(buf, 256, "Quick save-state %s saved", ext.c_str()); + snprintf(buf, 256, "%s saved", S9xBasename(filename).c_str()); S9xSetInfoString(buf); S9xFreezeGame(filename.c_str());