video corrections, disable read-ahead cache

This commit is contained in:
dborth 2008-12-30 07:31:00 +00:00
parent 2507689e55
commit 9ed631add7
2 changed files with 5 additions and 5 deletions

View File

@ -186,8 +186,8 @@ bool MountFAT(int method)
mounted = false; mounted = false;
else if(!fatMountSimple(name, disc)) else if(!fatMountSimple(name, disc))
mounted = false; mounted = false;
else //else
fatEnableReadAhead(name, 6, 64); // fatEnableReadAhead(name, 6, 64);
} }
isMounted[method] = mounted; isMounted[method] = mounted;

View File

@ -367,7 +367,7 @@ draw_square (Mtx v)
static void static void
StartGX () StartGX ()
{ {
Mtx p; Mtx44 p;
GXColor background = { 0, 0, 0, 0xff }; GXColor background = { 0, 0, 0, 0xff };
@ -564,7 +564,7 @@ void
ResetVideo_Emu () ResetVideo_Emu ()
{ {
GXRModeObj *rmode; GXRModeObj *rmode;
Mtx p; Mtx44 p;
// set VI modes // set VI modes
switch (vmode->viTVMode >> 2) switch (vmode->viTVMode >> 2)
@ -649,7 +649,7 @@ ResetVideo_Emu ()
void void
ResetVideo_Menu () ResetVideo_Menu ()
{ {
Mtx p; Mtx44 p;
VIDEO_Configure (vmode); VIDEO_Configure (vmode);
VIDEO_ClearFrameBuffer (vmode, xfb[whichfb], COLOR_BLACK); VIDEO_ClearFrameBuffer (vmode, xfb[whichfb], COLOR_BLACK);