deltabeard / Peanut-GB

A Game Boy (DMG) emulator single header library written in C99. Performance is prioritised over accuracy.
https://projects.deltabeard.com/peanutgb/
329 stars 41 forks source link

Use SDL_HINT_WINDOWS_DPI_AWARENESS only if it's available #94

Closed RobLoach closed 1 year ago

RobLoach commented 1 year ago

Discovered not all versions of SDL have SDL_HINT_WINDOWS_DPI_AWARENESS available. This change only sets the hint if it's available.

deltabeard commented 1 year ago

Thanks!

RobLoach commented 1 year ago

Thanks for the merge! I saw you've been doing some libretro stuff too... I used PeanutGB in pntr_peanutgb, which makes PeanutGB work in a libretro core :wink:

Been thinking about how to handle minigb_apu in it, since the framework targets libretro, SDL and raylib.

RobLoach commented 1 year ago

The emscripten build worked! Nicely done on PeanutGB. Such a nice set up. https://robloach.github.io/pntr_peanutgb/

deltabeard commented 1 year ago

Great work! 😁 Thanks for your interest in Peanut-GB. I slowed down work on this project, but I still want to write a good debugger for it so I can fix more compatibility issues (which there are a lot of). And then there's the CGB support. But I'm happy that people can use Peanut-GB in its current state.