8 #include <iopcontrol.h>
13 #include <sbv_patches.h>
20 #include <gsToolkit.h>
23 #include <libpwroff.h>
24 #include <fileXio_rpc.h>
31 #include <sys/fcntl.h>
34 #define USBLD_VERSION "0.8"
36 #define IO_MENU_UPDATE_DEFFERED 2
38 void setErrorMessage(int strId
, int error
);
39 int loadConfig(int types
);
40 int saveConfig(int types
, int showUI
);
41 void applyConfig(int themeID
, int langID
);
42 void menuDeferredUpdate(void* data
);
43 void moduleUpdateMenu(int mode
, int themeChanged
);
51 #define IPCONFIG_MAX_LEN 64
58 char gPCShareName
[32];
64 // describes what is happening in the network startup thread (>0 means loading, <0 means error)...
66 // true if the ip config should be saved as well
69 /// Indicates the hdd module loading sequence
71 /// 0 = off, 1 = manual, 2 = auto
81 int gVMode
; // 0 - Auto, 1 - PAL, 2 - NTSC
82 int gVSync
; // 0 - False, 1 - True
84 // 0,1,2 scrolling speed
88 // Disable Debug Colors
95 int gCheckUSBFragmentation
;
100 int gRememberLastPlayed
;
104 unsigned char gDefaultBgColor
[3];
105 unsigned char gDefaultTextColor
[3];
106 unsigned char gDefaultSelTextColor
[3];
107 unsigned char gDefaultUITextColor
[3];
109 #define MENU_ITEM_HEIGHT 19