-
Notifications
You must be signed in to change notification settings - Fork 293
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
There are two versions of DUMB that Allegro should support as of September 2017: DUMB 0.9.3 from Sourceforge, and DUMB 1.0.0 by kode54 on github. kode54's fork is endorsed by the DUMB homepage. These changes to modaudio.c should make A5 work with both DUMB versions. 1.0.0 requires two more fields for a complete DUMBFILE_SYSTEM, see DUMB's include/dumb.h for the definition. A debugging version of DUMB 1.0.0 will fail asserts if we don't provide them. Some functions have a different interface and we therefore call them differently from A5. I differentiate by testing DUMB_MAJOR_VERSION as defined in dumb.h. The DUMB version tagged in git as 1.0 reports 0.9.3 when my code asks for its header constants (DUMB_MAJOR_VERSION == 0). We should wait for the next tagged 1.y.z, or find a workaround in the Allegro build system.
- Loading branch information
Showing
1 changed file
with
100 additions
and
46 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters