notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1fd1ace
)
bios: fix firstfile() return value
author
notaz
<notasas@gmail.com>
Tue, 28 Dec 2010 15:43:34 +0000
(17:43 +0200)
committer
notaz
<notasas@gmail.com>
Tue, 28 Dec 2010 15:43:34 +0000
(17:43 +0200)
it should only return dir when finds a match,
bufile macro already does that.
libpcsxcore/psxbios.c
patch
|
blob
|
blame
|
history
diff --git
a/libpcsxcore/psxbios.c
b/libpcsxcore/psxbios.c
index
005e1bb
..
aa49b23
100644
(file)
--- 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;