[Project64] Move RomInformationClass.cpp

This commit is contained in:
zilmar 2015-12-24 07:41:06 +11:00
parent 0211680a16
commit 515a9401cd
8 changed files with 201 additions and 203 deletions

View File

@ -22,7 +22,6 @@
//General Mips Information //General Mips Information
#include <Project64-core/N64System/N64RomClass.h> #include <Project64-core/N64System/N64RomClass.h>
#include "N64System/RomInformationClass.h"
#include <Project64-core/N64System/SpeedLimiterClass.h> #include <Project64-core/N64System/SpeedLimiterClass.h>
#include <Project64-core/N64System/Mips/OpCode.h> #include <Project64-core/N64System/Mips/OpCode.h>
#include <Project64-core/N64System/Recompiler/X86ops.h> #include <Project64-core/N64System/Recompiler/X86ops.h>

View File

@ -216,6 +216,10 @@
RelativePath=".\UserInterface\RomBrowserClass.cpp" RelativePath=".\UserInterface\RomBrowserClass.cpp"
> >
</File> </File>
<File
RelativePath=".\UserInterface\RomInformationClass.cpp"
>
</File>
<File <File
RelativePath=".\UserInterface\SettingsConfig.cpp" RelativePath=".\UserInterface\SettingsConfig.cpp"
> >
@ -313,14 +317,6 @@
> >
</File> </File>
</Filter> </Filter>
<Filter
Name="N64 System Source"
>
<File
RelativePath=".\N64System\RomInformationClass.cpp"
>
</File>
</Filter>
<Filter <Filter
Name="Plugin Source" Name="Plugin Source"
> >
@ -446,6 +442,10 @@
RelativePath=".\UserInterface\RomBrowser.h" RelativePath=".\UserInterface\RomBrowser.h"
> >
</File> </File>
<File
RelativePath=".\UserInterface\RomInformationClass.h"
>
</File>
<File <File
RelativePath=".\UserInterface\SettingsConfig.h" RelativePath=".\UserInterface\SettingsConfig.h"
> >
@ -531,14 +531,6 @@
> >
</File> </File>
</Filter> </Filter>
<Filter
Name="N64 System Headers"
>
<File
RelativePath=".\N64System\RomInformationClass.h"
>
</File>
</Filter>
<Filter <Filter
Name="Plugin Headers" Name="Plugin Headers"
> >

View File

@ -51,7 +51,6 @@
<ClCompile Include="N64System\Debugger\Debugger-TLB.cpp" /> <ClCompile Include="N64System\Debugger\Debugger-TLB.cpp" />
<ClCompile Include="N64System\Debugger\Debugger-ViewMemory.cpp" /> <ClCompile Include="N64System\Debugger\Debugger-ViewMemory.cpp" />
<ClCompile Include="N64System\Debugger\Debugger.cpp" /> <ClCompile Include="N64System\Debugger\Debugger.cpp" />
<ClCompile Include="N64System\RomInformationClass.cpp" />
<ClCompile Include="Plugins\PluginList.cpp" /> <ClCompile Include="Plugins\PluginList.cpp" />
<ClCompile Include="Settings\GuiSettings.cpp" /> <ClCompile Include="Settings\GuiSettings.cpp" />
<ClCompile Include="Settings\NotificationSettings.cpp" /> <ClCompile Include="Settings\NotificationSettings.cpp" />
@ -66,6 +65,7 @@
<ClCompile Include="UserInterface\MenuShortCuts.cpp" /> <ClCompile Include="UserInterface\MenuShortCuts.cpp" />
<ClCompile Include="UserInterface\NotificationClass.cpp" /> <ClCompile Include="UserInterface\NotificationClass.cpp" />
<ClCompile Include="UserInterface\RomBrowserClass.cpp" /> <ClCompile Include="UserInterface\RomBrowserClass.cpp" />
<ClCompile Include="UserInterface\RomInformationClass.cpp" />
<ClCompile Include="UserInterface\SettingsConfig.cpp" /> <ClCompile Include="UserInterface\SettingsConfig.cpp" />
<ClCompile Include="UserInterface\Settings\SettingsPage-AdvancedOptions.cpp" /> <ClCompile Include="UserInterface\Settings\SettingsPage-AdvancedOptions.cpp" />
<ClCompile Include="UserInterface\Settings\SettingsPage-Directories.cpp" /> <ClCompile Include="UserInterface\Settings\SettingsPage-Directories.cpp" />
@ -104,6 +104,7 @@
<ClInclude Include="UserInterface\NotificationClass.h" /> <ClInclude Include="UserInterface\NotificationClass.h" />
<ClInclude Include="UserInterface\resource.h" /> <ClInclude Include="UserInterface\resource.h" />
<ClInclude Include="UserInterface\RomBrowser.h" /> <ClInclude Include="UserInterface\RomBrowser.h" />
<ClInclude Include="UserInterface\RomInformationClass.h" />
<ClInclude Include="UserInterface\SettingsConfig.h" /> <ClInclude Include="UserInterface\SettingsConfig.h" />
<ClInclude Include="UserInterface\Settings\SettingsPage-AdvancedOptions.h" /> <ClInclude Include="UserInterface\Settings\SettingsPage-AdvancedOptions.h" />
<ClInclude Include="UserInterface\Settings\SettingsPage-Directories.h" /> <ClInclude Include="UserInterface\Settings\SettingsPage-Directories.h" />

