From f8420db1aaeb3ed3f6122b379dcc2a1d72093ec4 Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Fri, 14 May 2010 09:29:16 +0000 Subject: 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 --- gui/Plugin.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'gui/Plugin.c') diff --git a/gui/Plugin.c b/gui/Plugin.c index e5c4cbe8..4f9c3a3f 100644 --- a/gui/Plugin.c +++ b/gui/Plugin.c @@ -332,13 +332,13 @@ int _OpenPlugins() { strcpy(Config.Mcd2, info.MCD2path); return -2; } else { - Config.UseNet = 0; + Config.UseNet = FALSE; } } else { 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; } } NetOpened = TRUE; -- cgit v1.2.3