mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
continue working on display gamecube game name and description.
now we can select Config -> General -> Game List Language to choose the language of PAL games for displaying git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1979 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -72,6 +72,8 @@ void SConfig::SaveSettings()
|
||||
ini.Set("Interface", "Theme", m_LocalCoreStartupParameter.iTheme);
|
||||
ini.Set("Interface", "ShowWiimoteLeds", m_LocalCoreStartupParameter.bWiiLeds);
|
||||
ini.Set("Interface", "ShowWiimoteSpeakers", m_LocalCoreStartupParameter.bWiiSpeakers);
|
||||
// interface(UI) language
|
||||
ini.Set("Interface", "Language", m_InterfaceLanguage);
|
||||
|
||||
// Core
|
||||
ini.Set("Core", "HLEBios", m_LocalCoreStartupParameter.bHLEBios);
|
||||
@ -172,6 +174,8 @@ void SConfig::LoadSettings()
|
||||
ini.Get("Interface", "Theme", &m_LocalCoreStartupParameter.iTheme, 0);
|
||||
ini.Get("Interface", "ShowWiimoteLeds", &m_LocalCoreStartupParameter.bWiiLeds, false);
|
||||
ini.Get("Interface", "ShowWiimoteSpeakers", &m_LocalCoreStartupParameter.bWiiSpeakers, false);
|
||||
// interface(UI) language
|
||||
ini.Get("Interface", "Language", (int*)&m_InterfaceLanguage, 0);
|
||||
|
||||
// Core
|
||||
ini.Get("Core", "HLEBios", &m_LocalCoreStartupParameter.bHLEBios, true);
|
||||
|
@ -23,6 +23,19 @@
|
||||
|
||||
#include "Boot/Boot.h"
|
||||
|
||||
// HyperIris: not sure but a temporary implement
|
||||
enum INTERFACE_LANGUAGE
|
||||
{
|
||||
INTERFACE_ENGLISH = 0,
|
||||
INTERFACE_GERMAN,
|
||||
INTERFACE_FRENCH,
|
||||
INTERFACE_SPANISH,
|
||||
INTERFACE_ITALIAN,
|
||||
INTERFACE_DUTCH,
|
||||
|
||||
INTERFACE_OTHER,
|
||||
};
|
||||
|
||||
struct SConfig
|
||||
{
|
||||
// hard coded default plugins ...
|
||||
@ -39,6 +52,8 @@ struct SConfig
|
||||
|
||||
SCoreStartupParameter m_LocalCoreStartupParameter;
|
||||
|
||||
// interface language
|
||||
INTERFACE_LANGUAGE m_InterfaceLanguage;
|
||||
// save settings
|
||||
void SaveSettings();
|
||||
|
||||
|
Reference in New Issue
Block a user