Compare commits

..

2 Commits

Author SHA1 Message Date
0323836ed2 Merge pull request '修复bug' (#42) from Alienjack/AxibugEmuOnline:master into master
Reviewed-on: #42
2024-11-08 11:39:21 +08:00
ALIENJACK\alien
5f74e2892e 修复bug 2024-11-08 11:38:32 +08:00
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);