view vidix/mga_crtc2_vid.c @ 33156:9ac31195a5e0

Use strtod instead of sscanf, it is both much faster and allows for easier error checking. Also do that error checking and print a message if what we received is not a proper number and ignore the message.
author reimar
date Sat, 09 Apr 2011 15:09:06 +0000
parents 1e215be6a749
children
line wrap: on
line source

#define CRTC2

#include "mga_vid.c"