mirror of
https://github.com/tildearrow/furnace.git
synced 2025-01-05 15:11:19 +00:00
one more change to the format
This commit is contained in:
parent
b6da7871d4
commit
e9accf16db
2 changed files with 7 additions and 6 deletions
|
@ -1395,8 +1395,10 @@ bool DivEngine::loadFur(unsigned char* file, size_t len) {
|
||||||
// system panning
|
// system panning
|
||||||
for (int i=0; i<32; i++) ds.systemPan[i]=reader.readC();
|
for (int i=0; i<32; i++) ds.systemPan[i]=reader.readC();
|
||||||
|
|
||||||
// system props, skipped for now
|
// system props
|
||||||
for (int i=0; i<32; i++) reader.readI();
|
for (int i=0; i<32; i++) {
|
||||||
|
ds.systemFlags[i]=reader.readI();
|
||||||
|
}
|
||||||
|
|
||||||
ds.name=reader.readString();
|
ds.name=reader.readString();
|
||||||
ds.author=reader.readString();
|
ds.author=reader.readString();
|
||||||
|
@ -1744,8 +1746,7 @@ SafeWriter* DivEngine::saveFur() {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (int i=0; i<32; i++) {
|
for (int i=0; i<32; i++) {
|
||||||
// for now
|
w->writeI(song.systemFlags[i]);
|
||||||
w->writeI(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// song name
|
// song name
|
||||||
|
|
|
@ -11,8 +11,8 @@
|
||||||
#include <map>
|
#include <map>
|
||||||
#include <queue>
|
#include <queue>
|
||||||
|
|
||||||
#define DIV_VERSION "0.5pre4"
|
#define DIV_VERSION "0.5pre5"
|
||||||
#define DIV_ENGINE_VERSION 33
|
#define DIV_ENGINE_VERSION 34
|
||||||
|
|
||||||
enum DivStatusView {
|
enum DivStatusView {
|
||||||
DIV_STATUS_NOTHING=0,
|
DIV_STATUS_NOTHING=0,
|
||||||
|
|
Loading…
Reference in a new issue