Fix spec from over erasing
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1824 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
ef53bfe3fc
commit
c4993bf036
|
@ -11,11 +11,12 @@
|
||||||
#define EXPORT __declspec(dllexport)
|
#define EXPORT __declspec(dllexport)
|
||||||
#define CALL __cdecl
|
#define CALL __cdecl
|
||||||
#else
|
#else
|
||||||
#define __cdecl
|
|
||||||
#define EXPORT __attribute__ ((visibility("default")))
|
#define EXPORT __attribute__ ((visibility("default")))
|
||||||
#define CALL
|
#define CALL
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#define __cdecl
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
|
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
@ -52,7 +53,6 @@ extern "C" {
|
||||||
#define STATE_MODE_WRITE 2
|
#define STATE_MODE_WRITE 2
|
||||||
#define STATE_MODE_MEASURE 3
|
#define STATE_MODE_MEASURE 3
|
||||||
|
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
u16 Version; // Set to 0x0100
|
u16 Version; // Set to 0x0100
|
||||||
|
@ -86,7 +86,7 @@ EXPORT void CALL GetDllInfo(PLUGIN_INFO* _pPluginInfo);
|
||||||
// input: A handle to the window that calls this function
|
// input: A handle to the window that calls this function
|
||||||
// output: none
|
// output: none
|
||||||
//
|
//
|
||||||
EXPORT void CALL DllConfig(void *_hParent);
|
EXPORT void CALL DllConfig(HWND _hParent);
|
||||||
|
|
||||||
// ___________________________________________________________________________
|
// ___________________________________________________________________________
|
||||||
// Function: DllDebugger
|
// Function: DllDebugger
|
||||||
|
@ -94,8 +94,15 @@ EXPORT void CALL DllConfig(void *_hParent);
|
||||||
// input: a handle to the window that calls this function
|
// input: a handle to the window that calls this function
|
||||||
// output: none
|
// output: none
|
||||||
//
|
//
|
||||||
EXPORT void CALL DllDebugger(void *_hParent, bool Show);
|
EXPORT void CALL DllDebugger(HWND _hParent, bool Show);
|
||||||
|
|
||||||
|
// ___________________________________________________________________________
|
||||||
|
// Function: DllSetGlobals
|
||||||
|
// Purpose: Set the pointer for globals variables
|
||||||
|
// input: a pointer to the global struct
|
||||||
|
// output: none
|
||||||
|
//
|
||||||
|
EXPORT void CALL SetDllGlobals(PLUGIN_GLOBALS* _pPluginGlobals);
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -30,6 +30,14 @@ typedef struct
|
||||||
TAudioGetStreaming pGetAudioStreaming;
|
TAudioGetStreaming pGetAudioStreaming;
|
||||||
} DSPInitialize;
|
} DSPInitialize;
|
||||||
|
|
||||||
|
// __________________________________________________________________________________________________
|
||||||
|
|
||||||
|
// Function: DSP_Initialize
|
||||||
|
// Purpose:
|
||||||
|
// input: DSPInitialize
|
||||||
|
// output: none
|
||||||
|
//
|
||||||
|
EXPORT void CALL DSP_Initialize(DSPInitialize _dspInitialize);
|
||||||
// __________________________________________________________________________________________________
|
// __________________________________________________________________________________________________
|
||||||
// Function: DSP_Shutdown
|
// Function: DSP_Shutdown
|
||||||
// Purpose: This function is called when the emulator is shutting down
|
// Purpose: This function is called when the emulator is shutting down
|
||||||
|
|
Loading…
Reference in New Issue