mirror of
https://github.com/Fledge68/WiiFlow_Lite.git
synced 2024-12-11 20:44:21 +01:00
706e18c6c0
progress, thanks alot to dimok and the whole usb loader gx team for help and the code for it! To zoom the banner to fullscreen click the back button, to zoom out the back button again, known bugs: -some games fuck up the textures of buttons (e.g. wii play motion) -if no wii game or channel was selected and you try to launch a game or exit wiiflow it will most likely codedump
27 lines
684 B
C
27 lines
684 B
C
#include <gccore.h>
|
|
|
|
const char* CONF_GetLanguageString(void)
|
|
{
|
|
static int confLang = 0xdead;
|
|
|
|
if(confLang == 0xdead)
|
|
confLang = CONF_GetLanguage();
|
|
|
|
const char*lang;
|
|
switch( confLang )
|
|
{
|
|
case CONF_LANG_JAPANESE: lang = "JPN"; break;
|
|
default:
|
|
case CONF_LANG_ENGLISH: lang = "ENG"; break;
|
|
case CONF_LANG_GERMAN: lang = "GER"; break;
|
|
case CONF_LANG_FRENCH: lang = "FRA"; break;
|
|
case CONF_LANG_SPANISH: lang = "SPA"; break;
|
|
case CONF_LANG_ITALIAN: lang = "ITA"; break;
|
|
case CONF_LANG_DUTCH: lang = "NED"; break;
|
|
case CONF_LANG_SIMP_CHINESE:
|
|
case CONF_LANG_TRAD_CHINESE: lang = "CHN"; break;
|
|
case CONF_LANG_KOREAN: lang = "KOR"; break;
|
|
}
|
|
return lang;
|
|
}
|