mirror of
https://github.com/RetroPortingToolKit/psxrecomp
synced 2026-10-25 18:05:12 -04:00
31015ceab1
Wire MotK-style lobby (recomp-net submodule, WS client, match_caps), netplay delay-sync, and launcher UX so host sim settings stay aligned across peers. Co-authored-by: Cursor <cursoragent@cursor.com>
25 lines
539 B
C
25 lines
539 B
C
#ifndef PSXRECOMP_PSX_RUNTIME_H
|
|
#define PSXRECOMP_PSX_RUNTIME_H
|
|
|
|
#include "cpu_state.h"
|
|
#include "debug_server.h"
|
|
#include "interrupts.h"
|
|
#include "psx_cycles.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
/* Fix B exception-return escape state + helpers are declared in cpu_state.h
|
|
* (the lowest common header the generated BIOS/game both include). */
|
|
|
|
static inline void call_by_address(CPUState* cpu, uint32_t addr) {
|
|
psx_dispatch_call(cpu, addr, cpu->gpr[31]);
|
|
}
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif /* PSXRECOMP_PSX_RUNTIME_H */
|