diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-11 07:18:31 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-11 07:18:31 +0000 |
| commit | 210470d98706d36f0b8ad45ce20a2670a7a5f2fb (patch) | |
| tree | 5fd2f3e176509b671cc2bb429c431e1f1fd02e30 /gui | |
| parent | 56942b436db0a2f1d3df11f91822924497236c9b (diff) | |
| download | pcsxr-210470d98706d36f0b8ad45ce20a2670a7a5f2fb.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47808 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'gui')
| -rw-r--r-- | gui/Gtk2Gui.c | 8 | ||||
| -rw-r--r-- | gui/Plugin.c | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/gui/Gtk2Gui.c b/gui/Gtk2Gui.c index 535e42c0..0dff71e8 100644 --- a/gui/Gtk2Gui.c +++ b/gui/Gtk2Gui.c @@ -436,7 +436,7 @@ void OnFile_RunExe() { SetIsoFile(NULL); LoadPlugins(); - NetOpened = 0; + NetOpened = FALSE; if (OpenPlugins() == -1) { g_free(file); @@ -469,7 +469,7 @@ void OnFile_RunCd() { SetIsoFile(NULL); LoadPlugins(); - NetOpened = 0; + NetOpened = FALSE; if (OpenPlugins() == -1) { SysRunGui(); @@ -511,7 +511,7 @@ void OnFile_RunBios() { SetIsoFile(NULL); LoadPlugins(); - NetOpened = 0; + NetOpened = FALSE; if (OpenPlugins() == -1) { SysRunGui(); @@ -594,7 +594,7 @@ void OnFile_RunImage() { g_free(filename); LoadPlugins(); - NetOpened = 0; + NetOpened = FALSE; if (OpenPlugins() == -1) { SysRunGui(); diff --git a/gui/Plugin.c b/gui/Plugin.c index 98e057da..e5c4cbe8 100644 --- a/gui/Plugin.c +++ b/gui/Plugin.c @@ -288,7 +288,7 @@ int _OpenPlugins() { ret = PAD2_open(&gpuDisp); if (ret < 0) { SysMessage(_("Error opening Controller 2 plugin!")); return -1; } - if (Config.UseNet && NetOpened == 0) { + if (Config.UseNet && !NetOpened) { netInfo info; char path[MAXPATHLEN]; char dotdir[MAXPATHLEN]; @@ -341,7 +341,7 @@ int _OpenPlugins() { if (RecvPcsxInfo() == -1) Config.UseNet = 0; } } - NetOpened = 1; + NetOpened = TRUE; } else if (Config.UseNet) { NET_resume(); } |
