mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-29 06:34:17 +01:00
30535c6f5d
formatted the code to make it easier to read. no functional changes at all. i didn't put anything from the libwiigui folder or banner folder in the beautifier. my automated .bat seems to have done a good job. the only places i see it fucked up was on (GXColor){blablabla}. it treated the brackets in the color like all the other brackets and put the color on a new line and indented it. i think i fixed most of them. not sure if it messed up anywhere else. also not sure about how it handled different linebreaks. it looks fine on windows. if it looks messed up on linux, it can be reverted. the code still compiles and runs fine.
19 lines
692 B
C
19 lines
692 B
C
/****************************************************************************
|
|
* language update
|
|
* for USB Loader GX *giantpune*
|
|
***************************************************************************/
|
|
#ifndef ___UPDATELANGUAGE_H_
|
|
#define ___UPDATELANGUAGE_H_
|
|
|
|
#define MAXLANGUAGEFILES 30
|
|
|
|
//! Checks the language path for files ending in .lang and updates them (up to MAXLANGUAGEFILES)
|
|
//! This function expects that the network is already init before it is called
|
|
|
|
//! returns the number of files successfully updated
|
|
//! returns -2 if it can't find any .lang files in the path
|
|
//! return -1 if there is no network connection
|
|
int updateLanguageFiles();
|
|
|
|
#endif
|