Fix some warnings/errors.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15992 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sevakis 2008-01-03 17:30:50 +00:00
parent a5fc3f4df4
commit d9a895599e
2 changed files with 3 additions and 7 deletions

View file

@ -506,7 +506,8 @@ void vo_set_clip_rect(const struct vo_rect *rc)
#if NUM_CORES > 1 || !defined (HAVE_LCD_COLOR)
void vo_lock(void)
{
#ifndef HAVE_LCD_COLOR
/* TODO: evaluate synchronization with graylib in the sim */
#ifndef HAVE_LCD_COLOR && !defined(SIMULATOR)
set_irq_level(HIGHEST_IRQ_LEVEL);
#endif
video_lock();
@ -515,7 +516,7 @@ void vo_lock(void)
void vo_unlock(void)
{
video_unlock();
#ifndef HAVE_LCD_COLOR
#ifndef HAVE_LCD_COLOR && !defined(SIMULATOR)
set_irq_level(0);
#endif
}