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:
parent
1191fafd18
commit
eedb20b350
|
@ -454,16 +454,16 @@ void GPU_setVideoProp(GPU * gpu, u32 p)
|
||||||
switch (gpu->dispMode)
|
switch (gpu->dispMode)
|
||||||
{
|
{
|
||||||
case 0: // Display Off
|
case 0: // Display Off
|
||||||
return;
|
break;
|
||||||
case 1: // Display BG and OBJ layers
|
case 1: // Display BG and OBJ layers
|
||||||
break;
|
break;
|
||||||
case 2: // Display framebuffer
|
case 2: // Display framebuffer
|
||||||
gpu->VRAMaddr = (u8 *)ARM9Mem.ARM9_LCD + (gpu->vramBlock * 0x20000);
|
gpu->VRAMaddr = (u8 *)ARM9Mem.ARM9_LCD + (gpu->vramBlock * 0x20000);
|
||||||
return;
|
break;
|
||||||
case 3: // Display from Main RAM
|
case 3: // Display from Main RAM
|
||||||
// nothing to be done here
|
// nothing to be done here
|
||||||
// see GPU_ligne who gets data from FIFO.
|
// see GPU_ligne who gets data from FIFO.
|
||||||
return;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
if(cnt->OBJ_Tile_mapping)
|
if(cnt->OBJ_Tile_mapping)
|
||||||
|
|
Loading…
Reference in New Issue