diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-14 09:29:16 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-14 09:29:16 +0000 |
| commit | f8420db1aaeb3ed3f6122b379dcc2a1d72093ec4 (patch) | |
| tree | b31bcae3b4ac19e79a79887db277c6ccc81ead45 /win32/gui/plugin.c | |
| parent | 830a16adf3b87c887ce43143b7f45fd8d970e608 (diff) | |
| download | pcsxr-f8420db1aaeb3ed3f6122b379dcc2a1d72093ec4.tar.gz | |
Fixed crash when launching another game if netplay plugin is selected but not used during the previously running game.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@48030 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'win32/gui/plugin.c')
| -rw-r--r-- | win32/gui/plugin.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/win32/gui/plugin.c b/win32/gui/plugin.c index 20a18db3..cab6d36b 100644 --- a/win32/gui/plugin.c +++ b/win32/gui/plugin.c @@ -254,16 +254,16 @@ int _OpenPlugins(HWND hWnd) { strcpy(Config.Mcd2, info.MCD2path);
return -2;
} else {
- Config.UseNet = 0;
+ Config.UseNet = FALSE;
}
} else {
HWND hW = CreateDialog(gApp.hInstance, MAKEINTRESOURCE(IDD_CONNECT), gApp.hWnd, ConnectDlgProc);
ShowWindow(hW, SW_SHOW);
if (NET_queryPlayer() == 1) {
- if (SendPcsxInfo() == -1) Config.UseNet = 0;
+ if (SendPcsxInfo() == -1) Config.UseNet = FALSE;
} else {
- if (RecvPcsxInfo() == -1) Config.UseNet = 0;
+ if (RecvPcsxInfo() == -1) Config.UseNet = FALSE;
}
DestroyWindow(hW);
|
