mirror of https://github.com/PCSX2/pcsx2.git
lilypad: Disable close hacks when loaded by PCSX2
The close hacks don't work with PCSX2 - the WM_CLOSE message can't actually be triggered for the rendering window. The hacks were also designed as a workaround for some PSX emulator close window bugs, which don't affect us.
This commit is contained in:
parent
d33bdc7da1
commit
4f24d22a68
|
@ -43,6 +43,7 @@ void PCSX2_overrideConfig(GeneralConfig& config_in_out) {
|
|||
config_in_out.disableScreenSaver = 0; // Not required - handled internally by PCSX2
|
||||
config_in_out.escapeFullscreenHack = 0; // Not required - handled internally by PCSX2
|
||||
config_in_out.saveStateTitle = 0; // Not required - handled internally by PCSX2
|
||||
config_in_out.closeHacks = 0; // Cannot function when used by PCSX2
|
||||
}
|
||||
|
||||
// Dialog widgets which should be disabled - mostly matching PCSX2_overrideConfig
|
||||
|
@ -52,6 +53,8 @@ const UINT* PCSX2_disabledWidgets() {
|
|||
IDC_ESCAPE_FULLSCREEN_HACK,
|
||||
IDC_SAVE_STATE_TITLE,
|
||||
IDC_ANALOG_START1, // start in analog mode - only useful for PS1
|
||||
IDC_CLOSE_HACK1,
|
||||
IDC_CLOSE_HACK2,
|
||||
0
|
||||
};
|
||||
return disabledWidgets;
|
||||
|
|
Loading…
Reference in New Issue