blackirish856 / desmumewii

Automatically exported from code.google.com/p/desmumewii
GNU General Public License v3.0
0 stars 0 forks source link

GPU Bug #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
In one of my rev's I added a hack in the GPU code. (basically so we'd see
the screen)

in ::: GUP.cpp, void GPU_setVideoProp(GPU * gpu, u32 p)
....
gpu->dispMode = 2; // NOT sure if this is an option or what ... Setting it
makes the screen WORK :)))) scanff

What this is actually doing is using the frame buffer to grab pixels from.
 So you're only seeing the main screen and not the sub screen.  I've
checked over all the code and can't figure out what's going on.  All I'm
seeing is a block of stretched pixels for both screens.  Almost like a
block of 16x16 pixels is being stretched to 256x192 pixels.

I'm looking into this but thought I'd log it in case anyone has any ideas??

Original issue reported on code.google.com by iamsca...@gmail.com on 28 Mar 2010 at 6:35

GoogleCodeExporter commented 8 years ago
Just wondering, have you tried setting it to 1, 3, or 4?

Original comment by castleva...@yahoo.com on 29 Mar 2010 at 1:09

GoogleCodeExporter commented 8 years ago
yes tried each of these modes :) 2 corresponds to the framebuffer.  It should 
be set
to the correct mode, not sure why it's not for the homebrew titles as it works 
fine
on Windows.  I also did a side-by-side diff of gpu.cpp against the windows one 
and
there's nothing obvious I can see so there must be something else going on here.

Original comment by iamsca...@gmail.com on 29 Mar 2010 at 4:59