mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-27 03:54:17 +01:00
Rebranded default system settings
This commit is contained in:
parent
d25d820e64
commit
127244a1d0
@ -221,12 +221,12 @@ class SettingsActivity : AppCompatActivity(), SettingsActivityView {
|
||||
|
||||
// Set default values for system config file
|
||||
SystemSaveGame.apply {
|
||||
setUsername("CITRA")
|
||||
setBirthday(3, 25)
|
||||
setUsername("LIME3DS")
|
||||
setBirthday(3, 4)
|
||||
setSystemLanguage(1)
|
||||
setSoundOutputMode(1)
|
||||
setCountryCode(49)
|
||||
setPlayCoins(42)
|
||||
setPlayCoins(300)
|
||||
}
|
||||
|
||||
showToastMessage(getString(R.string.settings_reset), true)
|
||||
|
@ -209,14 +209,14 @@ class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView)
|
||||
override val section = null
|
||||
override val isRuntimeEditable = false
|
||||
override val valueAsString get() = string
|
||||
override val defaultValue = "CITRA"
|
||||
override val defaultValue = "LIME3DS"
|
||||
}
|
||||
add(
|
||||
StringInputSetting(
|
||||
usernameSetting,
|
||||
R.string.username,
|
||||
0,
|
||||
"CITRA",
|
||||
"LIME3DS",
|
||||
10
|
||||
)
|
||||
)
|
||||
@ -286,7 +286,7 @@ class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView)
|
||||
override val section = null
|
||||
override val isRuntimeEditable = false
|
||||
override val valueAsString = int.toString()
|
||||
override val defaultValue = 42
|
||||
override val defaultValue = 300
|
||||
}
|
||||
add(
|
||||
SliderSetting(
|
||||
@ -355,7 +355,7 @@ class SettingsFragmentPresenter(private val fragmentView: SettingsFragmentView)
|
||||
override val section = null
|
||||
override val isRuntimeEditable = false
|
||||
override val valueAsString get() = short.toString()
|
||||
override val defaultValue: Short = 25
|
||||
override val defaultValue: Short = 4
|
||||
}
|
||||
val birthdayMonth = SystemSaveGame.getBirthday()[0]
|
||||
val daysInMonth = BirthdayMonth.getMonthFromCode(birthdayMonth)?.days ?: 31
|
||||
|
@ -38,8 +38,8 @@ constexpr u8 DEFAULT_SOUND_OUTPUT_MODE = SOUND_STEREO;
|
||||
// constants.
|
||||
constexpr u64_le DEFAULT_CONSOLE_ID = 0;
|
||||
constexpr u32_le DEFAULT_CONSOLE_RANDOM_NUMBER = 0;
|
||||
constexpr UsernameBlock DEFAULT_USERNAME{{u"CITRA"}, 0, 0};
|
||||
constexpr BirthdayBlock DEFAULT_BIRTHDAY{3, 25}; // March 25th, 2014
|
||||
constexpr UsernameBlock DEFAULT_USERNAME{{u"LIME3DS"}, 0, 0};
|
||||
constexpr BirthdayBlock DEFAULT_BIRTHDAY{3, 4}; // March 4th, 2024
|
||||
constexpr u8 DEFAULT_LANGUAGE = LANGUAGE_EN;
|
||||
constexpr ConsoleCountryInfo DEFAULT_COUNTRY_INFO{
|
||||
{0, 0}, WASHINGTON_DC_STATE_ID, UNITED_STATES_COUNTRY_ID};
|
||||
|
Loading…
Reference in New Issue
Block a user