View File

@ -150,12 +150,12 @@
<ClCompile Include="Settings\NotificationSettings.cpp"> <ClCompile Include="Settings\NotificationSettings.cpp">
<Filter>Source Files\Settings Files</Filter> <Filter>Source Files\Settings Files</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="N64System\RomInformationClass.cpp">
<Filter>Source Files\User Interface Source</Filter>
</ClCompile>
<ClCompile Include="Multilanguage\LanguageSelector.cpp"> <ClCompile Include="Multilanguage\LanguageSelector.cpp">
<Filter>Source Files\Multilanguage Source</Filter> <Filter>Source Files\Multilanguage Source</Filter>
</ClCompile> </ClCompile>
<ClCompile Include="UserInterface\RomInformationClass.cpp">
<Filter>Source Files\User Interface Source</Filter>
</ClCompile>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<ClInclude Include="UserInterface\resource.h"> <ClInclude Include="UserInterface\resource.h">
@ -278,6 +278,9 @@
<ClInclude Include="WTLApp.h"> <ClInclude Include="WTLApp.h">
<Filter>Header Files</Filter> <Filter>Header Files</Filter>
</ClInclude> </ClInclude>
<ClInclude Include="UserInterface\RomInformationClass.h">
<Filter>Header Files\User Interface Headers</Filter>
</ClInclude>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="res\divider.cur"> <None Include="res\divider.cur">

View File

@ -9,6 +9,7 @@
* * * *
****************************************************************************/ ****************************************************************************/
#include "stdafx.h" #include "stdafx.h"
#include "RomInformationClass.h"
#include <commctrl.h> #include <commctrl.h>
#include <Project64-core/Settings/SettingType/SettingsType-Application.h> #include <Project64-core/Settings/SettingType/SettingsType-Application.h>

View File

@ -1,4 +1,5 @@
#include "stdafx.h" #include "stdafx.h"
#include "RomInformationClass.h"
#include <windows.h> #include <windows.h>
#include <commdlg.h> #include <commdlg.h>

View File

