From 5482a9651228e52ddeb8bb3c59a77d47a8e62d11 Mon Sep 17 00:00:00 2001 From: bjt Date: Fri, 9 Aug 2013 13:00:02 +0100 Subject: [PATCH] Fixed note tracking. Updated release date --- README | 2 +- SOFTMPU.EXE | Bin 11384 -> 11400 bytes SRC/MIDI.C | 2 +- SRC/RESIDENT.ASM | 2 +- 4 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README b/README index 6a25450..9052774 100644 --- a/README +++ b/README @@ -5,7 +5,7 @@ Copyright (C) 2013 bjt Copyright (C) 2002-2013 The DOSBox Team ---------------------------------------------- -Release Notes (16/08/13) +Release Notes (09/08/13) WHAT IS IT? diff --git a/SOFTMPU.EXE b/SOFTMPU.EXE index 48759d570b0d6803fb6a2152a4761295990db5f7..41b37920f55796e6fc6ceb0b0ed2dbc036b73fc9 100644 GIT binary patch delta 4491 zcmZ`+4R90J5q|I8`6S!2?2|#}SN_44u?+%TB0_Lv8mKV;3Q0^zh-;FTNg<($eFw>q zL~<_FmX86YHyN5VnUSr|lw{hD8OYQjGhkyzN=qO(OjBAqsRt8$;*4=<#@L4Fy6?`0 zq(7Rud++w`+ugVO?e5d)<1JerUjIZ3%0pSG03oF7-59Y5&EpYr!8bw$i z&7Oi#0X${!RKgR3=L9^b;JE}(##DsfVepZMKg7WijD*Yt2Lq~;zj~@i^3`D^x+GsE zEaXYP#W3U~IF?|fd+*2Uv25uyp-cshrLuP`X1sM+@@>Th4QY}G1}Rn0z(_*{I#-8V z{cOt{RoIYQ(G{!1v8}i#@|Zj*4U)J&RV_Oocp5)6SiIcoPf0#IK>{1vkXmk;7*%uy)M=C$ok2$2vxxjjXZ^K`&u@Jlpeu3ZEoM$0Ps*?F>lT@$ zM2@iXmr}pwLVs&>z493|ZRRx6KAp(%VoUopP?Z8Fg6h~E97E(NVL4pp1yXVejwHBm z=xn|@!zek2&WZ`prW-S5QQETfStR*a6p3>#MNF#**5it=K#SO&rZ3?GDiG1W{&~wC6#>3}VxMYK#u;DPx?bJ!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gk^d!k_@2>N-$#;Ohhwta+s%)uq)CqKZxM2Gff!vNl^ZEHN^?F1kc zojqm0SO*;2tjT$p)V^UEf88{381QxUn^$E-9P zFr61UNbwgrB+o2OE=~qA^de`Pu-dL2@YUgV?P=deXS*=gF{dZZfl{_jd&PJ6cYtKh z=|@*c!t9p3OkjKBPh22R|HJ`c{$ptp6c%{OKEpK%;IEo?Z-{|`DKSycc4 diff --git a/SRC/MIDI.C b/SRC/MIDI.C index 22203e3..4db05ba 100644 --- a/SRC/MIDI.C +++ b/SRC/MIDI.C @@ -256,7 +256,7 @@ void MIDI_RawOutByte(Bit8u data) { { pChan=&tracked_channels[midi.status&0x0f]; pChan->notes[pChan->next++]=midi.cmd_buf[1]; - pChan->next &= MAX_TRACKED_NOTES; + if (pChan->next==MAX_TRACKED_NOTES) pChan->next=0; if (pChan->usedused++; } diff --git a/SRC/RESIDENT.ASM b/SRC/RESIDENT.ASM index 4882ae4..738e8cb 100644 --- a/SRC/RESIDENT.ASM +++ b/SRC/RESIDENT.ASM @@ -60,7 +60,7 @@ SBDetected DB 0 ; Following data needs to be 4-byte aligned ; Might need to add some padding here for detection to work -IDPad DB 2 DUP (?) +IDPad DB 0 DUP (?) IDString DB '0S2M' ; Detection string INCLUDE appstr.asm ; App ID substrings