MSVC DEBUG! MSVC DEBUG! MSVC DEBUG!

DO NOT USE! I AM DEBUGGING A CRASH!

ONLY FOR TESTER
This commit is contained in:
tildearrow 2023-01-16 22:38:46 -05:00
parent 39349d2fde
commit 0d5c7da774
4 changed files with 30 additions and 17 deletions

View file

@ -163,7 +163,7 @@ void FurnaceGUI::doAction(int what) {
case GUI_ACTION_TX81Z_REQUEST: {
TAMidiMessage msg;
msg.type=TA_MIDI_SYSEX;
msg.sysExData.reset(new unsigned char[15]);
msg.sysExData.reset(new unsigned char[15],std::default_delete<unsigned char[]>());
msg.sysExLen=15;
memcpy(msg.sysExData.get(),avRequest,15);
if (!e->sendMidiMessage(msg)) {