another fix for cross of venus, which should now display from boot-up. this is part of a nest of evil that has been opened up due to needing to support the rendering of 2d graphics even while display mode is `off` or `vram framebuffer` or `main ram from fifo` so we will need to keep our eyes peeled for games whose display modes are totally broken due to this. it should be easy to straighten out.

This commit is contained in:
zeromus 2009-03-23 18:05:49 +00:00
parent 1191fafd18
commit eedb20b350
1 changed files with 3 additions and 3 deletions

View File

@ -454,16 +454,16 @@ void GPU_setVideoProp(GPU * gpu, u32 p)
switch (gpu->dispMode)
{
case 0: // Display Off
return;
break;
case 1: // Display BG and OBJ layers
break;
case 2: // Display framebuffer
gpu->VRAMaddr = (u8 *)ARM9Mem.ARM9_LCD + (gpu->vramBlock * 0x20000);
return;
break;
case 3: // Display from Main RAM
// nothing to be done here
// see GPU_ligne who gets data from FIFO.
return;
break;
}
if(cnt->OBJ_Tile_mapping)