summaryrefslogtreecommitdiff
path: root/libpcsxcore/plugins.c
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-05-14 09:29:16 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2010-05-14 09:29:16 +0000
commitf8420db1aaeb3ed3f6122b379dcc2a1d72093ec4 (patch)
treeb31bcae3b4ac19e79a79887db277c6ccc81ead45 /libpcsxcore/plugins.c
parent830a16adf3b87c887ce43143b7f45fd8d970e608 (diff)
downloadpcsxr-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 'libpcsxcore/plugins.c')
-rw-r--r--libpcsxcore/plugins.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libpcsxcore/plugins.c b/libpcsxcore/plugins.c
index fba84ee1..b70d4220 100644
--- a/libpcsxcore/plugins.c
+++ b/libpcsxcore/plugins.c
@@ -614,9 +614,9 @@ int LoadPlugins() {
void ReleasePlugins() {
if (Config.UseNet) {
int ret = NET_close();
- if (ret < 0) Config.UseNet = 0;
- NetOpened = FALSE;
+ if (ret < 0) Config.UseNet = FALSE;
}
+ NetOpened = FALSE;
if (hCDRDriver != NULL || cdrIsoActive()) CDR_shutdown();
if (hGPUDriver != NULL) GPU_shutdown();