summaryrefslogtreecommitdiff
path: root/apps/plugins/plugin.lds
diff options
context:
space:
mode:
authorTeruaki Kawashima <teru@rockbox.org>2010-11-21 13:47:56 +0000
committerTeruaki Kawashima <teru@rockbox.org>2010-11-21 13:47:56 +0000
commite5b1a7d4237a9006b6c49c9c1c13b292ca4ecf7c (patch)
treef0b9dd1cba0a4ee70afd8b6da64a05286f76c380 /apps/plugins/plugin.lds
parenteef21cb18ae4bc7cdf83830554a848e0c733a73d (diff)
downloadrockbox-e5b1a7d4237a9006b6c49c9c1c13b292ca4ecf7c.tar.gz
rockbox-e5b1a7d4237a9006b6c49c9c1c13b292ca4ecf7c.zip
FS#6321: Universal Image Viewer
This unifies jpeg viewer, png viewer, and bmp viewer to one plugin, image viewer, so that you can navigate through different image formats. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28626 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/plugin.lds')
-rw-r--r--apps/plugins/plugin.lds3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/plugins/plugin.lds b/apps/plugins/plugin.lds
index 2f11bd1235..f4bd64df35 100644
--- a/apps/plugins/plugin.lds
+++ b/apps/plugins/plugin.lds
@@ -181,6 +181,9 @@ OUTPUT_FORMAT(elf32-littlemips)
181#elif defined OVERLAY_OFFSET 181#elif defined OVERLAY_OFFSET
182#define THIS_LENGTH (DRAMSIZE - OVERLAY_OFFSET) 182#define THIS_LENGTH (DRAMSIZE - OVERLAY_OFFSET)
183#define THIS_ORIGIN (DRAMORIG + OVERLAY_OFFSET) 183#define THIS_ORIGIN (DRAMORIG + OVERLAY_OFFSET)
184#elif defined IMGVDECODER_OFFSET
185#define THIS_LENGTH (PLUGIN_LENGTH - IMGVDECODER_OFFSET)
186#define THIS_ORIGIN (PLUGIN_ORIGIN + IMGVDECODER_OFFSET)
184#else /* plugin */ 187#else /* plugin */
185#define THIS_LENGTH PLUGIN_LENGTH 188#define THIS_LENGTH PLUGIN_LENGTH
186#define THIS_ORIGIN PLUGIN_ORIGIN 189#define THIS_ORIGIN PLUGIN_ORIGIN