Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Native threads deadlock fix

By: a guest on Jan 20th, 2011  |  syntax: Diff  |  size: 0.60 KB  |  views: 86  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff --git a/firmware/target/hosted/sdl/lcd-sdl.c b/firmware/target/hosted/sdl/lcd-sdl.c
  2. index 5559369..db63623 100644
  3. --- a/firmware/target/hosted/sdl/lcd-sdl.c
  4. +++ b/firmware/target/hosted/sdl/lcd-sdl.c
  5. @@ -32,7 +32,8 @@ void sdl_update_rect(SDL_Surface *surface, int x_start, int y_start, int width,
  6.  {
  7.      SDL_Rect dest;
  8.  #if LCD_DEPTH >= 8 && (LCD_PIXELFORMAT == RGB565) \
  9. -    && !defined(LCD_STRIDEFORMAT) && !defined(HAVE_LCD_SPLIT)
  10. +    && !defined(LCD_STRIDEFORMAT) && !defined(HAVE_LCD_SPLIT) \
  11. +    && !defined(LCD_REMOTE_PIXELFORMAT)
  12.      SDL_Rect src;
  13.      (void)max_x;
  14.      (void)max_y;