mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-17 15:18:11 +00:00
Fixed a MORONIC oob memory write. Now back to remedial C++ class
svn-id: r8019
This commit is contained in:
parent
9357a99e00
commit
ebedd3b41c
@ -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;
|
||||
|
@ -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)); }
|
||||
|
Loading…
Reference in New Issue
Block a user