summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/sdl
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2021-03-28 12:07:30 -0400
committerSolomon Peachy <pizza@shaftnet.org>2021-03-28 12:08:31 -0400
commit058a9ec9453fed05872d10c72913bbc7034d32d8 (patch)
tree38557eecf09fa2056783e00206ce91a8972b08c9 /firmware/target/hosted/sdl
parentafd8361d080e892829aacae196b9a8ced3a16894 (diff)
downloadrockbox-058a9ec9453fed05872d10c72913bbc7034d32d8.tar.gz
rockbox-058a9ec9453fed05872d10c72913bbc7034d32d8.tar.bz2
rockbox-058a9ec9453fed05872d10c72913bbc7034d32d8.zip
Add M3K native to the simulator
Change-Id: If3e877d2df189e44076631fd571cf6aa70ce6ca8
Diffstat (limited to 'firmware/target/hosted/sdl')
-rw-r--r--firmware/target/hosted/sdl/sim-ui-defines.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/target/hosted/sdl/sim-ui-defines.h b/firmware/target/hosted/sdl/sim-ui-defines.h
index 55ef96b984..c3ae7c0551 100644
--- a/firmware/target/hosted/sdl/sim-ui-defines.h
+++ b/firmware/target/hosted/sdl/sim-ui-defines.h
@@ -535,6 +535,14 @@
#define UI_LCD_POSX 45
#define UI_LCD_POSY 50
+#elif defined(FIIO_M3K) || defined(FIIO_M3K_LINUX)
+#define UI_TITLE "FiiO M3K"
+#define UI_WIDTH 287 /* width of GUI window */
+#define UI_HEIGHT 589 /* height of GUI window */
+#define UI_LCD_POSX 25
+#define UI_LCD_POSY 15
+
+
#elif defined(SIMULATOR)
#error no UI defines
#endif