aboutsummaryrefslogtreecommitdiff
path: root/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'gui.c')
-rw-r--r--gui.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui.c b/gui.c
index c1376ba..c1381c8 100644
--- a/gui.c
+++ b/gui.c
@@ -104,7 +104,7 @@ drawscreen(SDL_Surface *screen, unsigned short *m)
{
int x, y;
- SDL_FillRect(screen, &scr, (m[MISC] >> 8) & 0x0f);
+ SDL_FillRect(screen, &scr, m[BORDER] & 0x0f);
for (x = 0; x < 32; x++)
for (y = 0; y < 12; y++)
@@ -190,7 +190,7 @@ setfont(unsigned short *m)
m[CHARS + 2 * i + 1] = atari_small[i][1];
}
- m[MISC] = 0x8000; /* set default fg/bg */
+ m[BORDER] = 0; /* set default bg to black */
}
void