mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-10-01 05:55:15 +00:00
Mockingboard is now default enabled on Android ... temporarily force this upgrade in version 16
This commit is contained in:
parent
1912428ed3
commit
c5298eb6f0
@ -138,6 +138,11 @@ public class Apple2Activity extends Activity {
|
||||
// allow for primitive migrations as needed
|
||||
Apple2Preferences.EMULATOR_VERSION.saveInt(this, BuildConfig.VERSION_CODE);
|
||||
Log.v(TAG, "Triggering migration to Apple2ix version : " + BuildConfig.VERSION_NAME);
|
||||
|
||||
// HACK FIXME TODO 2016/01/24 REMOVE AFTER version 16 ships ... force enables Mockingboard
|
||||
if (BuildConfig.VERSION_CODE == 16) {
|
||||
Apple2Preferences.MOCKINGBOARD_ENABLED.saveBoolean(this, true);
|
||||
}
|
||||
}
|
||||
|
||||
showSplashScreen(!firstTime);
|
||||
|
@ -205,6 +205,11 @@ public enum Apple2Preferences {
|
||||
activity.getPreferences(Context.MODE_PRIVATE).edit().putBoolean(toString(), false).apply();
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean booleanValue(Apple2Activity activity) {
|
||||
return activity.getPreferences(Context.MODE_PRIVATE).getBoolean(toString(), true);
|
||||
}
|
||||
},
|
||||
MOCKINGBOARD_VOLUME {
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user