fix scaling issue - flush square memory!

This commit is contained in:
dborth 2008-11-06 22:00:58 +00:00
parent 68ec3c9515
commit 5555d34e44
2 changed files with 17 additions and 16 deletions

View File

@ -242,20 +242,20 @@ Credits ()
DrawText (-1, ypos += 18, (char*)"Official Site: http://code.google.com/p/vba-wii/"); DrawText (-1, ypos += 18, (char*)"Official Site: http://code.google.com/p/vba-wii/");
DrawText (100, ypos += 36, (char*)"Visual Boy Advance GX"); DrawText (90, ypos += 36, (char*)"Visual Boy Advance GX");
DrawText (375, ypos, (char*)"Tantric"); DrawText (380, ypos, (char*)"Tantric");
DrawText (100, ypos += 18, (char*)"GameCube/Wii Port Improvements"); DrawText (90, ypos += 18, (char*)"GameCube/Wii Port Improvements");
DrawText (375, ypos, (char*)"emukidid"); DrawText (380, ypos, (char*)"emukidid");
DrawText (100, ypos += 18, (char*)"Original GameCube Port"); DrawText (90, ypos += 18, (char*)"Original GameCube Port");
DrawText (375, ypos, (char*)"SoftDev"); DrawText (380, ypos, (char*)"SoftDev");
DrawText (100, ypos += 18, (char*)"Visual Boy Advance - M"); DrawText (90, ypos += 18, (char*)"Visual Boy Advance - M");
DrawText (375, ypos, (char*)"VBA-M Team"); DrawText (380, ypos, (char*)"VBA-M Team");
DrawText (100, ypos += 18, (char*)"Visual Boy Advance 1.7.2"); DrawText (90, ypos += 18, (char*)"Visual Boy Advance 1.7.2");
DrawText (375, ypos, (char*)"Forgotten"); DrawText (380, ypos, (char*)"Forgotten");
DrawText (100, ypos += 18, (char*)"libogc"); DrawText (90, ypos += 18, (char*)"libogc");
DrawText (375, ypos, (char*)"Shagkur & wintermute"); DrawText (380, ypos, (char*)"Shagkur & wintermute");
DrawText (100, ypos += 18, (char*)"Testing"); DrawText (90, ypos += 18, (char*)"Testing");
DrawText (375, ypos, (char*)"tehskeen users"); DrawText (380, ypos, (char*)"tehskeen users");
DrawText (-1, ypos += 36, (char*)"And many others who have contributed over the years!"); DrawText (-1, ypos += 36, (char*)"And many others who have contributed over the years!");

View File

@ -362,8 +362,8 @@ void UpdateScaling()
} }
else // GB else // GB
{ {
xscale = 266; xscale = 256;
yscale = 240; yscale = 230;
} }
if (GCSettings.widescreen) if (GCSettings.widescreen)
@ -378,6 +378,7 @@ void UpdateScaling()
square[3] = square[6] = xscale; square[3] = square[6] = xscale;
square[1] = square[4] = yscale; square[1] = square[4] = yscale;
square[7] = square[10] = -yscale; square[7] = square[10] = -yscale;
DCFlushRange (square, sizeof(square)); // update memory BEFORE the GPU accesses it!
draw_init (); draw_init ();