Merge pull request #8708 from Ebola16/Wii
Android: Add Insert SD Card and update the description
This commit is contained in:
commit
19fc43f190
|
@ -378,13 +378,17 @@ public final class SettingsFragmentPresenter
|
|||
|
||||
private void addWiiSettings(ArrayList<SettingsItem> sl)
|
||||
{
|
||||
Setting wiiSDCard = null;
|
||||
Setting continuousScan = null;
|
||||
Setting wiimoteSpeaker = null;
|
||||
|
||||
SettingSection coreSection = mSettings.getSection(Settings.SECTION_INI_CORE);
|
||||
wiiSDCard = coreSection.getSetting(SettingsFile.KEY_WII_SD_CARD);
|
||||
continuousScan = coreSection.getSetting(SettingsFile.KEY_WIIMOTE_SCAN);
|
||||
wiimoteSpeaker = coreSection.getSetting(SettingsFile.KEY_WIIMOTE_SPEAKER);
|
||||
|
||||
sl.add(new CheckBoxSetting(SettingsFile.KEY_WII_SD_CARD, Settings.SECTION_INI_CORE,
|
||||
R.string.insert_sd_card, R.string.insert_sd_card_description, false, wiiSDCard));
|
||||
sl.add(new CheckBoxSetting(SettingsFile.KEY_WIIMOTE_SCAN, Settings.SECTION_INI_CORE,
|
||||
R.string.wiimote_scanning, R.string.wiimote_scanning_description, true,
|
||||
continuousScan));
|
||||
|
|
|
@ -273,6 +273,7 @@ public final class SettingsFile
|
|||
public static final String KEY_WIIBIND_TURNTABLE_CROSSFADE_LEFT = "TurntableCrossLeft_";
|
||||
public static final String KEY_WIIBIND_TURNTABLE_CROSSFADE_RIGHT = "TurntableCrossRight_";
|
||||
|
||||
public static final String KEY_WII_SD_CARD = "WiiSDCard";
|
||||
public static final String KEY_WIIMOTE_SCAN = "WiimoteContinuousScanning";
|
||||
public static final String KEY_WIIMOTE_SPEAKER = "WiimoteEnableSpeaker";
|
||||
|
||||
|
|
|
@ -138,6 +138,8 @@
|
|||
<string name="slot_a_device">GameCube Slot A Device</string>
|
||||
<string name="slot_b_device">GameCube Slot B Device</string>
|
||||
<string name="wii_submenu">Wii</string>
|
||||
<string name="insert_sd_card">Insert SD Card</string>
|
||||
<string name="insert_sd_card_description">Supports SD and SDHC. Default size is 128 MB.</string>
|
||||
<string name="wiimote_scanning">Wii Remote Continuous Scanning</string>
|
||||
<string name="wiimote_scanning_description">Leave this on if you are using a DolphinBar for real Wiimote support.</string>
|
||||
<string name="wiimote_speaker">Wii Remote Speaker</string>
|
||||
|
|
|
@ -62,7 +62,7 @@ void SDIOSlot0::OpenInternal()
|
|||
m_card.Open(filename, "r+b");
|
||||
if (!m_card)
|
||||
{
|
||||
WARN_LOG(IOS_SD, "Failed to open SD Card image, trying to create a new 128MB image...");
|
||||
WARN_LOG(IOS_SD, "Failed to open SD Card image, trying to create a new 128 MB image...");
|
||||
if (Common::SDCardCreate(128, filename))
|
||||
{
|
||||
INFO_LOG(IOS_SD, "Successfully created %s", filename.c_str());
|
||||
|
|
|
@ -130,7 +130,7 @@ void WiiPane::CreateMisc()
|
|||
"(576i) for PAL games.\nMay not work for all games."));
|
||||
m_screensaver_checkbox->setToolTip(tr("Dims the screen after five minutes of inactivity."));
|
||||
m_system_language_choice->setToolTip(tr("Sets the Wii system language."));
|
||||
m_sd_card_checkbox->setToolTip(tr("Saved to /Wii/sd.raw (default size is 128mb)."));
|
||||
m_sd_card_checkbox->setToolTip(tr("Supports SD and SDHC. Default size is 128 MB."));
|
||||
m_connect_keyboard_checkbox->setToolTip(tr("May cause slow down in Wii Menu and some games."));
|
||||
|
||||
misc_settings_group_layout->addWidget(m_pal60_mode_checkbox, 0, 0, 1, 1);
|
||||
|
|
Loading…
Reference in New Issue