small memwatch bug fix

This commit is contained in:
adelikat 2008-05-28 16:28:51 +00:00
parent 64d43f70d3
commit 42942032e8
1 changed files with 2 additions and 1 deletions

View File

@ -537,7 +537,8 @@ void OpenMemwatchRecentFile(int memwRFileNumber)
char watchfcontents[2048];
FILE *fp=FCEUD_UTF8fopen(x,"r");
strcpy(memwLastFilename,x);
if (rnum != 0) //Change order of recent files if not most recent
MemwAddRecentFile(x);