Fix:core:Made graphics.c code compatible with n800 again.