forked from len0rd/rockbox
Fix test_mem for the archos plugin buffer size and for charcell.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26273 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
cb185d2860
commit
fead75812b
1 changed files with 6 additions and 0 deletions
|
@ -23,7 +23,11 @@
|
|||
|
||||
PLUGIN_HEADER
|
||||
|
||||
#if PLUGIN_BUFFER_SIZE <= 0x8000
|
||||
#define BUF_SIZE (1<<12) /* 16 KB = (1<<12)*sizeof(int) */
|
||||
#else
|
||||
#define BUF_SIZE (1<<13) /* 32 KB = (1<<13)*sizeof(int) */
|
||||
#endif
|
||||
|
||||
#define LOOP_REPEAT_DRAM 256
|
||||
static volatile int buf_dram[BUF_SIZE];
|
||||
|
@ -176,7 +180,9 @@ enum plugin_status plugin_start(const void* parameter)
|
|||
bool boost = false;
|
||||
int count = 0;
|
||||
|
||||
#ifdef HAVE_LCD_BITMAP
|
||||
rb->lcd_setfont(FONT_SYSFIXED);
|
||||
#endif
|
||||
|
||||
rb->screens[0]->clear_display();
|
||||
rb->screens[0]->putsf(0, 0, "patience, may take some seconds...");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue