diff options
author | Eugene Sandulenko | 2005-04-07 21:13:01 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2005-04-07 21:13:01 +0000 |
commit | ba3077ed0e06f39dd27353f0e3a6c2c9ba05791d (patch) | |
tree | 359be431e5e03de71164719a47da1ac38fc6d305 /scumm/player_nes.h | |
parent | bac8f7a90c8f9fc5a92623a877c25062edc81607 (diff) | |
download | scummvm-rg350-ba3077ed0e06f39dd27353f0e3a6c2c9ba05791d.tar.gz scummvm-rg350-ba3077ed0e06f39dd27353f0e3a6c2c9ba05791d.tar.bz2 scummvm-rg350-ba3077ed0e06f39dd27353f0e3a6c2c9ba05791d.zip |
Patch from Quietust:
1. properly handle costume colors in dark rooms (verified against disasm)
2. optimize NES audio generation a little bit - instead of calling a function ~80 times to get one audio sample, it calls it once and just loops ~80 times internally
3. NES audio now obeys the volume control
4. in MM NES, o2_setObjPreposition is a no-op
5. o2_lights uses new-style light values (i.e. bitfields) in MM NES
6. o2_delay, use ssPaused identifier rather than a literal '1'
7. in MM NES, o5_saveLoadGame only explicitly checks for type '1' (load), defaulting to save for any other value
svn-id: r17443
Diffstat (limited to 'scumm/player_nes.h')
-rw-r--r-- | scumm/player_nes.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scumm/player_nes.h b/scumm/player_nes.h index c3132b6fdc..6674ff080a 100644 --- a/scumm/player_nes.h +++ b/scumm/player_nes.h @@ -73,6 +73,7 @@ private: int _sample_rate; int _samples_per_frame; int _current_sample; + int _maxvol; static const int MAXVOLUME = 0x7F; static const int NUMSLOTS = 3; |