refactor: Handle optional experimental code better

> introduce `hooks::devel` to aggregate debug specific code
> fix support for IIDX31 (target LDJ-010 instead)
This commit is contained in:
[ ]
2025-06-02 21:34:28 +09:00
parent cd709f0a55
commit 7ceeda8bca
6 changed files with 140 additions and 28 deletions
+19
View File
@@ -0,0 +1,19 @@
#pragma once
#include <cstdint>
namespace hooks::devel
{
//_INFO: order matters, low level routines first (if you want them active during later routines)
enum devel_routine : uint32_t
{
avs_fs_detour = 0,
sndb_test,
devel_routine_last
};
typedef uint32_t devel_routine_t;
bool active_routine(devel_routine_t val);
void bind_routine(devel_routine_t val, void (*cb)());
void entry_main();
}