From 7bf77c9df102c3376dd4d2b08844dad7368d170b 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. --HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%40331 --- 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 },