oops, that Memwatch is actually fixed now.

This commit is contained in:
adelikat 2008-06-23 02:42:47 +00:00
parent 373a543044
commit 18c4e20c21
1 changed files with 2 additions and 2 deletions

View File

@ -537,9 +537,9 @@ void OpenMemwatchRecentFile(int memwRFileNumber)
{
int rnum=memwRFileNumber;
if (rnum > MEMW_MAX_NUMBER_OF_RECENT_FILES) return; //just in case
if (rnum == NULL) return; //If no recent files exist just return. Useful for Load last file on startup (or if something goes screwy)
char* x = memw_recent_files[rnum];
if (x == NULL) return; //If no recent files exist just return. Useful for Load last file on startup (or if something goes screwy)
char watchfcontents[2048];
FILE *fp=FCEUD_UTF8fopen(x,"r");