-fixed cheats usage ("*&" instead of "*", learned sth new today)

This commit is contained in:
fix94.1 2012-11-03 23:46:21 +00:00
parent c08a0710ce
commit 484b8f3909
2 changed files with 2 additions and 2 deletions

View File

@ -2409,7 +2409,7 @@ void CMenu::_stopSounds(void)
m_gameSound.Stop(); m_gameSound.Stop();
} }
bool CMenu::_loadFile(u8 *buffer, u32 &size, const char *path, const char *file) bool CMenu::_loadFile(u8 * &buffer, u32 &size, const char *path, const char *file)
{ {
size = 0; size = 0;
FILE *fp = fopen(file == NULL ? path : fmt("%s/%s", path, file), "rb"); FILE *fp = fopen(file == NULL ? path : fmt("%s/%s", path, file), "rb");

View File

@ -972,7 +972,7 @@ public:
private: private:
bool m_use_wifi_gecko; bool m_use_wifi_gecko;
void _reload_wifi_gecko(); void _reload_wifi_gecko();
bool _loadFile(u8 *buffer, u32 &size, const char *path, const char *file); bool _loadFile(u8 * &buffer, u32 &size, const char *path, const char *file);
int _loadIOS(u8 ios, int userIOS, string id); int _loadIOS(u8 ios, int userIOS, string id);
void _launch(dir_discHdr *hdr); void _launch(dir_discHdr *hdr);
void _launchGame(dir_discHdr *hdr, bool dvd); void _launchGame(dir_discHdr *hdr, bool dvd);