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:
parent
ee6e0aa0e0
commit
48db9a1d0c
109 changed files with 532 additions and 377 deletions
|
|
@ -767,12 +767,12 @@ void DivPlatformSNES::renderSamples() {
|
|||
memcpy(sampleMem,copyOfSampleMem,65536);
|
||||
}
|
||||
|
||||
void DivPlatformSNES::setFlags(unsigned int flags) {
|
||||
globalVolL=127-(flags&127);
|
||||
globalVolR=127-((flags>>8)&127);
|
||||
void DivPlatformSNES::setFlags(const DivConfig& flags) {
|
||||
globalVolL=127-flags.getInt("volScaleL",0);
|
||||
globalVolR=127-flags.getInt("volScaleR",0);
|
||||
}
|
||||
|
||||
int DivPlatformSNES::init(DivEngine* p, int channels, int sugRate, unsigned int flags) {
|
||||
int DivPlatformSNES::init(DivEngine* p, int channels, int sugRate, const DivConfig& flags) {
|
||||
parent=p;
|
||||
dumpWrites=false;
|
||||
skipRegisterWrites=false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue