From 6a005f0a4e26a2ee3004a4bbdef40782ce4aa4e3 Mon Sep 17 00:00:00 2001 From: gameblabla Date: Sun, 24 Oct 2021 09:58:04 +0200 Subject: [PATCH] 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> --- src/core/sio.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/sio.cpp b/src/core/sio.cpp index b3c7c79f0..cf7b0f35b 100644 --- a/src/core/sio.cpp +++ b/src/core/sio.cpp @@ -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;