From 707b6429542c42d1d2d38a21a6a2e74865ff81fe Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Mon, 2 May 2016 17:16:55 +0200 Subject: [PATCH] use wider border in emu --- extmod/modtrezorui/modtrezorui-unix.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extmod/modtrezorui/modtrezorui-unix.h b/extmod/modtrezorui/modtrezorui-unix.h index 1b9b514e4..266e2bd7a 100644 --- a/extmod/modtrezorui/modtrezorui-unix.h +++ b/extmod/modtrezorui/modtrezorui-unix.h @@ -8,7 +8,7 @@ #include #include -#define DISPLAY_BORDER 8 +#define DISPLAY_BORDER 16 static SDL_Renderer *RENDERER = 0; static SDL_Surface *SCREEN = 0; @@ -91,7 +91,7 @@ static void display_init(void) SDL_DestroyWindow(win); SDL_Quit(); } - SDL_SetRenderDrawColor(RENDERER, 255, 0, 0, 255); + SDL_SetRenderDrawColor(RENDERER, 48, 48, 48, 255); SDL_RenderClear(RENDERER); SCREEN = SDL_CreateRGBSurface(0, RESX, RESY, 16, 0xF800, 0x07E0, 0x001F, 0x0000); TEXTURE = SDL_CreateTexture(RENDERER, SDL_PIXELFORMAT_RGB565, SDL_TEXTUREACCESS_STREAMING, RESX, RESY);