Patch for psputility_sysparam.h

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
Insert_witty_name
Posts: 376
Joined: Wed May 10, 2006 11:31 pm

Patch for psputility_sysparam.h

Post by Insert_witty_name »

A small bug fix and all remaining unknown languages added.

Code: Select all

--- psputility_sysparam.h	2007-07-02 15:39:07.890625000 +0100
+++ psputility_sysparam2.h	2007-07-03 08:23:06.359375000 +0100
@@ -84,15 +84,18 @@
 /**
  * Valid values for PSP_SYSTEMPARAM_ID_INT_LANGUAGE
  */
-#define PSP_SYSTEMPARAM_LANGUAGE_JAPANESE	0
-#define PSP_SYSTEMPARAM_LANGUAGE_ENGLISH	1
-#define PSP_SYSTEMPARAM_LANGUAGE_FRENCH		2
-#define PSP_SYSTEMPARAM_LANGUAGE_SPANISH	3
-#define PSP_SYSTEMPARAM_LANGUAGE_GERMAN		4
-#define PSP_SYSTEMPARAM_LANGUAGE_ITALIAN	5
-#define PSP_SYSTEMPARAM_LANGUAGE_DUTCH		6
-#define PSP_SYSTEMPARAM_LANGUAGE_PORTUGUESE	7
-#define PSP_SYSTEMPARAM_LANGUAGE_KOREAN		8
+#define PSP_SYSTEMPARAM_LANGUAGE_JAPANESE		0
+#define PSP_SYSTEMPARAM_LANGUAGE_ENGLISH		1
+#define PSP_SYSTEMPARAM_LANGUAGE_FRENCH			2
+#define PSP_SYSTEMPARAM_LANGUAGE_SPANISH		3
+#define PSP_SYSTEMPARAM_LANGUAGE_GERMAN			4
+#define PSP_SYSTEMPARAM_LANGUAGE_ITALIAN		5
+#define PSP_SYSTEMPARAM_LANGUAGE_DUTCH			6
+#define PSP_SYSTEMPARAM_LANGUAGE_PORTUGUESE		7
+#define PSP_SYSTEMPARAM_LANGUAGE_RUSSIAN		8
+#define PSP_SYSTEMPARAM_LANGUAGE_KOREAN			9
+#define PSP_SYSTEMPARAM_LANGUAGE_CHINESE_TRADITIONAL	10
+#define PSP_SYSTEMPARAM_LANGUAGE_CHINESE_SIMPLIFIED	11
 
 /**
  * Set Integer System Parameter
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

I've added this to pspsdk in the repository.
Post Reply