APU Noise: Fixed mode flag, it wasn't being set by writes to 400E
This commit is contained in:
parent
f3f7953392
commit
6aed632123
1 changed files with 1 additions and 0 deletions
|
@ -74,6 +74,7 @@ public:
|
|||
|
||||
case 2: //400E
|
||||
_period = (GetNesModel() == NesModel::NTSC ? _noisePeriodLookupTableNtsc : _noisePeriodLookupTablePal)[value & 0x0F];
|
||||
_modeFlag = (value & 0x80) == 0x80;
|
||||
break;
|
||||
|
||||
case 3: //400F
|
||||
|
|
Loading…
Add table
Reference in a new issue