mirror of
https://github.com/libretro/snes9x.git
synced 2024-11-23 08:19:46 +00:00
Get rid of some netplay warnings
This commit is contained in:
parent
962dd60a7c
commit
f00bb66d1d
@ -5,11 +5,6 @@
|
||||
\*****************************************************************************/
|
||||
|
||||
#ifdef NETPLAY_SUPPORT
|
||||
#ifdef _DEBUG
|
||||
#define NP_DEBUG 1
|
||||
#endif
|
||||
|
||||
#define NP_DEBUG 3 // FF-FIXME
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@ -555,7 +550,7 @@ bool8 S9xNPLoadROMDialog (const char *rom_name)
|
||||
printf ("CLIENT: Asking GUI thread to open ROM load dialog...\n");
|
||||
#endif
|
||||
|
||||
PostMessage (GUI.hWnd, WM_USER + 3, (uint32) rom_name, (uint32) rom_name);
|
||||
PostMessage (GUI.hWnd, WM_USER + 3, (WPARAM) rom_name, (LPARAM) rom_name);
|
||||
|
||||
#ifdef NP_DEBUG
|
||||
printf ("CLIENT: Waiting for reply from GUI thread...\n");
|
||||
|
@ -22,7 +22,9 @@
|
||||
* joypad data 4 * n
|
||||
*/
|
||||
|
||||
//#define NP_DEBUG 1
|
||||
#ifdef _DEBUG
|
||||
#define NP_DEBUG 1
|
||||
#endif
|
||||
|
||||
#define NP_VERSION 10
|
||||
#define NP_JOYPAD_HIST_SIZE 120
|
||||
|
@ -5,9 +5,6 @@
|
||||
\*****************************************************************************/
|
||||
|
||||
#ifdef NETPLAY_SUPPORT
|
||||
#ifdef _DEBUG
|
||||
#define NP_DEBUG 1
|
||||
#endif
|
||||
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
@ -478,7 +475,7 @@ void S9xNPProcessClient (int c)
|
||||
}
|
||||
else
|
||||
#ifdef __WIN32__
|
||||
S9xNPServerAddTask (NP_SERVER_SYNC_CLIENT, (void *) c);
|
||||
S9xNPServerAddTask (NP_SERVER_SYNC_CLIENT, (void *)(UINT_PTR) c);
|
||||
#else
|
||||
/* We need to resync all clients on new player connect as we don't have a 'reference game' */
|
||||
S9xNPServerAddTask (NP_SERVER_SYNC_ALL, (void *) (pint) c);
|
||||
|
Loading…
Reference in New Issue
Block a user