From 25ffd2e1463473910adc8cb24c5e9f0fbfe5ff69 Mon Sep 17 00:00:00 2001 From: Anton Romanov Date: Tue, 26 Sep 2006 08:36:54 +0000 Subject: do not update border when we don't see it. some more cleanup. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11055 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/zxbox/spect.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/plugins/zxbox/spect.c') diff --git a/apps/plugins/zxbox/spect.c b/apps/plugins/zxbox/spect.c index 8e9291f704..47715fa9fd 100644 --- a/apps/plugins/zxbox/spect.c +++ b/apps/plugins/zxbox/spect.c @@ -60,11 +60,15 @@ int SPNM(halfframe)(int firsttick, int numlines) /* Check if updating screen */ if(SPNM(updating)) { +#if LCD_WIDTH == 320 && ( LCD_HEIGHT == 240 || LCD_HEIGHT == 200 ) border = SPNM(lastborder); if((feport & 0x07) != border) { SPNM(border_update) = 2; SPNM(lastborder) = feport & 0x07; } +#else + SPNM(border_update) = 0; +#endif scrptr = update_screen_line(scrptr, SPNM(coli)[scline], DANM(next_scri), border, &cmark); -- cgit v1.2.3