Skip to content

Commit

Permalink
dev
Browse files Browse the repository at this point in the history
  • Loading branch information
ak5k committed Mar 14, 2023
1 parent de74be2 commit 9810995
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/llm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -776,17 +776,17 @@ void Set(const char* parmname, const char* buf)
void Register(bool load)
{
reaper_version = stod(GetAppVersion());
if (reaper_version < 6.72) {
ShowConsoleMsg("ReaLlm requires REAPER 6.72 or later.");
return;
}
custom_action_register_t action {
0,
"AK5K_REALLM",
"ReaLlm: REAPER Low latency monitoring",
nullptr};

if (load) {
if (reaper_version < 6.72) {
ShowConsoleMsg("ReaLlm requires REAPER 6.72 or later.");
return;
}
command_id = plugin_register("custom_action", &action);
plugin_register("hookcommand2", (void*)&CommandHook);
plugin_register("toggleaction", (void*)&ToggleActionCallback);
Expand Down

0 comments on commit 9810995

Please sign in to comment.