Set DSRINPUTLEVEL and CTSINPUTLEVEL to true for Armored Core

Without this, Armored Core will assume that a link cable is plugged in
and make the local multiplayer unavailable.
In the future, we should have proper link support but for now,
let's just do this instead to at least allow people to play it locally.

Many thanks to Albert Liu for the proper fix :
previously, we were just reporting 0xFFFFFF for SIO STAT.

Co-authored-by: Albert Liu <45282415+ggrtk@users.noreply.github.com>
This commit is contained in:
gameblabla 2021-10-24 09:58:04 +02:00
parent 96f4fdf8d8
commit 6a005f0a4e
No known key found for this signature in database
GPG Key ID: 55F5ECF22285E516
1 changed files with 2 additions and 0 deletions

View File

@ -114,6 +114,8 @@ void SIO::SoftReset()
{
m_SIO_CTRL.bits = 0;
m_SIO_STAT.bits = 0;
m_SIO_STAT.DSRINPUTLEVEL = true;
m_SIO_STAT.CTSINPUTLEVEL = true;
m_SIO_STAT.TXDONE = true;
m_SIO_STAT.TXRDY = true;
m_SIO_MODE.bits = 0;