Trial and error for integration to flycast emulator: https://github.com/flyinghead/flycast/pull/1810
Trial and error for integration to flycast emulator: flyinghead/flycast#1810