diff --git a/apps/plugins/zxbox/spect.c b/apps/plugins/zxbox/spect.c index 47715fa9fd..879905de47 100644 --- a/apps/plugins/zxbox/spect.c +++ b/apps/plugins/zxbox/spect.c @@ -28,7 +28,7 @@ int SPNM(halfframe)(int firsttick, int numlines) { int tc, linesleft; - int feport, scline, border; + int feport, scline, border = 0; byte *scrptr; qbyte cmark = 0; diff --git a/apps/plugins/zxbox/spscr.c b/apps/plugins/zxbox/spscr.c index 6b85904d11..2693812bf6 100644 --- a/apps/plugins/zxbox/spscr.c +++ b/apps/plugins/zxbox/spscr.c @@ -74,7 +74,11 @@ byte *update_screen_line(byte *scrp, int coli, int scri, int border, qbyte *cmarkp) { qbyte *scrptr; +#if LCD_WIDTH == 320 && ( LCD_HEIGHT == 240 || LCD_HEIGHT == 200 ) qbyte brd_color; +#else + (void) border; +#endif int i; qbyte *tmptr, *mptr; qbyte mark, cmark;