mirror of
https://github.com/wiidev/usbloadergx.git
synced 2024-11-18 01:09:16 +01:00
500dc4020f
*WiiTDB now falls back to english if the locale language is not found for Titles/Synopsis *Some clean up and memory leak fixes in game info prompt and adjusted the info get to the new WiiTDB reading method. *Added a few new useful functions from WiiXplorer (DownloadToFileWithProgress, ShowError,...) *Disabled the console output after the GUI is started up. The info is only output to gecko in GUI mode now.
30 lines
422 B
C
30 lines
422 B
C
|
|
#ifndef _GECKO_H_
|
|
#define _GECKO_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C"
|
|
{
|
|
#endif
|
|
|
|
char ascii(char s);
|
|
|
|
#ifndef NO_DEBUG
|
|
//use this just like printf();
|
|
void gprintf(const char *str, ...);
|
|
bool InitGecko();
|
|
void hexdump(void *d, int len);
|
|
void USBGeckoOutput();
|
|
#else
|
|
#define gprintf(...)
|
|
#define InitGecko() false
|
|
#define hexdump( x, y )
|
|
#endif /* NO_DEBUG */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|