Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
translations translations
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Rockboy shows wrong colors on my fuze v2
« previous next »
  • Print
Pages: [1]

Author Topic: Rockboy shows wrong colors on my fuze v2  (Read 1776 times)

Offline jsr_278

  • Member
  • *
  • Posts: 12
Rockboy shows wrong colors on my fuze v2
« on: February 21, 2024, 02:52:00 PM »
A few weeks ago I bought and old sansa fuze v2 and I tried some gameboy color games and the colors displayed were wrong on this player. But they works fine on my other players (fuze v1, fuze+ and clip zip). I tried rockbox 3.13 on my fuze v2 and the games worked fine. So after trying some commits I found in which one the problem started:

https://git.rockbox.org/cgit/rockbox.git/commit/?h=v3.14&id=a1842c04f9cb73210d4cacde61a9e4b115050765

In this file
https://git.rockbox.org/cgit/rockbox.git/diff/apps/plugins/rockboy/lcd.c?h=v3.14&id=a1842c04f9cb73210d4cacde61a9e4b115050765
these lines were removed:

-#if LCD_PIXELFORMAT == RGB565
     c = r|g|b;
-#elif LCD_PIXELFORMAT == RGB565SWAPPED
-    c = swap16(r|g|b);
-#endif

After adding them back to the current build, games work fine again on my fuze v2.

But according to this file
https://git.rockbox.org/cgit/rockbox.git/tree/firmware/export/lcd.h?id=386b6d6bae020b9aafe5f572173a3bfb5d319f6a
there are other values for LCD_PIXELFORMAT like RGB888, XRGB8888, HORIZONTAL_PACKING, VERTICAL_INTERLEAVED,... so maybe the "if" should be written in a different way.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Rockboy shows wrong colors on my fuze v2
 

  • SMF 2.0.19 | SMF © 2021, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.036 seconds with 16 queries.