fix nowx build

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3107 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
tmator 2009-04-30 08:14:46 +00:00
parent 44516dc226
commit 93a205bd1a
2 changed files with 9 additions and 4 deletions

View File

@ -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' ],

View File

@ -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)