Skip to content

Commit

Permalink
Disable overload flag when run as plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
brummer10 committed May 27, 2024
1 parent 0d6a64b commit e9fba8b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions trunk/src/gx_head/engine/gx_engine_audio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -778,7 +778,9 @@ void __rt_func ModuleSequencer::overload(OverloadType tp, const char *reason) {
}
}
if (!ignore) {
#ifndef GUITARIX_AS_PLUGIN
set_stateflag(SF_OVERLOAD);
#endif
}
gx_system::atomic_set(&overload_reason, reason);
overload_detected();
Expand Down

0 comments on commit e9fba8b

Please sign in to comment.