Remove the now unused ability to skip opcodes

If this is needed again in the future (it shouldn't be), then it should
be re-implemented using a separate function.
This commit is contained in:
Robbert van der Helm
2020-04-26 16:29:41 +02:00
parent 0ce9c1e3a4
commit aee890fbf6
3 changed files with 16 additions and 26 deletions
+4 -4
View File
@@ -186,10 +186,10 @@ class DispatchDataConverter : DefaultDataConverter {
VstRect& editor_rectangle)
: chunk(chunk_data), rect(editor_rectangle) {}
std::optional<EventPayload> read(const int opcode,
const int index,
const intptr_t value,
const void* data) {
EventPayload read(const int opcode,
const int index,
const intptr_t value,
const void* data) {
// There are some events that need specific structs that we can't simply
// serialize as a string because they might contain null bytes
switch (opcode) {