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:
@@ -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();
|
||||
}
|
||||
Reference in New Issue
Block a user