mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-26 02:11:36 -04:00
28 lines
879 B
C
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
|