From c7b3d8cc532b3a3f056f215d97e639d5587d96be Mon Sep 17 00:00:00 2001 From: "SND\\MaddTheSane_cp" Date: Sun, 8 Feb 2015 18:08:16 +0000 Subject: [PATCH] OS X: limit what is exported on the plug-ins. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@93879 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- macosx/Pcsxr.xcodeproj/project.pbxproj | 25 ++++++++ macosx/plugins/Bladesio1/Bladesio1.exp | 49 ++++++++++++++++ macosx/plugins/DFCdrom/DFCdrom.exp | 28 +++++++++ macosx/plugins/DFInput/Resources/DFInput.exp | 1 + macosx/plugins/DFNet/DFNet.exp | 23 ++++++++ macosx/plugins/DFXVideo/DFXVideo.exp | 62 ++++++++++++++++++++ macosx/plugins/PeopsXgl/PeopsXgl.exp | 39 ++++++++++++ 7 files changed, 227 insertions(+) create mode 100644 macosx/plugins/Bladesio1/Bladesio1.exp create mode 100644 macosx/plugins/DFCdrom/DFCdrom.exp create mode 100644 macosx/plugins/DFNet/DFNet.exp create mode 100644 macosx/plugins/DFXVideo/DFXVideo.exp create mode 100644 macosx/plugins/PeopsXgl/PeopsXgl.exp diff --git a/macosx/Pcsxr.xcodeproj/project.pbxproj b/macosx/Pcsxr.xcodeproj/project.pbxproj index d9380b4c..8dd7e309 100644 --- a/macosx/Pcsxr.xcodeproj/project.pbxproj +++ b/macosx/Pcsxr.xcodeproj/project.pbxproj @@ -743,6 +743,11 @@ 558328E1184F268300DFACE4 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/NetSfPeopsSpuPluginMain.strings"; sourceTree = ""; }; 558328E2184F268C00DFACE4 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = "zh-Hans"; path = "zh-Hans.lproj/Credits.rtf"; sourceTree = ""; }; 558328E4184F272C00DFACE4 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; name = "zh-Hans"; path = "zh-Hans.lproj/Credits.rtf"; sourceTree = ""; }; + 5590BB8D1A87D5F10027F61B /* DFXVideo.exp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.exports; path = DFXVideo.exp; sourceTree = ""; }; + 5590BB8E1A87D8EC0027F61B /* PeopsXgl.exp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.exports; path = PeopsXgl.exp; sourceTree = ""; }; + 5590BB8F1A87DA0B0027F61B /* DFNet.exp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.exports; path = DFNet.exp; sourceTree = ""; }; + 5590BB901A87DA510027F61B /* DFCdrom.exp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.exports; path = DFCdrom.exp; sourceTree = ""; }; + 5590BB911A87DAA30027F61B /* Bladesio1.exp */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.exports; path = Bladesio1.exp; sourceTree = ""; }; 559366C012B694DF004ACC1E /* iGte.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = iGte.h; sourceTree = ""; }; 559366C112B694DF004ACC1E /* iR3000A-64.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "iR3000A-64.c"; sourceTree = ""; }; 559366C212B694DF004ACC1E /* ix86-64.c */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.c; path = "ix86-64.c"; sourceTree = ""; }; @@ -1422,6 +1427,7 @@ 551A75B917868C200052D185 /* Resources */ = { isa = PBXGroup; children = ( + 5590BB911A87DAA30027F61B /* Bladesio1.exp */, 551A74B417868BEA0052D185 /* Bladesio1PluginConfig.xib */, 550128911A11817800468D09 /* InfoPlist.strings */, 550128931A11817800468D09 /* Localizable.strings */, @@ -1449,6 +1455,7 @@ 551A75D817868E180052D185 /* Resources */ = { isa = PBXGroup; children = ( + 5590BB901A87DA510027F61B /* DFCdrom.exp */, 551A750917868BEB0052D185 /* Credits.rtf */, 551A750B17868BEB0052D185 /* DFCdromPluginConfig.xib */, 550128971A1181A000468D09 /* InfoPlist.strings */, @@ -1473,6 +1480,7 @@ 551A760817868EC10052D185 /* Resoruces */ = { isa = PBXGroup; children = ( + 5590BB8F1A87DA0B0027F61B /* DFNet.exp */, 551A753617868BEB0052D185 /* Credits.rtf */, 551A753817868BEB0052D185 /* DFNet.xib */, 551A753E17868BEB0052D185 /* SockDialog.xib */, @@ -1547,6 +1555,7 @@ 551A764717868F3D0052D185 /* Resources */ = { isa = PBXGroup; children = ( + 5590BB8D1A87D5F10027F61B /* DFXVideo.exp */, 551A756817868BEC0052D185 /* Credits.rtf */, 551A756C17868BEC0052D185 /* Localizable.strings */, 550128A81A11827F00468D09 /* InfoPlist.strings */, @@ -1593,6 +1602,7 @@ 551A766417868F870052D185 /* Resources */ = { isa = PBXGroup; children = ( + 5590BB8E1A87D8EC0027F61B /* PeopsXgl.exp */, 551A758517868BED0052D185 /* Credits.rtf */, 551A758B17868BED0052D185 /* NetSfPeopsOpenGLConfig.xib */, 551A759A17868BED0052D185 /* NetSfPeopsOpenGLGPUInterface.xib */, @@ -3009,6 +3019,7 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_WARN_EMPTY_BODY = YES; + EXPORTED_SYMBOLS_FILE = plugins/Bladesio1/Bladesio1.exp; GCC_DYNAMIC_NO_PIC = NO; GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = "PCSXRPLUG=Bladesio1"; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -3021,6 +3032,7 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_WARN_EMPTY_BODY = YES; + EXPORTED_SYMBOLS_FILE = plugins/Bladesio1/Bladesio1.exp; GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = "PCSXRPLUG=Bladesio1"; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins"; @@ -3032,6 +3044,7 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_WARN_EMPTY_BODY = YES; + EXPORTED_SYMBOLS_FILE = plugins/DFCdrom/DFCdrom.exp; GCC_DYNAMIC_NO_PIC = NO; GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = "PCSXRPLUG=DFCdrom"; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -3044,6 +3057,7 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_WARN_EMPTY_BODY = YES; + EXPORTED_SYMBOLS_FILE = plugins/DFCdrom/DFCdrom.exp; GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = "PCSXRPLUG=DFCdrom"; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins"; @@ -3092,6 +3106,7 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_WARN_EMPTY_BODY = YES; + EXPORTED_SYMBOLS_FILE = plugins/DFXVideo/DFXVideo.exp; GCC_PREPROCESSOR_DEFINITIONS = ( _MACGL, _DARWIN, @@ -3110,6 +3125,7 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_WARN_EMPTY_BODY = YES; + EXPORTED_SYMBOLS_FILE = plugins/DFXVideo/DFXVideo.exp; GCC_PREPROCESSOR_DEFINITIONS = ( _MACGL, _DARWIN, @@ -3258,6 +3274,7 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_WARN_EMPTY_BODY = YES; + EXPORTED_SYMBOLS_FILE = plugins/PeopsXgl/PeopsXgl.exp; GCC_DYNAMIC_NO_PIC = NO; GCC_PREPROCESSOR_DEFINITIONS = ( _MACGL, @@ -3277,6 +3294,7 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_WARN_EMPTY_BODY = YES; + EXPORTED_SYMBOLS_FILE = plugins/PeopsXgl/PeopsXgl.exp; GCC_PREPROCESSOR_DEFINITIONS = ( _MACGL, _DARWIN, @@ -3295,6 +3313,7 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_WARN_EMPTY_BODY = YES; + EXPORTED_SYMBOLS_FILE = plugins/DFNet/DFNet.exp; GCC_DYNAMIC_NO_PIC = NO; GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = "PCSXRPLUG=DFNet"; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; @@ -3307,6 +3326,7 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_WARN_EMPTY_BODY = YES; + EXPORTED_SYMBOLS_FILE = plugins/DFNet/DFNet.exp; GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = "PCSXRPLUG=DFNet"; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins"; @@ -3542,6 +3562,7 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_WARN_EMPTY_BODY = YES; + EXPORTED_SYMBOLS_FILE = plugins/DFCdrom/DFCdrom.exp; GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = "PCSXRPLUG=DFCdrom"; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins"; @@ -3571,6 +3592,7 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_WARN_EMPTY_BODY = YES; + EXPORTED_SYMBOLS_FILE = plugins/DFXVideo/DFXVideo.exp; GCC_PREPROCESSOR_DEFINITIONS = ( _MACGL, _DARWIN, @@ -3589,6 +3611,7 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_WARN_EMPTY_BODY = YES; + EXPORTED_SYMBOLS_FILE = plugins/PeopsXgl/PeopsXgl.exp; GCC_PREPROCESSOR_DEFINITIONS = ( _MACGL, _DARWIN, @@ -3646,6 +3669,7 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_WARN_EMPTY_BODY = YES; + EXPORTED_SYMBOLS_FILE = plugins/DFNet/DFNet.exp; GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = "PCSXRPLUG=DFNet"; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins"; @@ -3657,6 +3681,7 @@ isa = XCBuildConfiguration; buildSettings = { CLANG_WARN_EMPTY_BODY = YES; + EXPORTED_SYMBOLS_FILE = plugins/Bladesio1/Bladesio1.exp; GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = "PCSXRPLUG=Bladesio1"; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; INSTALL_PATH = "$(USER_LIBRARY_DIR)/Playstation Emulator Plugins"; diff --git a/macosx/plugins/Bladesio1/Bladesio1.exp b/macosx/plugins/Bladesio1/Bladesio1.exp new file mode 100644 index 00000000..bd8c6f66 --- /dev/null +++ b/macosx/plugins/Bladesio1/Bladesio1.exp @@ -0,0 +1,49 @@ +# Bladesio1.exp +# Pcsxr +# +# Created by C.W. Betts on 2/8/15. +# + +_PSEgetLibType +_PSEgetLibName +_PSEgetLibVersion +_SIO1configure +_SIO1about +_SIO1test +_SIO1init +_SIO1shutdown +_SIO1open +_SIO1close + +_SIO1pause +_SIO1resume +_SIO1keypressed + +_SIO1writeData8 +_SIO1writeData16 +_SIO1writeData32 +_SIO1writeStat16 +_SIO1writeStat32 +_SIO1writeMode16 +_SIO1writeMode32 +_SIO1writeCtrl16 +_SIO1writeCtrl32 +_SIO1writeBaud16 +_SIO1writeBaud32 + +_SIO1readData8 +_SIO1readData16 +_SIO1readData32 +_SIO1readStat16 +_SIO1readStat32 +_SIO1readMode16 +_SIO1readMode32 +_SIO1readCtrl16 +_SIO1readCtrl32 +_SIO1readBaud16 +_SIO1readBaud32 + +_SIO1update +_SIO1registerCallback + + diff --git a/macosx/plugins/DFCdrom/DFCdrom.exp b/macosx/plugins/DFCdrom/DFCdrom.exp new file mode 100644 index 00000000..b2b9257c --- /dev/null +++ b/macosx/plugins/DFCdrom/DFCdrom.exp @@ -0,0 +1,28 @@ +# DFCdrom.exp +# Pcsxr +# +# Created by C.W. Betts on 2/8/15. +# + +_PSEgetLibType +_PSEgetLibName +_PSEgetLibVersion + +_CDRinit +_CDRshutdown +_CDRopen +_CDRclose +_CDRgetTN +_CDRgetTD +_CDRreadTrack +_CDRgetBuffer +_CDRgetBufferSub +_CDRconfigure +_CDRtest +_CDRabout +_CDRplay +_CDRstop +_CDRgetStatus +_CDRgetDriveLetter +_CDRreadCDDA +_CDRgetTE diff --git a/macosx/plugins/DFInput/Resources/DFInput.exp b/macosx/plugins/DFInput/Resources/DFInput.exp index c6af9109..03515106 100644 --- a/macosx/plugins/DFInput/Resources/DFInput.exp +++ b/macosx/plugins/DFInput/Resources/DFInput.exp @@ -21,3 +21,4 @@ _PADconfigure _PADtest _PADabout _PADregisterVibration +_PADkeypressed diff --git a/macosx/plugins/DFNet/DFNet.exp b/macosx/plugins/DFNet/DFNet.exp new file mode 100644 index 00000000..d0301438 --- /dev/null +++ b/macosx/plugins/DFNet/DFNet.exp @@ -0,0 +1,23 @@ +# DFNet.exp +# Pcsxr +# +# Created by C.W. Betts on 2/8/15. +# + +_PSEgetLibType +_PSEgetLibName +_PSEgetLibVersion + +_NETinit +_NETshutdown +_NETclose +_NETconfigure +_NETtest +_NETabout +_NETpause +_NETresume +_NETqueryPlayer +_NETsendData +_NETrecvData +_NETsendPadData +_NETrecvPadData diff --git a/macosx/plugins/DFXVideo/DFXVideo.exp b/macosx/plugins/DFXVideo/DFXVideo.exp new file mode 100644 index 00000000..03a10563 --- /dev/null +++ b/macosx/plugins/DFXVideo/DFXVideo.exp @@ -0,0 +1,62 @@ +# DFXVideo.exp +# Pcsxr +# +# Created by C.W. Betts on 2/8/15. +# + +_PSEgetLibType +_PSEgetLibName +_PSEgetLibVersion +_GPUinit +_GPUshutdown +_GPUopen +_GPUclose +_GPUconfigure +_GPUabout +_GPUtest +_GPUwriteData +_GPUwriteStatus +_GPUreadData +_GPUreadStatus +_GPUdmaChain +_GPUgetMode +_GPUsetMode +_GPUupdateLace +_GPUmakeSnapshot +_GPUwriteDataMem +_GPUreadDataMem +_GPUdisplayText +_GPUdisplayFlags +_GPUfreeze +_GPUshowScreenPic +_GPUgetScreenPic + +_GPUkeypressed +_GPUhSync +_GPUvBlank + +_GPUcursor +_GPUsetfix + +# _ZN_GPUdisplayFlags +# _ZN_GPUmakeSnapshot +# _ZN_GPUinit +# _ZN_GPUopen +# _ZN_GPUclose +# _ZN_GPUshutdown +# _ZN_GPUupdateLace +# _ZN_GPUreadStatus +# _ZN_GPUwriteStatus +# _ZN_GPUdmaSliceOut +# _ZN_GPUreadData +# _ZN_GPUsetMode +# _ZN_GPUgetMode +# _ZN_GPUdmaSliceIn +# _ZN_GPUwriteData +# _ZN_GPUdmaChain +# _ZN_GPUtest +# _ZN_GPUfreeze +# _ZN_GPUgetScreenPic +# _ZN_GPUshowScreenPic + +_GPUvisualVibration diff --git a/macosx/plugins/PeopsXgl/PeopsXgl.exp b/macosx/plugins/PeopsXgl/PeopsXgl.exp new file mode 100644 index 00000000..f1172eea --- /dev/null +++ b/macosx/plugins/PeopsXgl/PeopsXgl.exp @@ -0,0 +1,39 @@ +# PeopsXgl.exp +# Pcsxr +# +# Created by C.W. Betts on 2/8/15. +# + +_PSEgetLibType +_PSEgetLibName +_PSEgetLibVersion +_GPUinit +_GPUshutdown +_GPUopen +_GPUclose +_GPUconfigure +_GPUabout +_GPUtest +_GPUwriteData +_GPUwriteStatus +_GPUreadData +_GPUreadStatus +_GPUdmaChain +_GPUupdateLace +_GPUmakeSnapshot +_GPUwriteDataMem +_GPUreadDataMem +_GPUdisplayFlags +_GPUfreeze +_GPUshowScreenPic +_GPUgetScreenPic + +_GPUkeypressed +_GPUhSync +_GPUvBlank +_GPUaddVertex + +_GPUcursor +_GPUsetfix + +_GPUvisualVibration