diff --git a/vgasrc/vgatables.c b/vgasrc/vgatables.c
index 0587e65..66ad3fc 100644
--- a/vgasrc/vgatables.c
+++ b/vgasrc/vgatables.c
@@ -380,7 +380,10 @@ static u8 palette3[] VAR16 = {
  ****************************************************************/
 
 #define PAL(x) x, sizeof(x)
-#define VPARAM(x) &video_param_table[x]
+
+extern struct VideoParam_s lx_video_param_table[];
+#define VPARAM(x) &lx_video_param_table[x]
+//#define VPARAM(x) &video_param_table[x]
 
 static struct vgamode_s vga_modes[] VAR16 = {
     //mode vparam        model bits  sstart     pelm  dac

