Rename a variable that returns something ret from i.

This commit is contained in:
riccardom 2009-01-31 17:20:49 +00:00
parent f9d572f07a
commit 61a36046d4
1 changed files with 3 additions and 3 deletions

View File

@ -384,7 +384,7 @@ int NDS_LoadROM( const char *filename, int bmtype, u32 bmsize,
const char *cflash_disk_image_file) const char *cflash_disk_image_file)
#endif #endif
{ {
int i; int ret;
int type; int type;
ROMReader_struct *reader; ROMReader_struct *reader;
void *file; void *file;
@ -473,7 +473,7 @@ int NDS_LoadROM( const char *filename, int bmtype, u32 bmsize,
return -1; return -1;
} }
i = reader->Read(file, data, size); ret = reader->Read(file, data, size);
reader->DeInit(file); reader->DeInit(file);
//decrypt if necessary.. //decrypt if necessary..
@ -506,7 +506,7 @@ int NDS_LoadROM( const char *filename, int bmtype, u32 bmsize,
NDS_SetROMSerial(); NDS_SetROMSerial();
return i; return ret;
} }
void NDS_FreeROM(void) void NDS_FreeROM(void)