add big endian and long ptr options to cmd stream
the format also changes!
This commit is contained in:
parent
d9abd551a2
commit
e79721b785
9 changed files with 180 additions and 92 deletions
|
|
@ -87,6 +87,8 @@ class DivCSPlayer {
|
|||
unsigned char arpSpeed;
|
||||
unsigned int fileChans;
|
||||
unsigned int curTick, fastDelaysOff, fastCmdsOff, deltaCyclePos;
|
||||
bool longPointers;
|
||||
bool bigEndian;
|
||||
|
||||
short vibTable[64];
|
||||
public:
|
||||
|
|
@ -117,6 +119,21 @@ struct DivCSProgress {
|
|||
total(0) {}
|
||||
};
|
||||
|
||||
struct DivCSOptions {
|
||||
bool longPointers;
|
||||
bool bigEndian;
|
||||
bool noCmdCallOpt;
|
||||
bool noDelayCondense;
|
||||
bool noSubBlock;
|
||||
|
||||
DivCSOptions():
|
||||
longPointers(false),
|
||||
bigEndian(false),
|
||||
noCmdCallOpt(false),
|
||||
noDelayCondense(false),
|
||||
noSubBlock(false) {}
|
||||
};
|
||||
|
||||
// command stream utilities
|
||||
namespace DivCS {
|
||||
int getCmdLength(unsigned char ext);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue