Compare commits

...

1 Commits

Author SHA1 Message Date
Rafael Kitover
f015f743b7 Add link General Purpose mode for FFTA.
Remove code that unconditionally resets RFU on Windows in General
Purpose mode, and instead remap two values necessary for Final Fantasy
Tactics Advance.

Thanks to @JackoboLeChocobo for this information.

Signed-off-by: Rafael Kitover <rkitover@gmail.com>
2020-11-27 11:16:54 +00:00

View File

@@ -708,10 +708,17 @@ void StartGPLink(uint16_t value)
break; break;
case GP: case GP:
#if (defined __WIN32__ || defined _WIN32) // General purpose mode, for circuit reset and Final Fantasy Tactics.
if (GetLinkMode() == LINK_RFU_IPC) // Thanks to @JackoboLeChocobo for this info.
rfu_state = RFU_INIT; switch (value) {
#endif case 0x8055:
value = 0x8052;
break;
case 0x8022:
value = 0x8025;
break;
}
UPDATE_REG(COMM_RCNT, value);
break; break;
} }
} }