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 int loadConfig(int types
);
37 int saveConfig(int types
, int showUI
);
38 void applyConfig(int themeID
, int langID
, int newVMode
, int newVSync
);
39 void moduleUpdateMenu(int mode
, int themeChanged
);
47 #define IPCONFIG_MAX_LEN 64
54 char gPCShareName
[32];
60 // describes what is happening in the network startup thread (>0 means loading, <0 means error)...
62 // true if the ip config should be saved as well
65 /// Indicates the hdd module loading sequence
67 /// 0 = off, 1 = manual, 2 = auto
77 int gVMode
; // 0 - Auto, 1 - PAL, 2 - NTSC
78 int gVSync
; // 0 - False, 1 - True
80 // 0,1,2 scrolling speed
84 // Disable Debug Colors
91 int gCheckUSBFragmentation
;
95 int gRememberLastPlayed
;
99 unsigned char gDefaultBgColor
[3];
100 unsigned char gDefaultTextColor
[3];
101 unsigned char gDefaultSelTextColor
[3];
102 unsigned char gDefaultUITextColor
[3];
104 #define MENU_ITEM_HEIGHT 19