Skip to content

Commit

Permalink
quirks: Add SDL12COMPAT_COMPATIBILITY_AUDIOCVT=1 to "doukutsu.bin".
Browse files Browse the repository at this point in the history
doukustu.bin is the original executable of Cave Story's Linux port (1.01). Unlike the later v1.2 versions, the original version doesn't use audio correctly and thus requires this fix.

The French version notably ships with this 1.01 executable instead of the v1.2 ones.
  • Loading branch information
FoxMcCloud45 authored and slouken committed May 31, 2024
1 parent c4ffe41 commit bec4bd0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/SDL12_compat.c
Original file line number Diff line number Diff line change
Expand Up @@ -1262,6 +1262,10 @@ static QuirkEntryType quirks[] = {
{"dosbox_i686", "SDL12COMPAT_USE_KEYBOARD_LAYOUT", "0"},
{"dosbox_x86_64", "SDL12COMPAT_USE_KEYBOARD_LAYOUT", "0"},

/* Cave Story's original doukutsu.bin misuses audio. */
/* The later doukutsu_32bits and doukutsu_64bits work fine, however. */
{"doukutsu.bin", "SDL12COMPAT_COMPATIBILITY_AUDIOCVT", "1"},

/* Tucnak's 1.2 target wants to render and run its event loop from
background threads, which upsets OpenGL. Force software renderer and
x11. If you want Wayland, etc, use tuknak's existing SDL2 target. */
Expand Down

0 comments on commit bec4bd0

Please sign in to comment.