diff options
author | notaz | 2010-12-28 17:43:34 +0200 |
---|---|---|
committer | notaz | 2010-12-28 17:43:34 +0200 |
commit | 190d491511bed7cc64dbbd755bbf438e90025f39 (patch) | |
tree | 8730d8aa0dc317b64b27d18ef0d7ca6724f70e70 /libpcsxcore | |
parent | 1fd1aceb4382827b39bda6fe6915e38a294534e6 (diff) | |
download | pcsx_rearmed-190d491511bed7cc64dbbd755bbf438e90025f39.tar.gz pcsx_rearmed-190d491511bed7cc64dbbd755bbf438e90025f39.tar.bz2 pcsx_rearmed-190d491511bed7cc64dbbd755bbf438e90025f39.zip |
bios: fix firstfile() return value
it should only return dir when finds a match,
bufile macro already does that.
Diffstat (limited to 'libpcsxcore')
-rw-r--r-- | libpcsxcore/psxbios.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/libpcsxcore/psxbios.c b/libpcsxcore/psxbios.c index 005e1bb..aa49b23 100644 --- a/libpcsxcore/psxbios.c +++ b/libpcsxcore/psxbios.c @@ -1869,12 +1869,8 @@ void psxBios_firstfile() { // 42 nfile = 1; if (!strncmp(Ra0, "bu00", 4)) { bufile(1); - v0 = _dir; - } - - if (!strncmp(Ra0, "bu10", 4)) { + } else if (!strncmp(Ra0, "bu10", 4)) { bufile(2); - v0 = _dir; } pc0 = ra; |