diff --git a/source/filelist.h b/source/filelist.h index c0fe41a..930ec62 100644 --- a/source/filelist.h +++ b/source/filelist.h @@ -31,6 +31,7 @@ #include "pt_br_lang.h" #include "ca_lang.h" #include "tr_lang.h" +#include "sv_lang.h" // Sounds #ifdef HW_RVL diff --git a/source/menu.cpp b/source/menu.cpp index 7d2363b..884f215 100644 --- a/source/menu.cpp +++ b/source/menu.cpp @@ -4614,6 +4614,7 @@ static int MenuSettingsMenu() case LANG_BRAZILIAN_PORTUGUESE: sprintf(options.value[5], "Brazilian Portuguese"); break; case LANG_CATALAN: sprintf(options.value[5], "Catalan"); break; case LANG_TURKISH: sprintf(options.value[5], "Turkish"); break; + case LANG_SWEDISH: sprintf(options.value[5], "Swedish"); break; } switch(GCSettings.PreviewImage) diff --git a/source/snes9xgx.h b/source/snes9xgx.h index 1dd3621..1d856e3 100644 --- a/source/snes9xgx.h +++ b/source/snes9xgx.h @@ -107,6 +107,7 @@ enum { LANG_BRAZILIAN_PORTUGUESE, LANG_CATALAN, LANG_TURKISH, + LANG_SWEDISH, LANG_LENGTH }; diff --git a/source/utils/gettext.cpp b/source/utils/gettext.cpp index 8d5f8b7..7dc598f 100644 --- a/source/utils/gettext.cpp +++ b/source/utils/gettext.cpp @@ -225,6 +225,7 @@ bool LoadLanguage() case LANG_BRAZILIAN_PORTUGUESE: file = (char *)pt_br_lang; eof = file + pt_br_lang_size; break; case LANG_CATALAN: file = (char *)ca_lang; eof = file + ca_lang_size; break; case LANG_TURKISH: file = (char *)tr_lang; eof = file + tr_lang_size; break; + case LANG_SWEDISH: file = (char *)sv_lang; eof = file + sv_lang_size; break; default: return false; }