summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-06-20 09:06:28 +0000
committerSND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2009-06-20 09:06:28 +0000
commitbf555e061aaf87c519c402db51472a39a409841a (patch)
tree9653c8846232f081631bc91c9ec07573fb741cf5
parentd84867075fd9e3494ceca991affc4d0388ae1964 (diff)
downloadpcsxr-bf555e061aaf87c519c402db51472a39a409841a.tar.gz
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@23754 e17a0e51-4ae3-4d35-97c3-1a29b211df97
-rw-r--r--ChangeLog5
-rw-r--r--libpcsxcore/misc.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2c0f0be8..25f66ca0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+June 20, 2009 Wei Mingzhi <weimingzhi@gmail.com>
+
+ * libpcsxcore/misc.c: Fixed a bug which prevented files in a subdirectory
+ from being located correctly in GetCdromFile().
+
June 19, 2009 Wei Mingzhi <weimingzhi@gmail.com>
* gui/Gtk2Gui.c: Also allow extensions with capital letters in the open
diff --git a/libpcsxcore/misc.c b/libpcsxcore/misc.c
index 400f9e7a..989154c0 100644
--- a/libpcsxcore/misc.c
+++ b/libpcsxcore/misc.c
@@ -131,6 +131,7 @@ int GetCdromFile(u8 *mdir, u8 *time, s8 *filename) {
mmssdd(dir->extent, (char*)time);
READDIR(ddir);
i = 0;
+ mdir = ddir;
}
} else {
if (!strnicmp((char*)&dir->name[0], filename, strlen(filename))) {