On 27 July 2012 20:41, Jeffrey Lee <m...@phlamethrower.co.uk> wrote: > On Fri, 27 Jul 2012, Andrew Flegg wrote: > >> Is there something I've missed which'd allow video scaling (say 2x) >> for modes < 640x480. > > For the X11 port, the place to start looking is the > SDD_Name(Host_ChangeMode)() function, which is actually implemented in two > places - X/pseudo.c for pseudocolour displays and X/true.c for truecolour > displays.
Attached is the start of the patch - if the screen is smaller than 640px wide, the scale factors are increased (though with a limit due to the maximum horizontal scaling being 2x because of the fast render routines previously discussed). I've tested this in the desktop; BASIC and games like Cannon Fodder (rectangular pixels, I think); Lemmings; Stib; Hopper; Chuckie Egg and a few others. > However, it looks like I didn't fix the mouse pointer image code to take > into account the scale factors, so you'll be wanting to change that. This version of the patch doesn't contain that code (given games tend not to use the hardware mouse pointer), however I'll look into it. Cheers, Andrew -- Andrew Flegg -- mailto:and...@bleb.org | http://www.bleb.org/
small-scaling.patch
Description: Binary data
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
-- arcem-devel mailing list arcem-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/arcem-devel