Permalink
Browse files

Merge pull request #496 from fzurita/cheat_title_not_refreshing

Now refreshing cheats correctly.
  • Loading branch information...
xperia64 committed Oct 26, 2015
2 parents 256bd33 + 01a1771 commit 8e9f2898a0135445bb77b8182d5b2bbf4d16509b
Showing with 2 additions and 3 deletions.
  1. +2 −3 src/paulscode/android/mupen64plusae/cheat/CheatEditorActivity.java
@@ -28,7 +28,6 @@
import org.mupen64plusae.v3.alpha.R;
import paulscode.android.mupen64plusae.ActivityHelper;
import paulscode.android.mupen64plusae.ScanRomsActivity;
import paulscode.android.mupen64plusae.cheat.CheatUtils.Cheat;
import paulscode.android.mupen64plusae.compat.AppCompatListActivity;
import paulscode.android.mupen64plusae.dialog.Prompt;
@@ -172,6 +171,8 @@ private void save( String crc )
CheatFile mupencheat_txt = new CheatFile( mAppData.mupencheat_txt, true );
CheatUtils.save( crc, usrcheat_txt, userCheats, mRomHeaderName, mRomCountryCode, this, false );
CheatUtils.save( crc, mupencheat_txt, combinedCheats, mRomHeaderName, mRomCountryCode, this, true );
setResult(RESULT_OK, null);
}
private boolean isHexNumber( String num )
@@ -239,8 +240,6 @@ public void onClick( View v )
case R.id.imgBtnChtSave:
save( mRomCrc );
setResult(RESULT_OK, null);
CheatEditorActivity.this.finish();
break;

0 comments on commit 8e9f289

Please sign in to comment.