diff options
author | Ted Green <tedgreen99@inbox.com> | 2016-06-10 07:03:29 -0600 |
---|---|---|
committer | Ted Green <tedgreen99@inbox.com> | 2016-06-10 07:03:45 -0600 |
commit | 4cbd7d87d35307a496da3c6f9c93a3f8dee23324 (patch) | |
tree | aaead55e973e3647cacd7ec906994de4fe30c503 /src/mame | |
parent | cee3cf61f89f098c0d9713d465d8bcc910b351fb (diff) |
dcs: Added comment to last change (nw)
Diffstat (limited to 'src/mame')
-rw-r--r-- | src/mame/audio/dcs.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mame/audio/dcs.cpp b/src/mame/audio/dcs.cpp index 36c99bc74da..75972ebf0cf 100644 --- a/src/mame/audio/dcs.cpp +++ b/src/mame/audio/dcs.cpp @@ -1949,6 +1949,8 @@ TIMER_DEVICE_CALLBACK_MEMBER( dcs_audio_device::dcs_irq ) /* copy the current data into the buffer */ { int count = m_size / (2*(m_incs ? m_incs : 1)); + // sf2049se was having overflow issues with fixed size of 0x400 buffer (m_size==0xb40, count=0x5a0). + //INT16 buffer[0x400]; std::unique_ptr<INT16[]> buffer; buffer = std::make_unique<INT16[]>(count); int i; |