mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-29 16:03:01 +00:00
split VGM ops code
This commit is contained in:
parent
c39d3898b4
commit
650beebe99
5 changed files with 1159 additions and 1143 deletions
|
@ -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
|
@ -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
|
||||
|
||||
|
|
|
@ -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
1151
src/engine/vgmOps.cpp
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue