usbloadergx/source/language/UpdateLanguage.h
giantpune d5ba67e305 made function to update language files.
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.
2009-07-29 17:18:04 +00:00

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