mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-26 05:04:16 +01:00
2adc6cc995
*Fixed bug mounting a wbfs partition which was formatted from an ext partition *Rewrote the parental control feature. Removed loading pin or settings from the Wii Settings. Parental control is now completely managed in the loader from the settings selected and the password set. *Saving password in config file is now encrypted *Added loop to wait for usb when reloading the cIOS before game start The parental control feature is filtering games like following when usb loader is locked: level 0 (everyone 0+) > shows only games with lvl 0 level 1 (childs 7+) > shows games with lvl 0, 1 level 2 (teens 12+) > shows games with lvl 0, 1, 2 level 3 (mature 16+) > shows games with lvl 0, 1, 2, 3 level 4 (adults only 18+) > shows all games (lvl 0, 1, 2, 3, 4) level 4 is default when creating new configs
24 lines
850 B
C
24 lines
850 B
C
#ifndef _XML_H_
|
|
#define _XML_H_
|
|
|
|
#include <mxml.h>
|
|
|
|
// open database, close database, load info for a game
|
|
bool OpenXMLDatabase(char* xmlfilepath, char* argdblang, bool argJPtoEN, bool openfile, bool loadtitles, bool keepopen);
|
|
void CloseXMLDatabase();
|
|
|
|
#define XML_ELEMMAX 15
|
|
|
|
bool OpenXMLFile(char* filename);
|
|
void LoadTitlesFromXML(char *langcode, bool forcejptoen);
|
|
void GetPublisherFromGameid(char *idtxt, char *dest, int destsize);
|
|
const char *ConvertLangTextToCode(char *langtext);
|
|
int ConvertRating(const char *ratingvalue, const char *fromrating, const char *torating);
|
|
char *MemInfo();
|
|
void GetTextFromNode(mxml_node_t *currentnode, mxml_node_t *topnode, const char *nodename, const char *attributename,
|
|
char *value, int descend, char *dest, int destsize);
|
|
char * get_nodetext(mxml_node_t *node, char *buffer, int buflen);
|
|
|
|
#endif
|
|
|