-Fixing code so it compiles under Visual C++ again. This is the last time I'm fixing these type of errors

This commit is contained in:
cyberwarriorx 2007-01-14 21:12:21 +00:00
parent 5ca8e431cc
commit 661652ba76
1 changed files with 13 additions and 7 deletions

View File

@ -342,13 +342,16 @@ void MMU_clearMem()
/* FIXME: VRAM Bank E,F,G,H,I missing */ /* FIXME: VRAM Bank E,F,G,H,I missing */
void MMU_VRAMWriteBackToLCD(u8 block) void MMU_VRAMWriteBackToLCD(u8 block)
{ {
u8 *destination;
u8 *source;
u32 size ;
u8 VRAMBankCnt;
#if 1 #if 1
return ; return ;
#endif #endif
u8 *destination = 0 ; destination = 0 ;
u8 *source = 0; source = 0;
u32 size ; VRAMBankCnt = MMU_read8(ARMCPU_ARM9,REG_VRAMCNTA+block) ;
u8 VRAMBankCnt = MMU_read8(ARMCPU_ARM9,REG_VRAMCNTA+block) ;
switch (block) switch (block)
{ {
case 0: // Bank A case 0: // Bank A
@ -454,12 +457,15 @@ void MMU_VRAMWriteBackToLCD(u8 block)
void MMU_VRAMReloadFromLCD(u8 block,u8 VRAMBankCnt) void MMU_VRAMReloadFromLCD(u8 block,u8 VRAMBankCnt)
{ {
u8 *destination;
u8 *source;
u32 size;
#if 1 #if 1
return ; return ;
#endif #endif
u8 *destination = 0; destination = 0;
u8 *source = 0; source = 0;
u32 size = 0; size = 0;
switch (block) switch (block)
{ {
case 0: // Bank A case 0: // Bank A