diff options
| author | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-02-24 21:38:24 +0000 |
|---|---|---|
| committer | SND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2013-02-24 21:38:24 +0000 |
| commit | 707443684fc0b2d268b3288ea52f4d33ef93fc05 (patch) | |
| tree | 0cf255aa9643df7979cdacd4226b3fc844d1308c /plugins | |
| parent | a0c49bddfad957d260bdb2c26b4cf21b86f63bdf (diff) | |
| download | pcsxr-707443684fc0b2d268b3288ea52f4d33ef93fc05.tar.gz | |
link cable plugin for Windows;
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@83125 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins')
| -rwxr-xr-x | plugins/bladesio1/connection.c | 4 | ||||
| -rwxr-xr-x | plugins/bladesio1/sio1.c | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/plugins/bladesio1/connection.c b/plugins/bladesio1/connection.c index 221d3d20..5105b00c 100755 --- a/plugins/bladesio1/connection.c +++ b/plugins/bladesio1/connection.c @@ -112,12 +112,12 @@ s32 connectionOpen() { void connectionClose() { if(clientsock >= 0) { - close(clientsock); + //close(clientsock); clientsock = -1; } if(serversock >= 0) { - close(serversock); + //close(serversock); serversock = -1; } } diff --git a/plugins/bladesio1/sio1.c b/plugins/bladesio1/sio1.c index 3fb91cca..4491f191 100755 --- a/plugins/bladesio1/sio1.c +++ b/plugins/bladesio1/sio1.c @@ -23,6 +23,8 @@ #include <stdint.h> #if defined _WINDOWS +#include "stdafx.h" +#include "cfg-winapi.h" #elif defined _MACOSX #else #include <sys/stat.h> @@ -579,6 +581,7 @@ void ExecCfg(char *arg) { void CALLBACK SIO1about() { #if defined _WINDOWS + DialogBox(hInst,MAKEINTRESOURCE(IDD_ABOUT), GetActiveWindow(),(DLGPROC)AboutDlgProc); #elif defined _MACOSX #else ExecCfg("about"); @@ -587,6 +590,7 @@ void CALLBACK SIO1about() { void CALLBACK SIO1configure() { #if defined _WINDOWS + DialogBox(hInst,MAKEINTRESOURCE(IDD_CFGDLG), GetActiveWindow(),(DLGPROC)Sio1DlgProc); #elif defined _MACOSX #else ExecCfg("configure"); |
