From ad3d090e75420ad58cebeaaecdd9ef2eded2a8d8 Mon Sep 17 00:00:00 2001 From: "ALIENJACK\\alien" Date: Sat, 25 Jan 2025 10:00:52 +0800 Subject: [PATCH] no descript --- .../Script/AppMain/Emulator/NesEmulator/CoreSupporter.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/NesEmulator/CoreSupporter.cs b/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/NesEmulator/CoreSupporter.cs index e1c2aea1..46eecf8b 100644 --- a/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/NesEmulator/CoreSupporter.cs +++ b/AxibugEmuOnline.Client/Assets/Script/AppMain/Emulator/NesEmulator/CoreSupporter.cs @@ -120,7 +120,10 @@ namespace AxibugEmuOnline.Client m_sampledState = FromNet(replayData); } - else m_sampledState = default(ControllerState); + else + { + m_sampledState = default(ControllerState); + } var localState = m_controllerMapper.CreateState(); var rawData = ToNet(localState);