Ray3 main debug stub
This commit is contained in:
@@ -1,4 +1,25 @@
|
||||
#include "r3/config/static.hpp"
|
||||
#include <spdlog/spdlog.h>
|
||||
|
||||
struct R3Bin {
|
||||
R3Bin() { SPDLOG_DEBUG("R3Bin constructor"); }
|
||||
|
||||
static R3Bin& get() {
|
||||
static R3Bin instance;
|
||||
return instance;
|
||||
}
|
||||
};
|
||||
|
||||
uint8_t *gh_map_dbg_mem(size_t addr) {
|
||||
R3Bin::get();
|
||||
SPDLOG_DEBUG("Mapping debug memory at {}", addr);
|
||||
return nullptr;
|
||||
}
|
||||
void *gh_stub_impl_ptr(void *ptr) {
|
||||
R3Bin::get();
|
||||
SPDLOG_DEBUG("Forwarding implementation at {}", ptr);
|
||||
return nullptr;
|
||||
}
|
||||
void gh_init_dbg_loader() {
|
||||
SPDLOG_DEBUG("Initializing debug loader");
|
||||
}
|
||||
Reference in New Issue
Block a user