From 3f59bdbf4c884e68807335d644e95ddd9da189a1 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Wed, 3 Apr 2002 21:45:25 +0000 Subject: [PATCH] Date: 03 Apr 2002 15:28:09 +0200 From: Alexander Pipelka Subject: SDL patches This one adds 2 new videomodes for the fbconsole. 720x576, 720x480 These are used by the NSC settopbox we are using for MPEG2 decoding. --- src/video/fbcon/SDL_fbvideo.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/video/fbcon/SDL_fbvideo.c b/src/video/fbcon/SDL_fbvideo.c index 41e846a0c..a743f820a 100644 --- a/src/video/fbcon/SDL_fbvideo.c +++ b/src/video/fbcon/SDL_fbvideo.c @@ -73,6 +73,8 @@ static const SDL_Rect checkres[] = { { 0, 0, 960, 720 }, /* 16 bpp: 0x18A, or 394 */ { 0, 0, 800, 600 }, /* 16 bpp: 0x114, or 276 */ { 0, 0, 768, 576 }, /* 16 bpp: 0x182, or 386 */ + { 0, 0, 720, 576 }, /* PAL */ + { 0, 0, 720, 480 }, /* NTSC */ { 0, 0, 640, 480 }, /* 16 bpp: 0x111, or 273 */ { 0, 0, 640, 400 }, /* 8 bpp: 0x100, or 256 */ { 0, 0, 512, 384 },