just some deleted comments or stuff left behind of the about killing in r787
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1281 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
28ec5031ee
commit
5672367b4c
|
@ -28,7 +28,6 @@ void UnloadPlugin();
|
||||||
|
|
||||||
// Function Types
|
// Function Types
|
||||||
typedef void (__cdecl* TGetDllInfo)(PLUGIN_INFO*);
|
typedef void (__cdecl* TGetDllInfo)(PLUGIN_INFO*);
|
||||||
//typedef void (__cdecl* TDllAbout)(HWND);
|
|
||||||
typedef void (__cdecl* TDllConfig)(HWND);
|
typedef void (__cdecl* TDllConfig)(HWND);
|
||||||
typedef void (__cdecl* TDllDebugger)(HWND, bool);
|
typedef void (__cdecl* TDllDebugger)(HWND, bool);
|
||||||
typedef void (__cdecl* TDSP_Initialize)(DSPInitialize);
|
typedef void (__cdecl* TDSP_Initialize)(DSPInitialize);
|
||||||
|
|
|
@ -24,7 +24,6 @@ namespace PluginDVD
|
||||||
|
|
||||||
//! Function Types
|
//! Function Types
|
||||||
typedef void (__cdecl* TGetDllInfo) (PLUGIN_INFO*);
|
typedef void (__cdecl* TGetDllInfo) (PLUGIN_INFO*);
|
||||||
typedef void (__cdecl* TDllAbout) (HWND);
|
|
||||||
typedef void (__cdecl* TDllConfig) (HWND);
|
typedef void (__cdecl* TDllConfig) (HWND);
|
||||||
typedef void (__cdecl* TDVD_Initialize) (SDVDInitialize);
|
typedef void (__cdecl* TDVD_Initialize) (SDVDInitialize);
|
||||||
typedef void (__cdecl* TDVD_Shutdown) ();
|
typedef void (__cdecl* TDVD_Shutdown) ();
|
||||||
|
@ -36,7 +35,6 @@ typedef u32 (__cdecl* TDVD_Read32) (u64);
|
||||||
|
|
||||||
//! Function Pointer
|
//! Function Pointer
|
||||||
TGetDllInfo g_GetDllInfo = NULL;
|
TGetDllInfo g_GetDllInfo = NULL;
|
||||||
TDllAbout g_DllAbout = NULL;
|
|
||||||
TDllConfig g_DllConfig = NULL;
|
TDllConfig g_DllConfig = NULL;
|
||||||
TDVD_Initialize g_DVD_Initialize = NULL;
|
TDVD_Initialize g_DVD_Initialize = NULL;
|
||||||
TDVD_Shutdown g_DVD_Shutdown = NULL;
|
TDVD_Shutdown g_DVD_Shutdown = NULL;
|
||||||
|
@ -62,7 +60,6 @@ bool LoadPlugin(const char *_strFilename)
|
||||||
if (g_hLibraryInstance)
|
if (g_hLibraryInstance)
|
||||||
{
|
{
|
||||||
g_GetDllInfo = reinterpret_cast<TGetDllInfo> (GetProcAddress(g_hLibraryInstance, "GetDllInfo"));
|
g_GetDllInfo = reinterpret_cast<TGetDllInfo> (GetProcAddress(g_hLibraryInstance, "GetDllInfo"));
|
||||||
g_DllAbout = reinterpret_cast<TDllAbout> (GetProcAddress(g_hLibraryInstance, "DllAbout"));
|
|
||||||
g_DllConfig = reinterpret_cast<TDllConfig> (GetProcAddress(g_hLibraryInstance, "DllConfig"));
|
g_DllConfig = reinterpret_cast<TDllConfig> (GetProcAddress(g_hLibraryInstance, "DllConfig"));
|
||||||
g_DVD_Initialize = reinterpret_cast<TDVD_Initialize> (GetProcAddress(g_hLibraryInstance, "DVD_Initialize"));
|
g_DVD_Initialize = reinterpret_cast<TDVD_Initialize> (GetProcAddress(g_hLibraryInstance, "DVD_Initialize"));
|
||||||
g_DVD_Shutdown = reinterpret_cast<TDVD_Shutdown> (GetProcAddress(g_hLibraryInstance, "DVD_Shutdown"));
|
g_DVD_Shutdown = reinterpret_cast<TDVD_Shutdown> (GetProcAddress(g_hLibraryInstance, "DVD_Shutdown"));
|
||||||
|
@ -73,7 +70,6 @@ bool LoadPlugin(const char *_strFilename)
|
||||||
g_DVD_IsValid = reinterpret_cast<TDVD_IsValid> (GetProcAddress(g_hLibraryInstance, "DVD_IsValid"));
|
g_DVD_IsValid = reinterpret_cast<TDVD_IsValid> (GetProcAddress(g_hLibraryInstance, "DVD_IsValid"));
|
||||||
|
|
||||||
if ((g_GetDllInfo != NULL) &&
|
if ((g_GetDllInfo != NULL) &&
|
||||||
(g_DllAbout != NULL) &&
|
|
||||||
(g_DllConfig != NULL) &&
|
(g_DllConfig != NULL) &&
|
||||||
(g_DVD_Initialize != NULL) &&
|
(g_DVD_Initialize != NULL) &&
|
||||||
(g_DVD_Shutdown != NULL) &&
|
(g_DVD_Shutdown != NULL) &&
|
||||||
|
@ -99,7 +95,6 @@ void UnloadPlugin()
|
||||||
{
|
{
|
||||||
// Set Functions to NULL
|
// Set Functions to NULL
|
||||||
g_GetDllInfo = NULL;
|
g_GetDllInfo = NULL;
|
||||||
g_DllAbout = NULL;
|
|
||||||
g_DllConfig = NULL;
|
g_DllConfig = NULL;
|
||||||
g_DVD_Initialize = NULL;
|
g_DVD_Initialize = NULL;
|
||||||
g_DVD_Shutdown = NULL;
|
g_DVD_Shutdown = NULL;
|
||||||
|
@ -125,11 +120,6 @@ void GetDllInfo(PLUGIN_INFO* _PluginInfo)
|
||||||
g_GetDllInfo(_PluginInfo);
|
g_GetDllInfo(_PluginInfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DllAbout(HWND _hParent)
|
|
||||||
{
|
|
||||||
g_DllAbout(_hParent);
|
|
||||||
}
|
|
||||||
|
|
||||||
void DllConfig(HWND _hParent)
|
void DllConfig(HWND _hParent)
|
||||||
{
|
{
|
||||||
g_DllConfig(_hParent);
|
g_DllConfig(_hParent);
|
||||||
|
|
|
@ -39,9 +39,6 @@ void UnloadPlugin();
|
||||||
//! GetDllInfo
|
//! GetDllInfo
|
||||||
void GetDllInfo(PLUGIN_INFO* _PluginInfo) ;
|
void GetDllInfo(PLUGIN_INFO* _PluginInfo) ;
|
||||||
|
|
||||||
//! DllAbout
|
|
||||||
void DllAbout(HWND _hParent);
|
|
||||||
|
|
||||||
//! DllConfig
|
//! DllConfig
|
||||||
void DllConfig(HWND _hParent);
|
void DllConfig(HWND _hParent);
|
||||||
|
|
||||||
|
|
|
@ -24,7 +24,6 @@ namespace PluginPAD
|
||||||
// Function Pointers
|
// Function Pointers
|
||||||
TGetDllInfo GetDllInfo = 0;
|
TGetDllInfo GetDllInfo = 0;
|
||||||
TPAD_Shutdown PAD_Shutdown = 0;
|
TPAD_Shutdown PAD_Shutdown = 0;
|
||||||
//TDllAbout DllAbout = 0;
|
|
||||||
TDllConfig DllConfig = 0;
|
TDllConfig DllConfig = 0;
|
||||||
TPAD_Initialize PAD_Initialize = 0;
|
TPAD_Initialize PAD_Initialize = 0;
|
||||||
TPAD_GetStatus PAD_GetStatus = 0;
|
TPAD_GetStatus PAD_GetStatus = 0;
|
||||||
|
@ -45,7 +44,6 @@ void UnloadPlugin()
|
||||||
// Set Functions to 0
|
// Set Functions to 0
|
||||||
GetDllInfo = 0;
|
GetDllInfo = 0;
|
||||||
PAD_Shutdown = 0;
|
PAD_Shutdown = 0;
|
||||||
//DllAbout = 0;
|
|
||||||
DllConfig = 0;
|
DllConfig = 0;
|
||||||
PAD_Initialize = 0;
|
PAD_Initialize = 0;
|
||||||
PAD_GetStatus = 0;
|
PAD_GetStatus = 0;
|
||||||
|
|
|
@ -102,7 +102,6 @@ bool LoadPlugin(const char *_Filename)
|
||||||
Video_DoState = reinterpret_cast<TVideo_DoState> (plugin.Get("Video_DoState"));
|
Video_DoState = reinterpret_cast<TVideo_DoState> (plugin.Get("Video_DoState"));
|
||||||
Video_Stop = reinterpret_cast<TVideo_Stop> (plugin.Get("Video_Stop"));
|
Video_Stop = reinterpret_cast<TVideo_Stop> (plugin.Get("Video_Stop"));
|
||||||
if ((GetDllInfo != 0) &&
|
if ((GetDllInfo != 0) &&
|
||||||
//(DllAbout != 0) &&
|
|
||||||
(DllConfig != 0) &&
|
(DllConfig != 0) &&
|
||||||
(DllDebugger != 0) &&
|
(DllDebugger != 0) &&
|
||||||
(Video_Initialize != 0) &&
|
(Video_Initialize != 0) &&
|
||||||
|
|
|
@ -32,7 +32,6 @@ void UnloadPlugin();
|
||||||
|
|
||||||
// Function Types
|
// Function Types
|
||||||
typedef void (__cdecl* TGetDllInfo)(PLUGIN_INFO*);
|
typedef void (__cdecl* TGetDllInfo)(PLUGIN_INFO*);
|
||||||
//typedef void (__cdecl* TDllAbout)(HWND);
|
|
||||||
typedef void (__cdecl* TDllConfig)(HWND);
|
typedef void (__cdecl* TDllConfig)(HWND);
|
||||||
typedef void (__cdecl* TDllDebugger)(HWND, bool);
|
typedef void (__cdecl* TDllDebugger)(HWND, bool);
|
||||||
typedef void (__cdecl* TVideo_Initialize)(SVideoInitialize*);
|
typedef void (__cdecl* TVideo_Initialize)(SVideoInitialize*);
|
||||||
|
|
|
@ -28,7 +28,6 @@ void UnloadPlugin();
|
||||||
|
|
||||||
// Function Types
|
// Function Types
|
||||||
typedef void (__cdecl* TGetDllInfo)(PLUGIN_INFO*);
|
typedef void (__cdecl* TGetDllInfo)(PLUGIN_INFO*);
|
||||||
//typedef void (__cdecl* TDllAbout)(HWND);
|
|
||||||
typedef void (__cdecl* TDllConfig)(HWND);
|
typedef void (__cdecl* TDllConfig)(HWND);
|
||||||
typedef void (__cdecl* TWiimote_Initialize)(SWiimoteInitialize);
|
typedef void (__cdecl* TWiimote_Initialize)(SWiimoteInitialize);
|
||||||
typedef void (__cdecl* TWiimote_Shutdown)();
|
typedef void (__cdecl* TWiimote_Shutdown)();
|
||||||
|
|
|
@ -183,10 +183,6 @@ void GetDllInfo(PLUGIN_INFO* _PluginInfo)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void DllAbout(HWND _hParent)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
void DllConfig(HWND _hParent)
|
void DllConfig(HWND _hParent)
|
||||||
{
|
{
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
Loading…
Reference in New Issue