diff options
author | gameblabla | 2019-07-18 02:23:24 +0200 |
---|---|---|
committer | gameblabla | 2019-07-18 02:23:24 +0200 |
commit | 002b2f7d98f8c543cd88cb453c88b09eb5e556ad (patch) | |
tree | a22e3258094209dfa92f2b66eedd8fcf7a312ea5 /libpcsxcore | |
parent | 26b964b587007caace43f0dda8db1ac4a8c97e3d (diff) | |
download | pcsx_rearmed-002b2f7d98f8c543cd88cb453c88b09eb5e556ad.tar.gz pcsx_rearmed-002b2f7d98f8c543cd88cb453c88b09eb5e556ad.tar.bz2 pcsx_rearmed-002b2f7d98f8c543cd88cb453c88b09eb5e556ad.zip |
psxbios: Stub for get_error
According to a user on PCSX-Reloaded codeplex (now dead), this fixed loading/saving
in Final Fantasy Tactics.
Diffstat (limited to 'libpcsxcore')
-rw-r--r-- | libpcsxcore/psxbios.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/libpcsxcore/psxbios.c b/libpcsxcore/psxbios.c index e9a13f9..df0550e 100644 --- a/libpcsxcore/psxbios.c +++ b/libpcsxcore/psxbios.c @@ -2417,6 +2417,13 @@ void psxBios__new_card() { // 0x50 pc0 = ra; } +/* According to a user, this allows Final Fantasy Tactics to save/load properly */ +void psxBios__get_error(void) // 55 +{ + v0 = 0; + pc0 = ra; +} + void psxBios_Krom2RawAdd() { // 0x51 int i = 0; @@ -2839,7 +2846,7 @@ void psxBiosInit() { //biosB0[0x52] = psxBios_sys_b0_52; //biosB0[0x53] = psxBios_sys_b0_53; //biosB0[0x54] = psxBios__get_errno; - //biosB0[0x55] = psxBios__get_error; + biosB0[0x55] = psxBios__get_error; biosB0[0x56] = psxBios_GetC0Table; biosB0[0x57] = psxBios_GetB0Table; biosB0[0x58] = psxBios__card_chan; |