@ -1,156 +1,157 @@
/**************************************************************************** /****************************************************************************
* * * *
* Project64 - A Nintendo 64 emulator. * * Project64 - A Nintendo 64 emulator. *
* http://www.pj64-emu.com/ * * http://www.pj64-emu.com/ *
* Copyright (C) 2012 Project64. All rights reserved. * * Copyright (C) 2012 Project64. All rights reserved. *
* * * *
* License: * * License: *
* GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html * * GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html *
* * * *
****************************************************************************/ ****************************************************************************/
#include "stdafx.h" #include "stdafx.h"
#include "RomInformationClass.h"
RomInformation::RomInformation(const char * RomFile) :
m_DeleteRomInfo(true), RomInformation::RomInformation(const char * RomFile) :
m_FileName(RomFile ? RomFile : ""), m_DeleteRomInfo(true),
m_pRomInfo(NULL) m_FileName(RomFile ? RomFile : ""),
{ m_pRomInfo(NULL)
if (m_FileName.length() == 0) { return; } {
m_pRomInfo = new CN64Rom; if (m_FileName.length() == 0) { return; }
if (!m_pRomInfo->LoadN64Image(m_FileName.c_str())) { m_pRomInfo = new CN64Rom;
delete m_pRomInfo; if (!m_pRomInfo->LoadN64Image(m_FileName.c_str())) {
m_pRomInfo = NULL; delete m_pRomInfo;
return; m_pRomInfo = NULL;
} return;
} }
}
RomInformation::RomInformation(CN64Rom * RomInfo) :
m_DeleteRomInfo(false), RomInformation::RomInformation(CN64Rom * RomInfo) :
m_FileName(RomInfo ? RomInfo->GetFileName().c_str() : ""), m_DeleteRomInfo(false),
m_pRomInfo(RomInfo) m_FileName(RomInfo ? RomInfo->GetFileName().c_str() : ""),
{ m_pRomInfo(RomInfo)
} {
}
RomInformation::~RomInformation()
{ RomInformation::~RomInformation()
if (m_DeleteRomInfo) {
delete m_pRomInfo; if (m_DeleteRomInfo)
} delete m_pRomInfo;
}
#include <windows.h>
void RomInformation::DisplayInformation(HWND hParent) const { #include <windows.h>
if (m_FileName.length() == 0) { return; } void RomInformation::DisplayInformation(HWND hParent) const {
if (m_FileName.length() == 0) { return; }
DialogBoxParam(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_Rom_Information),
(HWND)hParent, (DLGPROC)RomInfoProc, (DWORD)this); DialogBoxParam(GetModuleHandle(NULL), MAKEINTRESOURCE(IDD_Rom_Information),
} (HWND)hParent, (DLGPROC)RomInfoProc, (DWORD)this);
}
DWORD CALLBACK RomInfoProc(HWND hDlg, DWORD uMsg, DWORD wParam, DWORD lParam) {
switch (uMsg) { DWORD CALLBACK RomInfoProc(HWND hDlg, DWORD uMsg, DWORD wParam, DWORD lParam) {
case WM_INITDIALOG: switch (uMsg) {
{ case WM_INITDIALOG:
//record class for future usage {
SetProp(hDlg, "this", (RomInformation *)lParam); //record class for future usage
RomInformation * _this = (RomInformation *)lParam; SetProp(hDlg, "this", (RomInformation *)lParam);
RomInformation * _this = (RomInformation *)lParam;
LONG_PTR originalWndProc = GetWindowLongPtrW(hDlg, GWLP_WNDPROC);
SetWindowLongPtrW(hDlg, GWLP_WNDPROC, (LONG_PTR)DefWindowProcW); LONG_PTR originalWndProc = GetWindowLongPtrW(hDlg, GWLP_WNDPROC);
SetWindowTextW(hDlg, wGS(INFO_TITLE).c_str()); SetWindowLongPtrW(hDlg, GWLP_WNDPROC, (LONG_PTR)DefWindowProcW);
SetWindowLongPtrW(hDlg, GWLP_WNDPROC, originalWndProc); SetWindowTextW(hDlg, wGS(INFO_TITLE).c_str());
SetWindowLongPtrW(hDlg, GWLP_WNDPROC, originalWndProc);
SetDlgItemTextW(hDlg, IDC_ROM_NAME, wGS(INFO_ROM_NAME_TEXT).c_str());
SetDlgItemTextW(hDlg, IDC_FILE_NAME, wGS(INFO_FILE_NAME_TEXT).c_str()); SetDlgItemTextW(hDlg, IDC_ROM_NAME, wGS(INFO_ROM_NAME_TEXT).c_str());
SetDlgItemTextW(hDlg, IDC_LOCATION, wGS(INFO_LOCATION_TEXT).c_str()); SetDlgItemTextW(hDlg, IDC_FILE_NAME, wGS(INFO_FILE_NAME_TEXT).c_str());
SetDlgItemTextW(hDlg, IDC_ROM_MD5, wGS(INFO_MD5_TEXT).c_str()); SetDlgItemTextW(hDlg, IDC_LOCATION, wGS(INFO_LOCATION_TEXT).c_str());
SetDlgItemTextW(hDlg, IDC_ROM_SIZE, wGS(INFO_SIZE_TEXT).c_str()); SetDlgItemTextW(hDlg, IDC_ROM_MD5, wGS(INFO_MD5_TEXT).c_str());
SetDlgItemTextW(hDlg, IDC_CART_ID, wGS(INFO_CART_ID_TEXT).c_str()); SetDlgItemTextW(hDlg, IDC_ROM_SIZE, wGS(INFO_SIZE_TEXT).c_str());
SetDlgItemTextW(hDlg, IDC_MANUFACTURER, wGS(INFO_MANUFACTURER_TEXT).c_str()); SetDlgItemTextW(hDlg, IDC_CART_ID, wGS(INFO_CART_ID_TEXT).c_str());
SetDlgItemTextW(hDlg, IDC_COUNTRY, wGS(INFO_COUNTRY_TEXT).c_str()); SetDlgItemTextW(hDlg, IDC_MANUFACTURER, wGS(INFO_MANUFACTURER_TEXT).c_str());
SetDlgItemTextW(hDlg, IDC_CRC1, wGS(INFO_CRC1_TEXT).c_str()); SetDlgItemTextW(hDlg, IDC_COUNTRY, wGS(INFO_COUNTRY_TEXT).c_str());
SetDlgItemTextW(hDlg, IDC_CRC2, wGS(INFO_CRC2_TEXT).c_str()); SetDlgItemTextW(hDlg, IDC_CRC1, wGS(INFO_CRC1_TEXT).c_str());
SetDlgItemTextW(hDlg, IDC_CIC_CHIP, wGS(INFO_CIC_CHIP_TEXT).c_str()); SetDlgItemTextW(hDlg, IDC_CRC2, wGS(INFO_CRC2_TEXT).c_str());
SetDlgItemTextW(hDlg, IDC_CLOSE_BUTTON, wGS(BOTTOM_CLOSE).c_str()); SetDlgItemTextW(hDlg, IDC_CIC_CHIP, wGS(INFO_CIC_CHIP_TEXT).c_str());
SetDlgItemTextW(hDlg, IDC_CLOSE_BUTTON, wGS(BOTTOM_CLOSE).c_str());
SetDlgItemTextW(hDlg, IDC_INFO_ROMNAME, _this->m_pRomInfo->GetRomName().ToUTF16(stdstr::CODEPAGE_932).c_str());
SetDlgItemTextW(hDlg, IDC_INFO_ROMNAME, _this->m_pRomInfo->GetRomName().ToUTF16(stdstr::CODEPAGE_932).c_str());
char path[_MAX_PATH], drive[_MAX_DRIVE], dir[_MAX_DIR], fname[_MAX_FNAME], ext[_MAX_EXT];
_splitpath(_this->m_pRomInfo->GetFileName().c_str(), drive, dir, fname, ext); char path[_MAX_PATH], drive[_MAX_DRIVE], dir[_MAX_DIR], fname[_MAX_FNAME], ext[_MAX_EXT];
_makepath(path, drive, dir, "", ""); _splitpath(_this->m_pRomInfo->GetFileName().c_str(), drive, dir, fname, ext);
_makepath(path, drive, dir, "", "");
SetDlgItemText(hDlg, IDC_INFO_FILENAME, stdstr_f("%s%s", fname, ext).c_str());
SetDlgItemText(hDlg, IDC_INFO_LOCATION, path); SetDlgItemText(hDlg, IDC_INFO_FILENAME, stdstr_f("%s%s", fname, ext).c_str());
SetDlgItemText(hDlg, IDC_INFO_LOCATION, path);
SetDlgItemText(hDlg, IDC_INFO_MD5, _this->m_pRomInfo->GetRomMD5().c_str());
SetDlgItemText(hDlg, IDC_INFO_MD5, _this->m_pRomInfo->GetRomMD5().c_str());
char String[255] = " ";
sprintf(&String[1], "%.1f MBit", (float)_this->m_pRomInfo->GetRomSize() / 0x20000); char String[255] = " ";
SetDlgItemText(hDlg, IDC_INFO_ROMSIZE, String); sprintf(&String[1], "%.1f MBit", (float)_this->m_pRomInfo->GetRomSize() / 0x20000);
SetDlgItemText(hDlg, IDC_INFO_ROMSIZE, String);
BYTE * RomHeader = _this->m_pRomInfo->GetRomAddress();
String[1] = RomHeader[0x3F]; BYTE * RomHeader = _this->m_pRomInfo->GetRomAddress();
String[2] = RomHeader[0x3E]; String[1] = RomHeader[0x3F];
String[3] = '\0'; String[2] = RomHeader[0x3E];
SetDlgItemText(hDlg, IDC_INFO_CARTID, String); String[3] = '\0';
SetDlgItemText(hDlg, IDC_INFO_CARTID, String);
switch (RomHeader[0x38]) {
case 'N': SetDlgItemText(hDlg, IDC_INFO_MANUFACTURER, " Nintendo"); break; switch (RomHeader[0x38]) {
case 0: SetDlgItemText(hDlg, IDC_INFO_MANUFACTURER, " None"); break; case 'N': SetDlgItemText(hDlg, IDC_INFO_MANUFACTURER, " Nintendo"); break;
default: SetDlgItemText(hDlg, IDC_INFO_MANUFACTURER, " (Unknown)"); break; case 0: SetDlgItemText(hDlg, IDC_INFO_MANUFACTURER, " None"); break;
} default: SetDlgItemText(hDlg, IDC_INFO_MANUFACTURER, " (Unknown)"); break;
}
switch (RomHeader[0x3D]) {
case NTSC_BETA: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " Beta"); break; switch (RomHeader[0x3D]) {
case X_NTSC: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " NTSC"); break; case NTSC_BETA: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " Beta"); break;
case Germany: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " Germany"); break; case X_NTSC: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " NTSC"); break;
case USA: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " America"); break; case Germany: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " Germany"); break;
case french: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " France"); break; case USA: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " America"); break;
case Italian: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " Italy"); break; case french: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " France"); break;
case Japan: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " Japan"); break; case Italian: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " Italy"); break;
case Europe: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " Europe"); break; case Japan: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " Japan"); break;
case Spanish: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " Spain"); break; case Europe: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " Europe"); break;
case Australia: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " Australia"); break; case Spanish: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " Spain"); break;
case X_PAL: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " PAL"); break; case Australia: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " Australia"); break;
case Y_PAL: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " PAL"); break; case X_PAL: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " PAL"); break;
case 0: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " None"); break; case Y_PAL: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " PAL"); break;
default: case 0: SetDlgItemText(hDlg, IDC_INFO_COUNTRY, " None"); break;
sprintf(&String[1], " Unknown %c (%02X)", RomHeader[0x3D], RomHeader[0x3D]); default:
SetDlgItemText(hDlg, IDC_INFO_COUNTRY, String); sprintf(&String[1], " Unknown %c (%02X)", RomHeader[0x3D], RomHeader[0x3D]);
} SetDlgItemText(hDlg, IDC_INFO_COUNTRY, String);
}
sprintf(&String[1], "0x%08X", *(DWORD *)(RomHeader + 0x10));
SetDlgItemText(hDlg, IDC_INFO_CRC1, String); sprintf(&String[1], "0x%08X", *(DWORD *)(RomHeader + 0x10));
SetDlgItemText(hDlg, IDC_INFO_CRC1, String);
sprintf(&String[1], "0x%08X", *(DWORD *)(RomHeader + 0x14));
SetDlgItemText(hDlg, IDC_INFO_CRC2, String); sprintf(&String[1], "0x%08X", *(DWORD *)(RomHeader + 0x14));
SetDlgItemText(hDlg, IDC_INFO_CRC2, String);
if (_this->m_pRomInfo->CicChipID() == CIC_UNKNOWN) {
sprintf(&String[1], "Unknown"); if (_this->m_pRomInfo->CicChipID() == CIC_UNKNOWN) {
} sprintf(&String[1], "Unknown");
else if (_this->m_pRomInfo->CicChipID() == CIC_NUS_8303) { }
sprintf(&String[1], "CIC-NUS-8303"); else if (_this->m_pRomInfo->CicChipID() == CIC_NUS_8303) {
} sprintf(&String[1], "CIC-NUS-8303");
else if (_this->m_pRomInfo->CicChipID() == CIC_NUS_5167) { }
sprintf(&String[1], "CIC-NUS-5167"); else if (_this->m_pRomInfo->CicChipID() == CIC_NUS_5167) {
} sprintf(&String[1], "CIC-NUS-5167");
else { }
sprintf(&String[1], "CIC-NUS-610%d", _this->m_pRomInfo->CicChipID()); else {
} sprintf(&String[1], "CIC-NUS-610%d", _this->m_pRomInfo->CicChipID());
SetDlgItemText(hDlg, IDC_INFO_CIC, String); }
} SetDlgItemText(hDlg, IDC_INFO_CIC, String);
break; }
case WM_COMMAND: break;
switch (LOWORD(wParam)) { case WM_COMMAND:
case IDCANCEL: switch (LOWORD(wParam)) {
RemoveProp(hDlg, "this"); case IDCANCEL:
EndDialog(hDlg, 0); RemoveProp(hDlg, "this");
break; EndDialog(hDlg, 0);
case IDC_CLOSE_BUTTON: break;
RemoveProp(hDlg, "this"); case IDC_CLOSE_BUTTON:
EndDialog(hDlg, 0); RemoveProp(hDlg, "this");
break; EndDialog(hDlg, 0);
} break;
default: }
return false; default:
} return false;
return true; }
return true;
} }

