From a72499a12541fa0348e92f88662d1efe15b0ea47 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Sun, 13 Jan 2008 00:11:43 +0000 Subject: Greyscale library: Plugins can now put the management structure in IRAM for higher update speed. Use this in doom, mpegplayer, and zxbox. Made the api pointer part of the struct. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16066 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/mpegplayer/stream_mgr.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'apps/plugins/mpegplayer') diff --git a/apps/plugins/mpegplayer/stream_mgr.c b/apps/plugins/mpegplayer/stream_mgr.c index b164254dd7..53b5631879 100644 --- a/apps/plugins/mpegplayer/stream_mgr.c +++ b/apps/plugins/mpegplayer/stream_mgr.c @@ -23,6 +23,10 @@ #include "grey.h" #include "mpeg_settings.h" +#ifndef HAVE_LCD_COLOR +GREY_INFO_STRUCT_IRAM +#endif + static struct event_queue stream_mgr_queue NOCACHEBSS_ATTR; static struct queue_sender_list stream_mgr_queue_send NOCACHEBSS_ATTR; static uint32_t stream_mgr_thread_stack[DEFAULT_STACK_SIZE*2/sizeof(uint32_t)]; -- cgit v1.2.3