kanjitalk755 / macemu

Basilisk II and SheepShaver Macintosh emulators
349 stars 53 forks source link

Garbled colors in 256 color programs #171

Closed dpwalters closed 1 year ago

dpwalters commented 1 year ago

The system is 64bit x86_64 linux with SDL2 video. The millions of color programs work fine, however a program that requires 256 colors and it garbles the output for some reason. I don't really have a lot of time to investigate why. I did try the "software" SDL renderer.

kanjitalk755 commented 1 year ago

Didn't reproduce.

Debian 12.1 x86_64 SDL2 2.26.5 sdlrender software

dpwalters commented 1 year ago

I was able to solve the problem by using a newer libsdl2, (2.0.4). (If I find the time I may go and find out why it didn't work correctly with the older libsdl2)

kanjitalk755 commented 1 year ago

As described in the README, install SDL2 version 2.0.14 or higher. Otherwise, it may not work as expected.