RetroArch 1.8.1
Chris Gransden (337) 1207 posts |
There’s a test version of RetroArch 1.8.1 available from here. See the ReadMe file for installation instructions. The Red and Blue colours are swapped on most RISC OS hardware. It’s correct on Titanium and IGEPv5. Here’s the list of the 61 cores included, 2048 |
Michael Grunditz (467) 531 posts |
Downloading now! Is it SDL that has problems with colour swapping? |
Peter Howkins (211) 236 posts |
Hi Chris, as Retroarch is under the GPL, can you point me at the source code for your version please? |
Chris Gransden (337) 1207 posts |
The changes I made are here. RetroArch will eventually appear in PackMan. |
Chris Gransden (337) 1207 posts |
The SDL graphics driver in RetroArch assumes RGB. |
Rick Murray (539) 13840 posts |
The OMAP driver does on the fly conversions. Perhaps something like that could be patched in for the RISC OS BGR behaviour? |
Peter Howkins (211) 236 posts |
Ta duck |
Jeffrey Lee (213) 6048 posts |
Nice!
SDL does describe the RGB ordering (and recent versions of SDL 1.2 should get it correct for the newer RISC OS 5 screen modes), and RetroArch’s scaler does appear to support red-blue swapping, so it looks like it should be fixable just by making sure sdl_gfx_init configures the scaler correctly. Hopefully the comment in sdl_gfx_init about the ARGB8888 assumption simplifying the driver “a ton” is outdated! It’s a shame that SDL doesn’t provide a way for software to request specific pixel formats. |
David Feugey (2125) 2709 posts |
Did you managed to solve the colours problem? While framebuffer_swap=1 works, all the colours are wrong elsewhere :) Nota: snes9x (packman version) has also wrong colours, and the framebuffer trick has no effect. |