mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 21:15:11 +00:00
SNES: pre-dev118 gain hotfix
This commit is contained in:
parent
0acca7458d
commit
3b28549885
1 changed files with 8 additions and 2 deletions
|
@ -1258,8 +1258,14 @@ DivDataErrors DivInstrument::readInsData(SafeReader& reader, short version) {
|
|||
// SNES
|
||||
if (version>=109) {
|
||||
snes.useEnv=reader.readC();
|
||||
snes.gainMode=(DivInstrumentSNES::GainMode)reader.readC();
|
||||
snes.gain=reader.readC();
|
||||
if (version<118) {
|
||||
// why why why
|
||||
reader.readC();
|
||||
reader.readC();
|
||||
} else {
|
||||
snes.gainMode=(DivInstrumentSNES::GainMode)reader.readC();
|
||||
snes.gain=reader.readC();
|
||||
}
|
||||
snes.a=reader.readC();
|
||||
snes.d=reader.readC();
|
||||
snes.s=reader.readC();
|
||||
|
|
Loading…
Reference in a new issue