diff options
| author | Soren Jorvang <soren.jorvang@gmail.com> | 2011-01-31 01:53:57 +0000 |
|---|---|---|
| committer | Soren Jorvang <soren.jorvang@gmail.com> | 2011-01-31 01:53:57 +0000 |
| commit | 18bb65b3002fb3ad3ba277f5207da8741b8fd089 (patch) | |
| tree | dc693d492e12fdf9be2cd4acf42f6b5ce6d201db /Source/Core | |
| parent | fbaf9659958cd6d8c0df6b0c217f6e60f57f9d77 (diff) | |
Fix OS X build.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6997 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Common/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | Source/Core/Common/Src/SConscript | 4 | ||||
| -rw-r--r-- | Source/Core/Core/CMakeLists.txt | 1 | ||||
| -rw-r--r-- | Source/Core/Core/Src/SConscript | 1 | ||||
| -rw-r--r-- | Source/Core/DolphinWX/Src/ConfigMain.cpp | 4 | ||||
| -rw-r--r-- | Source/Core/DolphinWX/Src/SConscript | 11 | ||||
| -rw-r--r-- | Source/Core/VideoCommon/Src/NativeVertexFormat.h | 5 |
7 files changed, 11 insertions, 19 deletions
diff --git a/Source/Core/Common/CMakeLists.txt b/Source/Core/Common/CMakeLists.txt index c82edd1532..11cde5301c 100644 --- a/Source/Core/Common/CMakeLists.txt +++ b/Source/Core/Common/CMakeLists.txt @@ -4,7 +4,6 @@ set(SRCS Src/ABI.cpp Src/ColorUtil.cpp Src/ConsoleListener.cpp Src/CPUDetect.cpp - Src/DynamicLibrary.cpp Src/FileSearch.cpp Src/FileUtil.cpp Src/Hash.cpp @@ -17,8 +16,6 @@ set(SRCS Src/ABI.cpp Src/MsgHandler.cpp Src/NandPaths.cpp Src/OpenCL.cpp - Src/Plugin.cpp - Src/PluginVideo.cpp Src/SDCardUtil.cpp Src/StringUtil.cpp Src/SymbolDB.cpp @@ -27,6 +24,7 @@ set(SRCS Src/ABI.cpp Src/Thunk.cpp Src/Timer.cpp Src/Version.cpp + Src/VideoBackendBase.cpp Src/x64Analyzer.cpp Src/x64Emitter.cpp Src/Crypto/aes_cbc.cpp diff --git a/Source/Core/Common/Src/SConscript b/Source/Core/Common/Src/SConscript index 3b16635440..90e0f7dca4 100644 --- a/Source/Core/Common/Src/SConscript +++ b/Source/Core/Common/Src/SConscript @@ -18,7 +18,6 @@ files = [ "ColorUtil.cpp", "ConsoleListener.cpp", "CPUDetect.cpp", - "DynamicLibrary.cpp", "FileSearch.cpp", "FileUtil.cpp", "Hash.cpp", @@ -31,8 +30,6 @@ files = [ "MsgHandler.cpp", "NandPaths.cpp", "OpenCL.cpp", - "Plugin.cpp", - "PluginVideo.cpp", "SDCardUtil.cpp", "StringUtil.cpp", "SymbolDB.cpp", @@ -41,6 +38,7 @@ files = [ "Thunk.cpp", "Timer.cpp", "Version.cpp", + "VideoBackendBase.cpp", "x64Emitter.cpp", "x64Analyzer.cpp", "Crypto/aes_cbc.cpp", diff --git a/Source/Core/Core/CMakeLists.txt b/Source/Core/Core/CMakeLists.txt index ff9326c482..d2e4b7d06d 100644 --- a/Source/Core/Core/CMakeLists.txt +++ b/Source/Core/Core/CMakeLists.txt @@ -12,7 +12,6 @@ set(SRCS Src/ActionReplay.cpp Src/MemTools.cpp Src/OnFrame.cpp Src/PatchEngine.cpp - Src/PluginManager.cpp Src/PluginDSP.cpp Src/State.cpp Src/stdafx.cpp diff --git a/Source/Core/Core/Src/SConscript b/Source/Core/Core/Src/SConscript index 950f04404f..20a221757f 100644 --- a/Source/Core/Core/Src/SConscript +++ b/Source/Core/Core/Src/SConscript @@ -15,7 +15,6 @@ files = [ "OnFrame.cpp", "MemTools.cpp", "PatchEngine.cpp", - "PluginManager.cpp", "PluginDSP.cpp", "LuaInterface.cpp", "State.cpp", diff --git a/Source/Core/DolphinWX/Src/ConfigMain.cpp b/Source/Core/DolphinWX/Src/ConfigMain.cpp index 881a1aacfa..7c099886d2 100644 --- a/Source/Core/DolphinWX/Src/ConfigMain.cpp +++ b/Source/Core/DolphinWX/Src/ConfigMain.cpp @@ -252,10 +252,8 @@ void CConfigMain::UpdateGUI() PathsPage->Disable(); -#if defined _WIN32 || defined __linux__ // Disable stuff on PluginsPage GraphicSelection->Disable(); -#endif } } @@ -876,7 +874,6 @@ void CConfigMain::CreateGUIControls() PathsPage->SetSizer(sPathsPage); -#if defined _WIN32 || defined __linux__ // Plugins page //sbGraphicsPlugin = new wxStaticBoxSizer(wxHORIZONTAL, PluginsPage, _("Graphics")); //GraphicSelection = new wxChoice(PluginsPage, ID_GRAPHIC_CB, wxDefaultPosition, wxDefaultSize, 0, NULL, 0, wxDefaultValidator); @@ -891,7 +888,6 @@ void CConfigMain::CreateGUIControls() //sPluginsPage->Add(sbGraphicsPlugin, 0, wxEXPAND|wxALL, 5); //PluginsPage->SetSizer(sPluginsPage); -#endif m_Ok = new wxButton(this, wxID_OK); diff --git a/Source/Core/DolphinWX/Src/SConscript b/Source/Core/DolphinWX/Src/SConscript index 0f639078a5..245373fd18 100644 --- a/Source/Core/DolphinWX/Src/SConscript +++ b/Source/Core/DolphinWX/Src/SConscript @@ -7,9 +7,10 @@ from SconsTests import utils files = ['BootManager.cpp'] +# 'plugin_videosoftware', libs = [ - 'core', - 'audiocommon', 'common', 'discio', 'inputcommon', + 'core', 'discio', 'plugin_videoogl', + 'audiocommon', 'common', 'inputcommon', 'videocommon', 'GLEW', 'SOIL', 'bdisasm', 'lua', 'lzo2', 'sfml-network', 'z', ] @@ -55,12 +56,11 @@ else: env.StaticLibrary(env['local_libs'] + "dolphinwx", libfiles) - wxlibs += ['debwx', 'debugger_ui_util', 'dolphinwx'] + wxlibs += ['debwx', 'debugger_ui_util', 'dolphinwx', 'videouicommon'] if sys.platform == 'win32': files += [ "stdafx.cpp" ] elif sys.platform == 'darwin': - ldflags += [ '-Wl,-force_load,' + env['libvideo'][0].path ] ldflags += [ '-Xarch_i386', '-Wl,-framework,QuickTime' ] ldflags += [ '-weak_framework', 'OpenCL' ] @@ -126,8 +126,6 @@ elif sys.platform == 'darwin': else: files += [ 'X11Utils.cpp' ] libs += [ 'SDL', 'clrun' ] - ldflags += [ '-Wl,--whole-archive,' + env['libvideo'][0].path ] - ldflags += [ '-Wl,--no-whole-archive' ] if env['HAVE_WX']: exe = env['binary_dir'] + '/dolphin-emu' else: @@ -138,5 +136,4 @@ else: libs = wxlibs + libs + env['LIBS'] linkflags = ldflags + env['LINKFLAGS'] -env.Depends(exe, env['libvideo']) env.Program(exe, files, LIBS = libs, LINKFLAGS = linkflags) diff --git a/Source/Core/VideoCommon/Src/NativeVertexFormat.h b/Source/Core/VideoCommon/Src/NativeVertexFormat.h index 8bd522e482..1c873365fd 100644 --- a/Source/Core/VideoCommon/Src/NativeVertexFormat.h +++ b/Source/Core/VideoCommon/Src/NativeVertexFormat.h @@ -54,7 +54,12 @@ enum { VB_HAS_UVTEXMTXSHIFT=13, }; +#ifdef WIN32 #define LOADERDECL __cdecl +#else +#define LOADERDECL +#endif + typedef void (LOADERDECL *TPipelineFunction)(); enum VarType |
