Update Rom Information Class.cpp

Experimental: 64DD IPL support
This commit is contained in:
Nekokabu 2015-06-08 22:05:56 +09:00
parent 5ff00eeaa8
commit fc1ce7f6d3
1 changed files with 8 additions and 1 deletions

View File

@ -125,7 +125,14 @@ DWORD CALLBACK RomInfoProc (HWND hDlg, DWORD uMsg, DWORD wParam, DWORD lParam) {
if (_this->m_pRomInfo->CicChipID() == CIC_UNKNOWN) { if (_this->m_pRomInfo->CicChipID() == CIC_UNKNOWN) {
sprintf(&String[1],"Unknown"); sprintf(&String[1],"Unknown");
} else { }
else if (_this->m_pRomInfo->CicChipID() == CIC_NUS_DDIPL) {
sprintf(&String[1], "64DD IPL");
}
else if (_this->m_pRomInfo->CicChipID() == CIC_NUS_8303) {
sprintf(&String[1], "CIC-NUS-8303");
}
else {
sprintf(&String[1],"CIC-NUS-610%d",_this->m_pRomInfo->CicChipID()); sprintf(&String[1],"CIC-NUS-610%d",_this->m_pRomInfo->CicChipID());
} }
SetDlgItemText(hDlg,IDC_INFO_CIC,String); SetDlgItemText(hDlg,IDC_INFO_CIC,String);