Agptek Rocker: Make simulator compile and run

There are some things to fix left but at least it starts
and you can navigate.

Change-Id: I76084bfc50334deeb55f46a10e97b5d6639815ac
This commit is contained in:
Marcin Bukat 2018-03-04 20:50:08 +01:00
parent fbb6a2ff6d
commit d5889b3d94
2 changed files with 2 additions and 2 deletions

View file

@ -483,7 +483,7 @@ target/hosted/pcm-alsa.c
drivers/audio/nwzlinux-codec.c drivers/audio/nwzlinux-codec.c
target/hosted/alsa-controls.c target/hosted/alsa-controls.c
target/hosted/pcm-alsa.c target/hosted/pcm-alsa.c
#elif defined(HAVE_ROCKER_CODEC) #elif defined(HAVE_ROCKER_CODEC) && !defined(SIMULATOR)
drivers/audio/rocker_codec.c drivers/audio/rocker_codec.c
#elif defined(HAVE_SDL_AUDIO) #elif defined(HAVE_SDL_AUDIO)
drivers/audio/sdl.c drivers/audio/sdl.c

View file

@ -112,7 +112,7 @@ static unsigned long get_lcd_pixel(int x, int y)
#else #else
return *FBADDR(x, y); return *FBADDR(x, y);
#endif #endif
#elif LCD_DEPTH == 24 #elif LCD_DEPTH >= 24
return FB_UNPACK_SCALAR_LCD(*FBADDR(x, y)); return FB_UNPACK_SCALAR_LCD(*FBADDR(x, y));
#endif #endif
} }