View File

@ -1,27 +1,27 @@
/**************************************************************************** /****************************************************************************
* * * *
* Project64 - A Nintendo 64 emulator. * * Project64 - A Nintendo 64 emulator. *
* http://www.pj64-emu.com/ * * http://www.pj64-emu.com/ *
* Copyright (C) 2012 Project64. All rights reserved. * * Copyright (C) 2012 Project64. All rights reserved. *
* * * *
* License: * * License: *
* GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html * * GNU/GPLv2 http://www.gnu.org/licenses/gpl-2.0.html *
* * * *
****************************************************************************/ ****************************************************************************/
#pragma once #pragma once
class RomInformation class RomInformation
{ {
bool const m_DeleteRomInfo; bool const m_DeleteRomInfo;
stdstr const m_FileName; stdstr const m_FileName;
CN64Rom * m_pRomInfo; CN64Rom * m_pRomInfo;
friend DWORD CALLBACK RomInfoProc(HWND, DWORD, DWORD, DWORD); friend DWORD CALLBACK RomInfoProc(HWND, DWORD, DWORD, DWORD);
public: public:
RomInformation(const char* RomFile); RomInformation(const char* RomFile);
RomInformation(CN64Rom* RomInfo); RomInformation(CN64Rom* RomInfo);
~RomInformation(); ~RomInformation();
void DisplayInformation(HWND hParent) const; void DisplayInformation(HWND hParent) const;
}; };