forked from sin365/AxibugEmuOnline
Merge pull request '修复bug' (#42) from Alienjack/AxibugEmuOnline:master into master
Reviewed-on: sin365/AxibugEmuOnline#42
This commit is contained in:
commit
0323836ed2
@ -41,7 +41,7 @@ namespace AxibugEmuOnline.Client.Manager
|
|||||||
|
|
||||||
public void BeginGame(RomFile romFile)
|
public void BeginGame(RomFile romFile)
|
||||||
{
|
{
|
||||||
if (!m_emuCore.Equals(null)) return;
|
if (!m_emuCore.IsNull()) return;
|
||||||
|
|
||||||
switch (romFile.Platform)
|
switch (romFile.Platform)
|
||||||
{
|
{
|
||||||
|
@ -15,6 +15,8 @@ namespace AxibugEmuOnline.Client
|
|||||||
|
|
||||||
public override void OnExcute()
|
public override void OnExcute()
|
||||||
{
|
{
|
||||||
|
if (m_gameUI.IsOnline) return;
|
||||||
|
|
||||||
object state = m_gameUI.GetQuickState();
|
object state = m_gameUI.GetQuickState();
|
||||||
Stopwatch sw = Stopwatch.StartNew();
|
Stopwatch sw = Stopwatch.StartNew();
|
||||||
if (state != null)
|
if (state != null)
|
||||||
|
@ -19,6 +19,8 @@ namespace AxibugEmuOnline.Client
|
|||||||
|
|
||||||
public override void OnExcute()
|
public override void OnExcute()
|
||||||
{
|
{
|
||||||
|
if (m_gameUI.IsOnline) return;
|
||||||
|
|
||||||
Stopwatch sw = Stopwatch.StartNew();
|
Stopwatch sw = Stopwatch.StartNew();
|
||||||
object state = m_gameUI.Core.GetState();
|
object state = m_gameUI.Core.GetState();
|
||||||
m_gameUI.SaveQuickState(state);
|
m_gameUI.SaveQuickState(state);
|
||||||
|
Loading…
Reference in New Issue
Block a user