mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-11-15 20:19:23 +00:00
TR-core/unix: reuse emulator background from T1
This commit is contained in:
parent
f52d33e3c0
commit
1d44e82ecb
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Before Width: | Height: | Size: 19 KiB |
@ -261,14 +261,10 @@ void display_init(void) {
|
||||
#include "background_T.h"
|
||||
BACKGROUND = IMG_LoadTexture_RW(
|
||||
RENDERER, SDL_RWFromMem(background_T_jpg, background_T_jpg_len), 0);
|
||||
#elif defined TREZOR_MODEL_1
|
||||
#elif defined TREZOR_MODEL_1 || defined TREZOR_MODEL_R
|
||||
#include "background_1.h"
|
||||
BACKGROUND = IMG_LoadTexture_RW(
|
||||
RENDERER, SDL_RWFromMem(background_1_jpg, background_1_jpg_len), 0);
|
||||
#elif defined TREZOR_MODEL_R
|
||||
#include "background_R.h"
|
||||
BACKGROUND = IMG_LoadTexture_RW(
|
||||
RENDERER, SDL_RWFromMem(background_R_jpg, background_R_jpg_len), 0);
|
||||
#endif
|
||||
#endif
|
||||
if (BACKGROUND) {
|
||||
|
Loading…
Reference in New Issue
Block a user