Workaround for motogp setting a bogus framebuffer address.

This commit is contained in:
Henrik Rydgard committed 2012-11-19 23:53:38 +01:00
1 parent 8b67975a47
commit 4a49b8ee36
5 files changed
+34 -11

No files matched your search

+1 -1
View File
@@ -193,7 +193,7 @@ void DisplayDrawer_DrawFramebuffer(u8 *framebuf, int pixelFormat, int linesize)
DrawActiveTexture(480, 272);
}
void DrawActiveTexture(int w, int h, bool flip)
void DrawActiveTexture(float w, float h, bool flip)
{
float u2 = 1.0f;
float v1 = flip ? 1.0 : 0.0f;