Removed 64MiB option in patch menu
This commit is contained in:
parent
48814d3173
commit
4258407b5b
|
@ -884,21 +884,6 @@ LRESULT CALLBACK WndMain::WndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lP
|
|||
}
|
||||
break;
|
||||
|
||||
case ID_EDIT_PATCH_ALLOW64MB:
|
||||
{
|
||||
m_bXbeChanged = true;
|
||||
|
||||
m_Xbe->m_Header.dwInitFlags.bLimit64MB = !m_Xbe->m_Header.dwInitFlags.bLimit64MB;
|
||||
|
||||
RefreshMenus();
|
||||
|
||||
if (m_Xbe->m_Header.dwInitFlags.bLimit64MB)
|
||||
printf("WndMain: %s was patched to limit to 64MB of memory usage.\n", m_Xbe->m_szAsciiTitle);
|
||||
else
|
||||
printf("WndMain: %s was patched to allow >64MB of memory usage.\n", m_Xbe->m_szAsciiTitle);
|
||||
}
|
||||
break;
|
||||
|
||||
case ID_EDIT_PATCH_DEBUGMODE:
|
||||
{
|
||||
m_bXbeChanged = true;
|
||||
|
@ -1712,14 +1697,6 @@ void WndMain::RefreshMenus()
|
|||
|
||||
// patch menu
|
||||
{
|
||||
// check "allow >64 MB" if appropriate
|
||||
if(m_Xbe != nullptr)
|
||||
{
|
||||
UINT chk_flag = (m_Xbe->m_Header.dwInitFlags.bLimit64MB) ? MF_UNCHECKED : MF_CHECKED;
|
||||
|
||||
CheckMenuItem(pach_menu, ID_EDIT_PATCH_ALLOW64MB, chk_flag);
|
||||
}
|
||||
|
||||
// check "debug mode" if appropriate
|
||||
if(m_Xbe != nullptr)
|
||||
{
|
||||
|
|
|
@ -649,7 +649,6 @@ BEGIN
|
|||
END
|
||||
POPUP "&Patch", 65535,MFT_STRING,MFS_ENABLED
|
||||
BEGIN
|
||||
MENUITEM "&Allow >64 MB", ID_EDIT_PATCH_ALLOW64MB,MFT_STRING,MFS_ENABLED
|
||||
MENUITEM "&Debug Mode", ID_EDIT_PATCH_DEBUGMODE,MFT_STRING,MFS_ENABLED
|
||||
END
|
||||
MENUITEM "", -1, MFT_SEPARATOR
|
||||
|
|
|
@ -276,7 +276,6 @@
|
|||
#define ID_FILE_SAVEXBEFILEAS 40022
|
||||
#define ID_EDIT_LOGOBITMAP_EXPORT 40025
|
||||
#define ID_EDIT_LOGOBITMAP_IMPORT 40026
|
||||
#define ID_EDIT_PATCH_ALLOW64MB 40027
|
||||
#define ID_EDIT_PATCH_DEBUGMODE 40031
|
||||
#define ID_EMULATION_DEBUGOUTPUTGUI_CONSOLE 40035
|
||||
#define ID_EMULATION_DEBUGOUTPUTGUI_FILE 40036
|
||||
|
|
Loading…
Reference in New Issue