-Fixed a number of warnings

This commit is contained in:
cyberwarriorx 2006-12-01 06:34:13 +00:00
parent d0960e5db7
commit 8054223d02
3 changed files with 6 additions and 0 deletions

View File

@ -71,6 +71,7 @@ int NDS_Init(void) {
MMU_writeWord(0, 0x000000C, 0xE1B02040); MMU_writeWord(0, 0x000000C, 0xE1B02040);
MMU_writeWord(0, 0x0000010, 0xE3B02020); MMU_writeWord(0, 0x0000010, 0xE3B02020);
// MMU_writeWord(0, 0x0000010, 0xE2100202); // MMU_writeWord(0, 0x0000010, 0xE2100202);
return 0;
} }
void NDS_DeInit(void) { void NDS_DeInit(void) {

View File

@ -608,6 +608,7 @@ unsigned int cflash_read(unsigned int address) {
s = cf_reg_lba1; s = cf_reg_lba1;
return s; return s;
} }
return 0;
} }

View File

@ -213,6 +213,8 @@ int savestate_load (const char *file_name) {
gzclose (file); gzclose (file);
return 1; return 1;
#else
return 0;
#endif #endif
} }
@ -326,6 +328,8 @@ int savestate_save (const char *file_name) {
gzclose (file); gzclose (file);
return 1; return 1;
#else
return 0;
#endif #endif
} }