Skip to content

Add BWSB General Digital Music (GDM) module loader. #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ add_library(modplug ${LIB_TYPE}
src/load_dmf.cpp
src/load_dsm.cpp
src/load_far.cpp
src/load_gdm.cpp
src/load_it.cpp
src/load_j2b.cpp
src/load_mdl.cpp
Expand Down
1 change: 1 addition & 0 deletions src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ libmodplug_la_SOURCES = tables.h \
load_j2b.cpp \
load_mt2.cpp \
load_psm.cpp \
load_gdm.cpp \
load_abc.cpp \
load_mid.cpp \
load_pat.cpp \
Expand Down
2 changes: 2 additions & 0 deletions src/libmodplug/sndfile.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ typedef const BYTE * LPCBYTE;
#define MOD_TYPE_J2B 0x800000
#define MOD_TYPE_ABC 0x1000000
#define MOD_TYPE_PAT 0x2000000
#define MOD_TYPE_GDM 0x40000000 // Fake type
#define MOD_TYPE_UMX 0x80000000 // Fake type
#define MAX_MODTYPE 24

Expand Down Expand Up @@ -652,6 +653,7 @@ class MODPLUG_EXPORT CSoundFile
BOOL ReadMT2(LPCBYTE lpStream, DWORD dwMemLength);
BOOL ReadPSM(LPCBYTE lpStream, DWORD dwMemLength);
BOOL ReadJ2B(LPCBYTE lpStream, DWORD dwMemLength);
BOOL ReadGDM(LPCBYTE lpStream, DWORD dwMemLength);
BOOL ReadUMX(LPCBYTE lpStream, DWORD dwMemLength);
BOOL ReadABC(LPCBYTE lpStream, DWORD dwMemLength);
BOOL TestABC(LPCBYTE lpStream, DWORD dwMemLength);
Expand Down
Loading