This commit is contained in:
dborth 2009-09-30 01:26:27 +00:00
parent 67b3140e95
commit 5c3e6cd349

View file

@ -213,7 +213,7 @@ SetupGX()
{ {
Mtx44 p; Mtx44 p;
int df = 1; int df = 1;
GX_SetViewport (0, 0, vmode->fbWidth, vmode->efbHeight, 0, 1); GX_SetViewport (0, 0, vmode->fbWidth, vmode->efbHeight, 0, 1);
GX_SetDispCopyYScale ((f32) vmode->xfbHeight / (f32) vmode->efbHeight); GX_SetDispCopyYScale ((f32) vmode->xfbHeight / (f32) vmode->efbHeight);
GX_SetScissor (0, 0, vmode->fbWidth, vmode->efbHeight); GX_SetScissor (0, 0, vmode->fbWidth, vmode->efbHeight);
@ -404,8 +404,8 @@ SDL_Surface *WII_SetVideoMode(_THIS, SDL_Surface *current,
this->hidden->height = current->h; this->hidden->height = current->h;
this->hidden->pitch = current->pitch; this->hidden->pitch = current->pitch;
currentwidth = currentsurface->w; currentwidth = current->w;
currentheight = currentsurface->h; currentheight = current->h;
currentbpp = bpp; currentbpp = bpp;
draw_init(); draw_init();
StartVideoThread(); StartVideoThread();