Gtk: Fix ROM info dialog when name is JIS.

This commit is contained in:
BearOso 2023-05-08 14:19:03 -05:00
parent 2313ae00b7
commit 53ebf7be8f

View File

@ -906,7 +906,7 @@ const char *markup = _(R"(<b>Information for %s</b>
snprintf(output, 2048, markup,
Memory.ROMFilename.c_str(),
Memory.ROMName,
Glib::convert(Memory.ROMName, "utf8", "shift-jis").c_str(),
Memory.ROMSpeed,
((Memory.ROMSpeed & 0x10) != 0) ? "FastROM" : "SlowROM",
(Memory.HiROM) ? "HiROM" : "LoROM",