PluginSpecs: Cosmetic changes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1885 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
8c3d4ac873
commit
e3652c177c
|
@ -18,8 +18,8 @@
|
||||||
|
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////////////
|
||||||
// Declarations and definitions
|
// System specific declarations and definitions
|
||||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯
|
// ------------
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#define EXPORT __declspec(dllexport)
|
#define EXPORT __declspec(dllexport)
|
||||||
#define CALL __cdecl
|
#define CALL __cdecl
|
||||||
|
@ -42,6 +42,12 @@
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
///////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
|
//////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Global values
|
||||||
|
// ------------
|
||||||
|
|
||||||
// Plugin types
|
// Plugin types
|
||||||
enum PLUGIN_TYPE {
|
enum PLUGIN_TYPE {
|
||||||
|
@ -58,6 +64,12 @@ enum PLUGIN_TYPE {
|
||||||
#define STATE_MODE_WRITE 2
|
#define STATE_MODE_WRITE 2
|
||||||
#define STATE_MODE_MEASURE 3
|
#define STATE_MODE_MEASURE 3
|
||||||
|
|
||||||
|
///////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
|
//////////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Export structs
|
||||||
|
// ------------
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
u16 Version; // Set to 0x0100
|
u16 Version; // Set to 0x0100
|
||||||
|
@ -110,15 +122,16 @@ EXPORT void CALL DllDebugger(HWND _hParent, bool Show);
|
||||||
// output: none
|
// output: none
|
||||||
//
|
//
|
||||||
EXPORT void CALL SetDllGlobals(PLUGIN_GLOBALS* _pPluginGlobals);
|
EXPORT void CALL SetDllGlobals(PLUGIN_GLOBALS* _pPluginGlobals);
|
||||||
// __________________________________________________________________________________________________
|
|
||||||
|
|
||||||
|
// ___________________________________________________________________________
|
||||||
// Function: Initialize
|
// Function: Initialize
|
||||||
// Purpose: Initialize the plugin
|
// Purpose: Initialize the plugin
|
||||||
// input: Init
|
// input: Init
|
||||||
// output: none
|
// output: none
|
||||||
//
|
//
|
||||||
EXPORT void CALL Initialize(void *init);
|
EXPORT void CALL Initialize(void *init);
|
||||||
// __________________________________________________________________________________________________
|
|
||||||
|
// ___________________________________________________________________________
|
||||||
// Function: Shutdown
|
// Function: Shutdown
|
||||||
// Purpose: This function is called when the emulator is shutting down
|
// Purpose: This function is called when the emulator is shutting down
|
||||||
// a game allowing the dll to de-initialise.
|
// a game allowing the dll to de-initialise.
|
||||||
|
@ -127,7 +140,7 @@ EXPORT void CALL Initialize(void *init);
|
||||||
//
|
//
|
||||||
EXPORT void CALL Shutdown(void);
|
EXPORT void CALL Shutdown(void);
|
||||||
|
|
||||||
// __________________________________________________________________________________________________
|
// ___________________________________________________________________________
|
||||||
// Function: DoState
|
// Function: DoState
|
||||||
// Purpose: Saves/load state
|
// Purpose: Saves/load state
|
||||||
// input/output: ptr
|
// input/output: ptr
|
||||||
|
|
|
@ -1,21 +1,3 @@
|
||||||
// Copyright (C) 2003-2008 Dolphin Project.
|
|
||||||
|
|
||||||
// This program is free software: you can redistribute it and/or modify
|
|
||||||
// it under the terms of the GNU General Public License as published by
|
|
||||||
// the Free Software Foundation, version 2.0.
|
|
||||||
|
|
||||||
// This program is distributed in the hope that it will be useful,
|
|
||||||
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
// GNU General Public License 2.0 for more details.
|
|
||||||
|
|
||||||
// A copy of the GPL 2.0 should have been included with the program.
|
|
||||||
// If not, see http://www.gnu.org/licenses/
|
|
||||||
|
|
||||||
// Official SVN repository and contact information can be found at
|
|
||||||
// http://code.google.com/p/dolphin-emu/
|
|
||||||
|
|
||||||
|
|
||||||
//__________________________________________________________________________________________________
|
//__________________________________________________________________________________________________
|
||||||
// Common wiimote plugin spec, unversioned
|
// Common wiimote plugin spec, unversioned
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue