chip flags rewrite, part 4 - DO NOT USE

the next part is to drop systemFlagsOld completely
and then to fix the GUI
This commit is contained in:
tildearrow 2022-09-29 20:13:40 -05:00
parent ee6e0aa0e0
commit 48db9a1d0c
109 changed files with 532 additions and 377 deletions

View file

@ -23,6 +23,7 @@
#include <stdlib.h>
#include <string.h>
#include <vector>
#include "config.h"
#define ONE_SEMITONE 2200
@ -434,9 +435,9 @@ class DivDispatch {
/**
* set the chip flags.
* @param flags the flags. see song.h for possible values.
* @param flags a DivConfig containing chip flags.
*/
virtual void setFlags(unsigned int flags);
virtual void setFlags(const DivConfig& flags);
/**
* set skip reg writes.
@ -522,10 +523,10 @@ class DivDispatch {
* @param parent the parent DivEngine.
* @param channels the number of channels to acquire.
* @param sugRate the suggested rate. this may change, so don't rely on it.
* @param flags the chip flags. see song.h for possible values.
* @param flags a DivConfig containing chip flags.
* @return the number of channels allocated.
*/
virtual int init(DivEngine* parent, int channels, int sugRate, unsigned int flags);
virtual int init(DivEngine* parent, int channels, int sugRate, const DivConfig& flags);
/**
* quit the DivDispatch.