summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
Diffstat (limited to 'libvo')
-rw-r--r--libvo/aspect.c2
-rw-r--r--libvo/mga_common.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/libvo/aspect.c b/libvo/aspect.c
index be5d8949c7..c66e1f2f6c 100644
--- a/libvo/aspect.c
+++ b/libvo/aspect.c
@@ -101,7 +101,7 @@ void panscan_init( void )
void panscan_calc( void )
{
- int vo_panscan_area = (vo_screenheight-vo_dheight);
+ int vo_panscan_area = (aspdat.scrh-vo_dheight);
vo_panscan_amount = vo_fs ? vo_panscan : 0;
vo_panscan_x = vo_panscan_area * vo_panscan_amount * aspdat.asp;
vo_panscan_y = vo_panscan_area * vo_panscan_amount;
diff --git a/libvo/mga_common.c b/libvo/mga_common.c
index 7da081f1be..16ddc390aa 100644
--- a/libvo/mga_common.c
+++ b/libvo/mga_common.c
@@ -4,6 +4,9 @@
#include "../postproc/rgb2rgb.h"
// mga_vid drawing functions
+#ifdef VO_XMGA
+static void set_window( int ps ); /* forward declaration to kill warnings */
+#endif
static int mga_next_frame=0;