mirror of
https://github.com/mauiaaron/apple2.git
synced 2024-09-29 23:54:53 +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
|
// allow for primitive migrations as needed
|
||||||
Apple2Preferences.EMULATOR_VERSION.saveInt(this, BuildConfig.VERSION_CODE);
|
Apple2Preferences.EMULATOR_VERSION.saveInt(this, BuildConfig.VERSION_CODE);
|
||||||
Log.v(TAG, "Triggering migration to Apple2ix version : " + BuildConfig.VERSION_NAME);
|
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);
|
showSplashScreen(!firstTime);
|
||||||
|
@ -205,6 +205,11 @@ public enum Apple2Preferences {
|
|||||||
activity.getPreferences(Context.MODE_PRIVATE).edit().putBoolean(toString(), false).apply();
|
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 {
|
MOCKINGBOARD_VOLUME {
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user