Files
psxrecomp/runtime/include/load_accel.h
T
2026-07-14 22:44:31 -07:00

28 lines
879 B
C

/* load_accel.h -- opt-in, verified load-time acceleration primitives. */
#ifndef PSXRECOMP_LOAD_ACCEL_H
#define PSXRECOMP_LOAD_ACCEL_H
#include <stdint.h>
#ifdef __cplusplus
extern "C" {
#endif
struct CPUState;
int psx_vsync_query_hle_enter(struct CPUState* cpu, uint32_t func,
uint32_t counter_addr, uint32_t gpustat_ptr_addr,
uint32_t timer1_ptr_addr,
uint32_t timer1_cache_addr);
void psx_vsync_query_hle_set_enabled(int on);
void psx_vsync_query_hle_set_horizon_enabled(int on);
void psx_vsync_query_hle_set_extra_horizon_enabled(int on);
void psx_vsync_query_hle_add_event_horizon_site(uint32_t return_pc);
void psx_vsync_query_hle_add_extra_event_horizon_site(uint32_t return_pc);
void psx_vsync_query_hle_stats_json(char* buf, int cap);
#ifdef __cplusplus
}
#endif
#endif