Overjoy, you are right, but that shouldn't happen, it also

worked before, strange, OH yeah and
-fixed two possible bugs
This commit is contained in:
fix94.1 2012-06-07 16:02:23 +00:00
parent 67ce3bffdd
commit 8381ad73ec
2 changed files with 4 additions and 8 deletions

View File

@ -41,12 +41,12 @@ int main(int argc, char **argv)
CVideo vid; CVideo vid;
vid.init(); vid.init();
geckoinit = InitGecko();
gprintf(" \nWelcome to %s (%s-r%s)!\nThis is the debug output.\n", APP_NAME, APP_VERSION, SVN_REV);
MEM2_init(49); //Thats everything we can get anyways MEM2_init(49); //Thats everything we can get anyways
vid.waitMessage(0.2f); vid.waitMessage(0.2f);
geckoinit = InitGecko();
gprintf(" \nWelcome to %s (%s-r%s)!\nThis is the debug output.\n", APP_NAME, APP_VERSION, SVN_REV);
char *gameid = NULL; char *gameid = NULL;
bool Emulator_boot = false; bool Emulator_boot = false;

View File

@ -40,11 +40,7 @@ void *MEM1_realloc(void *p, unsigned int s)
void MEM1_free(void *p) void MEM1_free(void *p)
{ {
if(p != NULL) __real_free(p);
{
free(p);
p = NULL;
}
} }
unsigned int MEM1_freesize() unsigned int MEM1_freesize()