[RSP] Replace HINSTANCE/HWND/etc. with void* to match PJ64.
This commit is contained in:
parent
9ed9529cfe
commit
34ae28fdea
|
@ -64,7 +64,7 @@ typedef struct {
|
|||
} PLUGIN_INFO;
|
||||
|
||||
typedef struct {
|
||||
HINSTANCE hInst;
|
||||
void * hInst;
|
||||
int MemoryBswaped; /* If this is set to TRUE, then the memory has been pre
|
||||
bswap on a dword (32 bits) boundry */
|
||||
uint8_t * RDRAM;
|
||||
|
@ -102,19 +102,19 @@ typedef struct {
|
|||
typedef struct {
|
||||
/* Menu */
|
||||
/* Items should have an ID between 5001 and 5100 */
|
||||
HMENU hRSPMenu;
|
||||
void * hRSPMenu;
|
||||
void (*ProcessMenuItem) ( int ID );
|
||||
|
||||
/* Break Points */
|
||||
int UseBPoints;
|
||||
char BPPanelName[20];
|
||||
void (*Add_BPoint) ( void );
|
||||
void (*CreateBPPanel) ( HWND hDlg, RECT rcBox );
|
||||
void (*CreateBPPanel) (void * hDlg, RECT rcBox);
|
||||
void (*HideBPPanel) ( void );
|
||||
void (*PaintBPPanel) ( PAINTSTRUCT ps );
|
||||
void (*ShowBPPanel) ( void );
|
||||
void (*RefreshBpoints) ( HWND hList );
|
||||
void (*RemoveBpoint) ( HWND hList, int index );
|
||||
void (*RefreshBpoints)(void * hList);
|
||||
void (*RemoveBpoint) (void * hList, int index);
|
||||
void (*RemoveAllBpoint) ( void );
|
||||
|
||||
/* RSP command Window */
|
||||
|
@ -133,7 +133,7 @@ typedef struct {
|
|||
} DEBUG_INFO;
|
||||
|
||||
EXPORT void CloseDLL(void);
|
||||
EXPORT void DllAbout(HWND hParent);
|
||||
EXPORT void DllAbout(void * hParent);
|
||||
EXPORT DWORD DoRspCycles(DWORD Cycles);
|
||||
EXPORT void GetDllInfo(PLUGIN_INFO * PluginInfo);
|
||||
EXPORT void GetRspDebugInfo(RSPDEBUG_INFO * DebugInfo);
|
||||
|
@ -141,7 +141,7 @@ EXPORT void InitiateRSP(RSP_INFO Rsp_Info, DWORD * CycleCount);
|
|||
EXPORT void InitiateRSPDebugger(DEBUG_INFO Debug_Info);
|
||||
EXPORT void RomOpen(void);
|
||||
EXPORT void RomClosed(void);
|
||||
EXPORT void DllConfig(HWND hWnd);
|
||||
EXPORT void DllConfig(void * hWnd);
|
||||
EXPORT void EnableDebugging(BOOL Enabled);
|
||||
EXPORT void PluginLoaded(void);
|
||||
|
||||
|
@ -156,7 +156,7 @@ extern int DebuggingEnabled, Profiling, IndvidualBlock, ShowErrors, BreakOnStart
|
|||
extern DWORD CPUCore;
|
||||
extern DEBUG_INFO DebugInfo;
|
||||
extern RSP_INFO RSPInfo;
|
||||
extern HINSTANCE hinstDLL;
|
||||
extern void * hinstDLL;
|
||||
|
||||
#if defined(__cplusplus)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue