fix nowx build
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3107 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
44516dc226
commit
93a205bd1a
|
@ -12,18 +12,22 @@ if not env['HAVE_AO']:
|
|||
|
||||
files = [
|
||||
"Config.cpp",
|
||||
"DSPConfigDlgLLE.cpp",
|
||||
"Globals.cpp",
|
||||
"main.cpp",
|
||||
"Tools.cpp",
|
||||
"DSPHost.cpp",
|
||||
"Debugger/Debugger.cpp",
|
||||
"Debugger/DSPRegisterView.cpp",
|
||||
"Logging/AXTask.cpp",
|
||||
"Logging/Logging.cpp",
|
||||
"Logging/ReadPBs.cpp",
|
||||
]
|
||||
|
||||
if env['HAVE_WX']:
|
||||
files += [
|
||||
"DSPConfigDlgLLE.cpp",
|
||||
"Debugger/Debugger.cpp",
|
||||
"Debugger/DSPRegisterView.cpp",
|
||||
]
|
||||
|
||||
lleenv = env.Clone()
|
||||
lleenv.Append(
|
||||
CXXFLAGS = [ '-fPIC' ],
|
||||
|
|
|
@ -199,6 +199,7 @@ void DllConfig(HWND _hParent)
|
|||
|
||||
// Check if at least one resolution was found. If we don't and the resolution array is empty
|
||||
// CreateGUIControls() will crash because the array is empty.
|
||||
#if defined(HAVE_WX) && HAVE_WX
|
||||
if (config_dialog->arrayStringFor_FullscreenCB.size() == 0)
|
||||
{
|
||||
config_dialog->AddFSReso("<No resolutions found>");
|
||||
|
@ -208,7 +209,7 @@ void DllConfig(HWND _hParent)
|
|||
config_dialog->CreateGUIControls();
|
||||
// Hm, why does this code show it modally?
|
||||
config_dialog->ShowModal();
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
void Initialize(void *init)
|
||||
|
|
Loading…
Reference in New Issue