Fixed a MORONIC oob memory write. Now back to remedial C++ class

svn-id: r8019
This commit is contained in:
Jamieson Christian 2003-05-26 20:42:25 +00:00
parent 9357a99e00
commit ebedd3b41c
2 changed files with 1 additions and 3 deletions

View File

@ -1161,8 +1161,7 @@ void IMuseInternal::addDeferredCommand (int time, int a, int b, int c, int d, in
break;
}
if (ptr) {
ptr->midi = _midi_native ? _midi_native : _midi_adlib;
if (i) {
ptr->time_left = time * 10000;
ptr->a = a;
ptr->b = b;

View File

@ -129,7 +129,6 @@ struct ParameterFader {
};
struct DeferredCommand {
MidiDriver *midi;
uint32 time_left;
int a, b, c, d, e, f;
DeferredCommand() { memset (this, 0, sizeof (DeferredCommand)); }