Permalink
Browse files

front: Fix bug in cheatfile merging on install.

  • Loading branch information...
xperia64 authored and littleguy77 committed Jan 14, 2015
1 parent 9eb5796 commit 7fc9140408510558e27cd57863a6f62d3a64aab3
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/paulscode/android/mupen64plusae/cheat/CheatUtils.java
@@ -85,7 +85,8 @@ public static void mergeCheatFiles( String defaultpath, String userpath, String
String name = cheat_section_u.goodName;
String crc = key.substring( 0, 17 );
String country = key.substring( 20 );
- cheat_v.add( new CheatSection( crc, name, country ) );
+ cheat_section_v = new CheatSection( crc, name, country );
+ cheat_v.add( cheat_section_v );
}
// Append the user cheats to the volatile cheatfile

0 comments on commit 7fc9140

Please sign in to comment.