diff --git a/source/snes9x/gfx.cpp b/source/snes9x/gfx.cpp index 2097e78..b8ca0e7 100644 --- a/source/snes9x/gfx.cpp +++ b/source/snes9x/gfx.cpp @@ -1760,9 +1760,12 @@ void S9xReRefresh (void) void S9xSetInfoString (const char *string) { + static std::string info_string; + if (Settings.InitialInfoStringTimeout > 0) { - GFX.InfoString = string; + info_string = string; + GFX.InfoString = info_string.c_str(); GFX.InfoStringTimeout = Settings.InitialInfoStringTimeout; S9xReRefresh(); }