Browse Source

Remove Reassign mode from MIDI-CV.

tags/v1.0.0
Andrew Belt 5 years ago
parent
commit
4904cc3dbf
3 changed files with 7 additions and 13 deletions
  1. +0
    -7
      src/Core/MIDI_CV.cpp
  2. +0
    -1
      src/app/Scene.cpp
  3. +7
    -5
      src/main.cpp

+ 0
- 7
src/Core/MIDI_CV.cpp View File

@@ -36,7 +36,6 @@ struct MIDI_CV : Module {
ROTATE_MODE,
REUSE_MODE,
RESET_MODE,
REASSIGN_MODE,
MPE_MODE,
NUM_POLY_MODES
};
@@ -256,11 +255,6 @@ struct MIDI_CV : Module {
return channels - 1;
} break;

case REASSIGN_MODE: {
// TODO I forgot what this does.
return 0;
}

default: return 0;
}
}
@@ -460,7 +454,6 @@ struct PolyModeItem : MenuItem {
"Rotate",
"Reuse",
"Reset",
"Reassign",
"MPE",
};
for (int i = 0; i < MIDI_CV::NUM_POLY_MODES; i++) {


+ 0
- 1
src/app/Scene.cpp View File

@@ -58,7 +58,6 @@ void Scene::step() {
// Autosave every 15 seconds
int frame = APP->window->frame;
if (frame > 0 && frame % (60 * 15) == 0) {
// DEBUG("frame %d", frame);
APP->patch->save(asset::user("autosave.vcv"));
settings.save(asset::user("settings.json"));
}


+ 7
- 5
src/main.cpp View File

@@ -84,11 +84,13 @@ int main(int argc, char *argv[]) {
// We can now install a signal handler and log the output
// Mac has its own decent crash handler
#if defined ARCH_LIN || defined ARCH_WIN
signal(SIGABRT, fatalSignalHandler);
signal(SIGFPE, fatalSignalHandler);
signal(SIGILL, fatalSignalHandler);
signal(SIGSEGV, fatalSignalHandler);
signal(SIGTERM, fatalSignalHandler);
if (!devMode) {
signal(SIGABRT, fatalSignalHandler);
signal(SIGFPE, fatalSignalHandler);
signal(SIGILL, fatalSignalHandler);
signal(SIGSEGV, fatalSignalHandler);
signal(SIGTERM, fatalSignalHandler);
}
#endif

// Log environment


Loading…
Cancel
Save