mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
fix red once more
Change-Id: I6290cc6cca468c197656236d3dd31c3f72c53842
This commit is contained in:
parent
2b49724c3a
commit
8d3e3056f7
4 changed files with 8 additions and 6 deletions
|
@ -76,8 +76,10 @@ iriverify.c
|
||||||
|
|
||||||
#if defined(HAVE_LCD_COLOR) && \
|
#if defined(HAVE_LCD_COLOR) && \
|
||||||
(!defined(LCD_STRIDEFORMAT) || (LCD_STRIDEFORMAT != VERTICAL_STRIDE))
|
(!defined(LCD_STRIDEFORMAT) || (LCD_STRIDEFORMAT != VERTICAL_STRIDE))
|
||||||
|
#if (CONFIG_PLATFORM & PLATFORM_NATIVE) && (PLUGIN_BUFFER_SIZE > 0x14000)
|
||||||
duke3d.c
|
duke3d.c
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#if PLUGIN_BUFFER_SIZE <= 0x20000 && defined(HAVE_LCD_BITMAP)
|
#if PLUGIN_BUFFER_SIZE <= 0x20000 && defined(HAVE_LCD_BITMAP)
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,12 @@ clock
|
||||||
#if defined(HAVE_LCD_COLOR) && \
|
#if defined(HAVE_LCD_COLOR) && \
|
||||||
(!defined(LCD_STRIDEFORMAT) || (LCD_STRIDEFORMAT != VERTICAL_STRIDE))
|
(!defined(LCD_STRIDEFORMAT) || (LCD_STRIDEFORMAT != VERTICAL_STRIDE))
|
||||||
xworld
|
xworld
|
||||||
|
|
||||||
|
/* for duke, etc. */
|
||||||
|
#if (CONFIG_PLATFORM & PLATFORM_NATIVE) && (PLUGIN_BUFFER_SIZE > 0x14000)
|
||||||
sdl
|
sdl
|
||||||
|
#endif
|
||||||
|
|
||||||
puzzles
|
puzzles
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
@ -120,16 +120,11 @@ size_t _fwrite_(const void *ptr, size_t size, size_t nmemb, _FILE_ *stream)
|
||||||
|
|
||||||
return ret / size;
|
return ret / size;
|
||||||
}
|
}
|
||||||
#if 0
|
|
||||||
/* stderr, stdout (disabled) */
|
/* stderr, stdout (disabled) */
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
char buf[10];
|
|
||||||
rb->snprintf(buf, 10, "%%%ds", (int)(size*nmemb));
|
|
||||||
rb->splashf(HZ, buf, ptr);
|
|
||||||
return size * nmemb;
|
return size * nmemb;
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
int _fseek_(_FILE_ *stream, long offset, int whence)
|
int _fseek_(_FILE_ *stream, long offset, int whence)
|
||||||
|
|
|
@ -250,7 +250,7 @@ enum plugin_status plugin_start(const void *param)
|
||||||
/* we always use the audio buffer */
|
/* we always use the audio buffer */
|
||||||
size_t sz;
|
size_t sz;
|
||||||
audiobuf = rb->plugin_get_audio_buffer(&sz);
|
audiobuf = rb->plugin_get_audio_buffer(&sz);
|
||||||
#ifndef SIMULATOR
|
#if (CONFIG_PLATFORM & PLATFORM_NATIVE)
|
||||||
if ((uintptr_t)audiobuf < (uintptr_t)plugin_start_addr)
|
if ((uintptr_t)audiobuf < (uintptr_t)plugin_start_addr)
|
||||||
{
|
{
|
||||||
uint32_t tmp_size = (uintptr_t)plugin_start_addr - (uintptr_t)audiobuf;
|
uint32_t tmp_size = (uintptr_t)plugin_start_addr - (uintptr_t)audiobuf;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue