use efbHeight instead of xfbHeight (issue 47)

This commit is contained in:
dborth 2012-08-12 18:43:06 +00:00
parent e69272eb2f
commit 537ea29c41

View file

@ -277,7 +277,7 @@ static int WII_VideoInit(_THIS, SDL_PixelFormat *vformat)
{ {
// Set up the modes. // Set up the modes.
mode_640.w = vmode->fbWidth; mode_640.w = vmode->fbWidth;
mode_640.h = vmode->xfbHeight; mode_640.h = vmode->efbHeight;
mode_320.w = mode_640.w / 2; mode_320.w = mode_640.w / 2;
mode_320.h = mode_640.h / 2; mode_320.h = mode_640.h / 2;