summaryrefslogtreecommitdiffstats
path: root/apps/plugins/rockboy/sys_rockbox.c
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-18 12:46:53 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-18 12:46:53 +0000
commita01422c54be29cf721a442053fd5a70686c8841e (patch)
tree7d0203b0420fe60d99063af63fe00c307fb30369 /apps/plugins/rockboy/sys_rockbox.c
parentdcbd8d74c6f6af7e91c707c33f807f9d9708cf8c (diff)
downloadrockbox-a01422c54be29cf721a442053fd5a70686c8841e.tar.gz
rockbox-a01422c54be29cf721a442053fd5a70686c8841e.tar.bz2
rockbox-a01422c54be29cf721a442053fd5a70686c8841e.zip
plugins: changes for targets with small plugin buffer (Clipv1)
- only enable overlays for targets with very small plugin buffer (<= 0x10000 bytes, i.e. archos) - change the condition for rockboy to reflect exactly why it can be built or not - Some plugins need a large plugin buffer, only enable them if the buffer is big enough (sizes measured on Clipv1) - disable MIDI if we have 2MB (or less), we won't be able to load the instruments in the audio buffer - remove unusable lua overlay loader - sokoban code is bigger on clipv1 than on SH, assume it code is 20kB on anything but SH so it builds with buffer smaller than 192kB - reduce the Clipv1 plugin buffer size from 288kB to 96kb, disabling zxbox, chessbox, and fft zxbox and chessbox have overlays which run on archos, we just need to enable them on other targets. We'll also be able to run rockboy. fft won't run as it needs a large plugin buffer for greylib git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26141 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/rockboy/sys_rockbox.c')
-rw-r--r--apps/plugins/rockboy/sys_rockbox.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/rockboy/sys_rockbox.c b/apps/plugins/rockboy/sys_rockbox.c
index fb9a1ea644..bf4c513758 100644
--- a/apps/plugins/rockboy/sys_rockbox.c
+++ b/apps/plugins/rockboy/sys_rockbox.c
@@ -230,7 +230,7 @@ void vid_update(int scanline)
{
register int cnt=0;
int scanline_remapped;
-#if (LCD_HEIGHT == 64) && (LCD_DEPTH == 1) /* Archos */
+#if (LCD_HEIGHT == 64) && (LCD_DEPTH == 1) /* Archos, Clip, m200v4 */
int balance = 0;
if (fb.mode==1)
scanline-=16;
@@ -306,7 +306,7 @@ void vid_update(int scanline)
cnt ++;
}
rb->lcd_update_rect(0, (scanline/2) & ~7, LCD_WIDTH, 8);
-#elif (LCD_HEIGHT == 128) && (LCD_DEPTH == 2) /* iriver H1x0 */
+#elif (LCD_HEIGHT == 128) && (LCD_DEPTH == 2) /* iriver H1x0, Samsung YH920 */
if (fb.mode==1)
scanline-=16;
else if (fb.mode==2)