diff configure @ 27375:80d93ca55238

Add video driver for Nintendo Wii/GameCube. Original patch by Jing Liu <fatersh-1@yahoo.com>, based on vo_fbdev.c and adapted to Nintendo's specific GPU. This driver handles dedicated ATI GPU, which can be found in: - Nintendo GameCube (ATI LSI Flipper @ 162 MHz) - Nintendo Wii (ATI Hollywood @ 243 MHz) Flipper and Hollywood chipsets are pretty similar, except from clock speed: - Embedded framebuffer is 2MB. - Texture cache is 1MB. - Vertex cache is 0.1 MB. - Framebuffer is YUY2, not RGB. - Best resolution is 480p (854x480)
author ben
date Sun, 03 Aug 2008 20:04:03 +0000
parents 952a4093aafb
children d58d06eafe83
line wrap: on
line diff
--- a/configure	Sun Aug 03 16:26:11 2008 +0000
+++ b/configure	Sun Aug 03 20:04:03 2008 +0000
@@ -382,6 +382,7 @@
   --enable-3dfx            enable obsolete /dev/3dfx video output [disable]
   --enable-tdfxfb          enable tdfxfb video output [disable]
   --enable-s3fb            enable s3fb (S3 ViRGE) video output [disable]
+  --enable-wii             enable Nintendo Wii/GameCube video output [disable]
   --enable-directfb        enable DirectFB video output [autodetect]
   --enable-zr              enable ZR360[56]7/ZR36060 video output [autodetect]
   --enable-bl		   enable Blinkenlights video output [disable]
@@ -649,6 +650,7 @@
 _termios=auto
 _3dfx=no
 _s3fb=no
+_wii=no
 _tdfxfb=no
 _tdfxvid=no
 _xvr100=auto
@@ -1108,6 +1110,8 @@
   --disable-3dfx)	_3dfx=no	;;
   --enable-s3fb)	_s3fb=yes	;;
   --disable-s3fb)	_s3fb=no	;;
+  --enable-wii) 	_wii=yes	;;
+  --disable-wii)	_wii=no		;;
   --enable-tdfxfb)	_tdfxfb=yes	;;
   --disable-tdfxfb)	_tdfxfb=no	;;
   --disable-tdfxvid)	_tdfxvid=no	;;
@@ -3762,6 +3766,17 @@
 fi
 echores "$_s3fb"
 
+echocheck "wii"
+if test "$_wii" = yes ; then
+  _def_wii='#define CONFIG_WII 1'
+  _vosrc="$_vosrc vo_wii.c"
+  _vomodules="wii $_vomodules"
+else
+  _def_wii='#undef CONFIG_WII'
+  _novomodules="wii $_novomodules"
+fi
+echores "$_wii"
+
 echocheck "tdfxvid"
 if test "$_tdfxvid" = yes ; then
   _def_tdfxvid='#define CONFIG_TDFX_VID 1'
@@ -8659,6 +8674,7 @@
 $_def_ggiwmh
 $_def_3dfx
 $_def_s3fb
+$_def_wii
 $_def_tdfxfb
 $_def_tdfxvid
 $_def_xvr100