PSP: flicker fix part 2
|Reported by:||bluddy||Owned by:||joostp|
Coming across the notorious PSP flicker again, I went back to check the display code.
What I found was that we were writing incorrectly to the screen. On the one hand, we were using the PSP's GU to render to the screen, allowing us a cheap way to scale the 640x480 or whatever graphics to the PSP screen size. On the other hand, we created the screen texture exactly at the place where the PSP's frame buffer is, which is a very fast method that is NOT compatible with using the GU.
I changed it so we now allocate our screen texture in main memory, and then send it to the GU. There is no discernible performance hit as far as I can tell.
I'm posting this so joost can test it on his end.
Ticket imported from: #2872626. Ticket imported from: patches/1200.