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>
This commit is contained in:
parent
dfa97d8a91
commit
f015f743b7
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue