修复bug

This commit is contained in:
ALIENJACK\alien 2024-11-08 11:38:32 +08:00
parent 814cc5ed5e
commit 5f74e2892e
3 changed files with 5 additions and 1 deletions

View File

@ -41,7 +41,7 @@ namespace AxibugEmuOnline.Client.Manager
public void BeginGame(RomFile romFile)
{
if (!m_emuCore.Equals(null)) return;
if (!m_emuCore.IsNull()) return;
switch (romFile.Platform)
{

View File

@ -15,6 +15,8 @@ namespace AxibugEmuOnline.Client
public override void OnExcute()
{
if (m_gameUI.IsOnline) return;
object state = m_gameUI.GetQuickState();
Stopwatch sw = Stopwatch.StartNew();
if (state != null)

View File

@ -19,6 +19,8 @@ namespace AxibugEmuOnline.Client
public override void OnExcute()
{
if (m_gameUI.IsOnline) return;
Stopwatch sw = Stopwatch.StartNew();
object state = m_gameUI.Core.GetState();
m_gameUI.SaveQuickState(state);