Fix aspect ratio in unbuffered mode

This commit is contained in:
Henrik Rydgard
2013-03-15 21:22:17 +01:00
parent 1f5b6b7f59
commit bef3ef7fac
4 changed files with 52 additions and 24 deletions
+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)
{