Fix aspect ratio in unbuffered mode

This commit is contained in:
Henrik Rydgard committed 2013-03-15 21:22:17 +01:00
1 parent 1f5b6b7f59
commit bef3ef7fac
4 files changed
+52 -24

No files matched your search

+2 -2
View File
@@ -64,8 +64,8 @@ static bool MaskedEqual(u32 addr1, u32 addr2) {
return (addr1 & 0x3FFFFFF) == (addr2 & 0x3FFFFFF);
}
static void CenterRect(float *x, float *y, float *w, float *h,
float origW, float origH, float frameW, float frameH)
void CenterRect(float *x, float *y, float *w, float *h,
float origW, float origH, float frameW, float frameH)
{
if (g_Config.bStretchToDisplay)
{