mirror of https://github.com/snes9xgit/snes9x.git
win32: restore rom name in info dialog
This commit is contained in:
parent
c691be630b
commit
da4d6e1dd4
|
@ -4659,7 +4659,7 @@ INT_PTR CALLBACK DlgInfoProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
char temp[100];
|
char temp[100];
|
||||||
char romtext[4096];
|
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);
|
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, temp);
|
||||||
strcat(romtext, "Kart contents: ");
|
strcat(romtext, "Kart contents: ");
|
||||||
|
|
Loading…
Reference in New Issue