Default config for fresh install now has normal pixels instead of wide (duh), and 10 Undo pages instead of 4. Added a safety check for the value of Pixel_ratio setting in .ini

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@1365 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2010-02-22 00:17:57 +00:00
parent 5e38c68a6f
commit c26b09a3d3
2 changed files with 6 additions and 2 deletions

View File

@@ -877,6 +877,10 @@ int Load_INI(T_Config * conf)
if(Video_mode[0].Width < 4*320 || Video_mode[0].Height < 4*200)
Pixel_ratio = PIXEL_SIMPLE;
break;
default:
// Convert back unknown values to PIXEL_SIMPLE
Pixel_ratio = PIXEL_SIMPLE;
break;
}
}