Permalink
Browse files

Merge pull request #508 from fzurita/fix_erronous_toast_in_game_restart

Fix erroneous toast when performing a game restart.
  • Loading branch information...
Gillou68310 committed Nov 3, 2015
2 parents 7df4bc5 + 42391b8 commit f3e08feb07b5ee7ef360e43c5613a61f98f2b8a0
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/paulscode/android/mupen64plusae/jni/CoreInterface.java
@@ -295,7 +295,6 @@ public void run()
// Auto-load state if desired
if( !sIsRestarting)
{
- Notifier.showToast( sActivity, R.string.toast_loadingSession );
addOnStateCallbackListener( new OnStateCallbackListener()
{
@Override
@@ -306,6 +305,7 @@ public void onStateCallback( int paramChanged, int newValue )
&& saveToLoad != null)
{
removeOnStateCallbackListener( this );
+ Notifier.showToast( sActivity, R.string.toast_loadingSession );
NativeExports.emuLoadFile( saveToLoad );
}
}

0 comments on commit f3e08fe

Please sign in to comment.