mirror of https://github.com/snes9xgit/snes9x.git
win32: display the actual region number for unknown regions
This commit is contained in:
parent
c5c1268db0
commit
10fe4be245
|
@ -5088,8 +5088,10 @@ INT_PTR CALLBACK DlgInfoProc(HWND hDlg, UINT msg, WPARAM wParam, LPARAM lParam)
|
||||||
case 13:
|
case 13:
|
||||||
strcat(romtext, "South Korea");
|
strcat(romtext, "South Korea");
|
||||||
break;
|
break;
|
||||||
case 14:strcat(romtext, "Unknown region 14");break;
|
default:
|
||||||
default:strcat(romtext, "Unknown region 15");break;
|
sprintf(temp, "Unknown region %d", Memory.ROMRegion);
|
||||||
|
strcat(romtext, temp);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
SendDlgItemMessage(hDlg, IDC_ROM_DATA, WM_SETTEXT, 0, (LPARAM)((TCHAR *)_tFromMS932(romtext)));
|
SendDlgItemMessage(hDlg, IDC_ROM_DATA, WM_SETTEXT, 0, (LPARAM)((TCHAR *)_tFromMS932(romtext)));
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue