split VGM ops code

This commit is contained in:
tildearrow 2022-02-18 12:58:36 -05:00
parent c39d3898b4
commit 650beebe99
5 changed files with 1159 additions and 1143 deletions

View file

@ -275,6 +275,7 @@ src/engine/playback.cpp
src/engine/sample.cpp
src/engine/song.cpp
src/engine/wavetable.cpp
src/engine/vgmOps.cpp
src/engine/platform/abstract.cpp
src/engine/platform/genesis.cpp
src/engine/platform/genesisext.cpp

File diff suppressed because it is too large Load diff

View file

@ -30,6 +30,13 @@
#include <map>
#include <queue>
#define addWarning(x) \
if (warnings.empty()) { \
warnings+=x; \
} else { \
warnings+=(String("\n")+x); \
}
#define DIV_VERSION "0.5.7pre2"
#define DIV_ENGINE_VERSION 50

View file

@ -41,13 +41,6 @@ struct InflateBlock {
}
};
#define addWarning(x) \
if (warnings.empty()) { \
warnings+=x; \
} else { \
warnings+=(String("\n")+x); \
}
bool DivEngine::loadDMF(unsigned char* file, size_t len) {
SafeReader reader=SafeReader(file,len);
warnings="";

1151
src/engine/vgmOps.cpp Normal file

File diff suppressed because it is too large Load diff