aboutsummaryrefslogtreecommitdiff
path: root/source/nds
diff options
context:
space:
mode:
authorAlessandro Pelliccia2013-02-13 21:21:08 +0100
committerAlessandro Pelliccia2013-02-13 21:21:08 +0100
commit5e10564ce014d7d0251e42cc9ea7d6ec88fbd0e5 (patch)
tree0869c8cfc3ea511243f85817a3b15ad322332bd4 /source/nds
parente7dfd964452873cfd5c68b76d0588a0f64a03c5f (diff)
downloadsnes9x2005-5e10564ce014d7d0251e42cc9ea7d6ec88fbd0e5.tar.gz
snes9x2005-5e10564ce014d7d0251e42cc9ea7d6ec88fbd0e5.tar.bz2
snes9x2005-5e10564ce014d7d0251e42cc9ea7d6ec88fbd0e5.zip
Update source/nds/gui.c
Add Italian language
Diffstat (limited to 'source/nds')
-rw-r--r--source/nds/gui.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/source/nds/gui.c b/source/nds/gui.c
index 84d5bf6..c2f1021 100644
--- a/source/nds/gui.c
+++ b/source/nds/gui.c
@@ -51,7 +51,7 @@ char argv[2][MAX_PATH];
// If adding a language, make sure you update the size of the array in
// message.h too.
-char *lang[6] =
+char *lang[7] =
{
"English", // 0
"简体中文", // 1
@@ -59,9 +59,10 @@ char *lang[6] =
"Deutsch", // 3
"Nederlands", // 4
"Español", // 5
+ "Italiano" // 6
};
-char *language_options[] = { (char *) &lang[0], (char *) &lang[1], (char *) &lang[2], (char *) &lang[3], (char *) &lang[4], (char *) &lang[5] };
+char *language_options[] = { (char *) &lang[0], (char *) &lang[1], (char *) &lang[2], (char *) &lang[3], (char *) &lang[4], (char *) &lang[5], (char *) &lang[6] };
/******************************************************************************
* Macro definition
@@ -4145,6 +4146,10 @@ int load_language_msg(char *filename, u32 language)
strcpy(start, "STARTSPANISH");
strcpy(end, "ENDSPANISH");
break;
+ case ITALIAN:
+ strcpy(start, "STARTITALIAN");
+ strcpy(end, "ENDITALIAN");
+ break;
}
u32 cmplen = strlen(start);