tomm / fab-agon-emulator

Agon Light, Agon Light 2, Agon Console8 Emulator for Linux, Windows, any system with libSDL
GNU General Public License v3.0
87 stars 19 forks source link

sdl::init and video subsystem on main thread #49

Closed S0urceror closed 7 months ago

S0urceror commented 7 months ago

After getting your last changes I noticed that on my Mac the emulator was crashing at startup:

image

I noticed this was due to SDL::initialisation is now happening on a separate UI thread. According to the SDL folks this is not recommended.

When reverting back to running on the main thread everything works again:

image image
tomm commented 7 months ago

Oops. Reverted that mistake. Thanks