[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] [PATCH] XaAES tempering with XBIOS resolution
Index: k_init.c
===================================================================
RCS file: /mint/freemint/xaaes/src.km/k_init.c,v
retrieving revision 1.140
diff -u -r1.140 k_init.c
--- k_init.c 24 Mar 2013 10:27:37 -0000 1.140
+++ k_init.c 30 Jan 2014 05:41:03 -0000
@@ -685,23 +685,10 @@
#ifndef ST_ONLY
else if (vdo == 0x00030000L)
{
- short nvmode;
-
-
- /* Ronald Andersson:
- * This should be the method for falcon!
- */
- nvmode = vcheckmode(cfg.videomode);
- if ((nvmode & (1 << 4)) && /* VGA_FALCON */
- (nvmode & 7) == 4) /* is 16bit */
- {
- nvmode &= ~(1 << 3); /* Set 320 pixels */
- }
-
- work_out[45] = nvmode;
+ work_out[45] = vcheckmode(cfg.videomode);;
mode = 5;
- BLOG((false, "Falcon video: videomode %d(%x),mode=%d,nvmode=%x", cfg.videomode, cfg.videomode, mode, nvmode));
-// display("Falcon video: mode %x, %x", cfg.videomode, nvmode);
+ BLOG((false, "Falcon video: videomode %d(%x),mode=%d,nvmode=%x", cfg.videomode, cfg.videomode, mode, work_out[45]));
+// display("Falcon video: mode %x, %x", cfg.videomode, work_out[45]);
}
else
#endif