mirror of
https://github.com/sal063/AC6_recomp
synced 2026-06-16 07:04:17 -04:00
feat: wire AC6 native graphics runtime and bootstrap configure path
Run the native renderer every frame from AC6 present timing hooks with a visible runtime status overlay so migration progress is observable in-game. Also add a tracked CMake bootstrap include and migration mapping docs so fresh clones can configure before generated glue exists. Made-with: Cursor
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "render_hooks.h"
|
||||
#include "d3d_hooks.h"
|
||||
#include "ac6_native_graphics.h"
|
||||
|
||||
#include <chrono>
|
||||
#include <mutex>
|
||||
@@ -47,6 +48,7 @@ void ac6DeltaDivisorHook(PPCRegister& r29) {
|
||||
|
||||
void ac6PresentTimingHook(PPCRegister& /*r31*/) {
|
||||
ac6::d3d::OnFrameBoundary();
|
||||
ac6::graphics::OnFrameBoundary();
|
||||
|
||||
const auto now = Clock::now();
|
||||
double frame_time_ms = 0.0;
|
||||
|
||||
Reference in New Issue
Block a user