Code: Select all
--- psputility_netconf.h	2007-07-21 03:00:52.281250000 +0100
+++ psputility_netconf.h	2007-07-21 03:16:07.156250000 +0100
@@ -26,16 +26,21 @@
 };
 
 enum pspUtilityNetconfStatus {
-	PSP_NETCONF_STATUS_INIT = 1,
+	PSP_NETCONF_STATUS_NONE,
+	PSP_NETCONF_STATUS_INIT,
 	PSP_NETCONF_STATUS_RUNNING,
-	PSP_NETCONF_STATUS_FINISHED
+	PSP_NETCONF_STATUS_FINISHED,
+	PSP_NETCONF_STATUS_SHUTDOWN
 };
 
 typedef struct _pspUtilityNetconfData {
 	u32 size;
 	int language;
 	int buttonSwap;
-	int unknown[4];
+	int graphicsThread; // graphics thread priority
+	int unknown; // some other thread priority?
+	int fontThread; // font (?) thread priority (ScePafThread)
+	int soundThread; // sound thread priority
 	int result;
 	int unknown2[4];
 	int action; //one of pspUtilityNetconfActions
Code: Select all
--- main.c	2007-07-21 02:58:53.125000000 +0100
+++ main.c	2007-07-21 03:05:07.968750000 +0100
@@ -193,10 +193,10 @@
 	data.size = sizeof(data);
 	data.language = PSP_SYSTEMPARAM_LANGUAGE_ENGLISH;
 	data.buttonSwap = PSP_UTILITY_ACCEPT_CROSS;
-	data.unknown[0] = 17;
-	data.unknown[1] = 19;
-	data.unknown[2] = 18;
-	data.unknown[3] = 16;
+	data.graphicsThread = 17;
+	data.unknown = 19;
+	data.fontThread = 18;
+	data.soundThread = 16;
 	data.action = PSP_NETCONF_ACTION_CONNECTAP;
 
 	sceUtilityNetconfInitStart(&data);
Would anyone be adverse to me creating a patch to wrap this up into just one shared enum for the states? Also a shared struct for the first 9 members of the data struct too.
As it is now, the naming convention differs slightly across all the dialogs.
