mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-19 17:59:16 +01:00
d5ba67e305
now, when doing a full update/full channel update, whatever .lang files are in the language path should get updated as well. changed thread priority (70->75) for GX thread since it wasn't originally created to be drawing as many different images at once as we are throwing at it. hopefully this will fix some of the black artifacts that are popping up on the screen during the gameinfo and homebrew info windows.
19 lines
693 B
C
19 lines
693 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
|