From da4d6e1dd4dbb983f21e105157efa67523b30a57 Mon Sep 17 00:00:00 2001 From: OV2 Date: Sun, 12 Mar 2023 18:03:42 +0100 Subject: [PATCH] win32: restore rom name in info dialog --- win32/wsnes9x.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win32/wsnes9x.cpp b/win32/wsnes9x.cpp index 8238e949..9b3788c4 100644 --- a/win32/wsnes9x.cpp +++ b/win32/wsnes9x.cpp @@ -4659,7 +4659,7 @@ INT_PTR CALLBACK DlgInfoProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam) { char temp[100]; char romtext[4096]; - sprintf(romtext, "File: %s\r\n", Memory.ROMFilename.c_str()); + sprintf(romtext, "File: %s\r\nName: %s\r\n", Memory.ROMFilename.c_str(), Memory.ROMName); sprintf(temp, "Speed: %02X/%s\r\nROM Map: %s\r\nType: %02x\r\n", Memory.ROMSpeed, ((Memory.ROMSpeed&0x10)!=0)?"FastROM":"SlowROM",(Memory.HiROM)?"HiROM":"LoROM",Memory.ROMType); strcat(romtext, temp); strcat(romtext, "Kart contents: ");