mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-15 08:47:36 +00:00
add missing strings
This commit is contained in:
parent
613b1c1056
commit
986b0cbec9
@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<stringset>
|
||||
<!-- Main Page -->
|
||||
<string id="msg_unfinished" src="the config app does not save the config yet!"/>
|
||||
<string id="msg_lego_island_config" src="Lego Island Config"/>
|
||||
<string id="msg_page_game" src="Game" />
|
||||
<string id="msg_page_graphics" src="Graphics" />
|
||||
@ -9,7 +8,8 @@
|
||||
<string id="msg_page_extensions" src="Extensions" />
|
||||
|
||||
<!-- Game Page -->
|
||||
<string id="msg_data_path" src="Data Path" />
|
||||
<string id="msg_disk_path" src="Disk Path" />
|
||||
<string id="msg_cd_path" src="CD Path" />
|
||||
<string id="msg_save_path" src="Save Path" />
|
||||
<string id="msg_3d_sound" src="3D Sound" />
|
||||
<string id="msg_music" src="Music" />
|
||||
|
||||
@ -2,10 +2,9 @@
|
||||
|
||||
<application_settings version="1.0" bg_color="4.0, 21.0, 105.0, 255.0">
|
||||
<setting_list id="lego_island_config" title="msg_lego_island_config">
|
||||
<label id="unfinished_label" title="msg_unfinished" style="heading"/>
|
||||
|
||||
<setting_list id="page_game" title="msg_page_game" style="edit" icon="tex_spanner">
|
||||
<text_field id="data_path" title="msg_data_path" max_length="255" min_length="0" keyboard_type="alphabet" key="data_path" default_value=""/>
|
||||
<text_field id="disk_path" title="msg_disk_path" max_length="255" min_length="0" keyboard_type="alphabet" key="disk_path" default_value=""/>
|
||||
<text_field id="cd_path" title="msg_cd_path" max_length="255" min_length="0" keyboard_type="alphabet" key="cd_path" default_value=""/>
|
||||
<text_field id="save_path" title="msg_save_path" max_length="255" min_length="0" keyboard_type="alphabet" key="save_path" default_value=""/>
|
||||
<list id="transition_type" title="msg_transition_type" key="transition_type" default_value="0">
|
||||
<list_item id="transition_none" title="msg_transition_none" value="0" />
|
||||
|
||||
@ -17,7 +17,8 @@ paf::Plugin* g_configPlugin;
|
||||
sce::AppSettings* g_appSettings;
|
||||
sce::AppSettings::Interface* g_appSetIf;
|
||||
|
||||
void merge_dicts(dictionary* dst, dictionary* src) {
|
||||
void merge_dicts(dictionary* dst, dictionary* src)
|
||||
{
|
||||
for (int i = 0; i < src->n; i++) {
|
||||
dictionary_set(dst, src->key[i], src->val[i]);
|
||||
}
|
||||
@ -62,7 +63,8 @@ struct Config {
|
||||
|
||||
#define GetDictInt(x, name) x = iniparser_getint(this->dict, name, x)
|
||||
#define GetDictFloat(x, name) x = iniparser_getdouble(this->dict, name, x)
|
||||
#define GetDictString(x, name) { \
|
||||
#define GetDictString(x, name) \
|
||||
{ \
|
||||
const char* val = iniparser_getstring(this->dict, name, nullptr); \
|
||||
if (val != nullptr) { \
|
||||
x = val; \
|
||||
|
||||
@ -7,7 +7,7 @@ void VITA_SetupDefaultConfigOverrides(dictionary* p_dictionary)
|
||||
{
|
||||
SDL_Log("Overriding default config for VITA");
|
||||
|
||||
iniparser_set(p_dictionary, "isle:diskpath", "ux0:data/isledecomp/DATA/disk");
|
||||
iniparser_set(p_dictionary, "isle:cdpath", "ux0:data/isledecomp/");
|
||||
iniparser_set(p_dictionary, "isle:diskpath", "ux0:data/isledecomp/isle/DATA/disk");
|
||||
iniparser_set(p_dictionary, "isle:cdpath", "ux0:data/isledecomp/isle");
|
||||
iniparser_set(p_dictionary, "isle:MSAA", "4");
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user