diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-12 00:34:12 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-05-12 00:34:12 +0000 |
| commit | 34b2030516e8fcab81affc1e11a9b2f1a61761e4 (patch) | |
| tree | 9537052ad291a604318ab9d262700c4716f2042d | |
| parent | 210470d98706d36f0b8ad45ce20a2670a7a5f2fb (diff) | |
| download | pcsxr-34b2030516e8fcab81affc1e11a9b2f1a61761e4.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47866 e17a0e51-4ae3-4d35-97c3-1a29b211df97
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | libpcsxcore/sio.c | 4 |
2 files changed, 9 insertions, 0 deletions
@@ -1,3 +1,8 @@ +May 12, 2010 Wei Mingzhi <whistler_wmz@users.sf.net> + + * libpcsxcore/sio.c: Erase CdromId and CdromLabel when net connection + closed. + May 11, 2010 Wei Mingzhi <whistler_wmz@users.sf.net> * gui/Gtk2Gui.c: Use TRUE/FALSE instead of 0/1 for NetOpened. diff --git a/libpcsxcore/sio.c b/libpcsxcore/sio.c index 6d61b002..4f4552ea 100644 --- a/libpcsxcore/sio.c +++ b/libpcsxcore/sio.c @@ -342,6 +342,10 @@ unsigned short sioReadBaud16() { void netError() { ClosePlugins(); SysMessage(_("Connection closed!\n")); + + CdromId[0] = '\0'; + CdromLabel[0] = '\0'; + SysRunGui(); } |
