summaryrefslogtreecommitdiffstats
path: root/firmware/target/hosted/sdl
diff options
context:
space:
mode:
authorAmaury Pouly <amaury.pouly@gmail.com>2017-09-16 23:29:50 +0200
committerAmaury Pouly <amaury.pouly@gmail.com>2017-09-17 00:03:45 +0200
commita0fca0c7bf3bd1c121667a1e66614646a6b96752 (patch)
treee5e53563357dd75a057531cad5f293f99c26fa57 /firmware/target/hosted/sdl
parentac57f96838b53e574477d13bf41bc54711a70c21 (diff)
downloadrockbox-a0fca0c7bf3bd1c121667a1e66614646a6b96752.tar.gz
rockbox-a0fca0c7bf3bd1c121667a1e66614646a6b96752.zip
Add simulator support for the A860
This requires a few changes unrelated to the A860 because configure unsets APPLICATION but the NWZ is an application! Change-Id: Id91aa23193383ac95886b281653da5286edd9caf
Diffstat (limited to 'firmware/target/hosted/sdl')
-rw-r--r--firmware/target/hosted/sdl/sim-ui-defines.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/firmware/target/hosted/sdl/sim-ui-defines.h b/firmware/target/hosted/sdl/sim-ui-defines.h
index 8f2a112cf9..d14f70bf99 100644
--- a/firmware/target/hosted/sdl/sim-ui-defines.h
+++ b/firmware/target/hosted/sdl/sim-ui-defines.h
@@ -508,6 +508,13 @@
#define UI_LCD_POSX 46
#define UI_LCD_POSY 40
+#elif defined(SONY_NWZA860)
+#define UI_TITLE "Sony NWZ-A860 Series"
+#define UI_WIDTH 390 /* width of GUI window */
+#define UI_HEIGHT 690/* height of GUI window */
+#define UI_LCD_POSX 78
+#define UI_LCD_POSY 92
+
#elif defined(SIMULATOR)
#error no UI defines
#endif