psxmem: Add support for Lightrec's custom mem init sequence
[pcsx_rearmed.git] / deps / lightrec / emitter.h
CommitLineData
98fa08a5 1/* SPDX-License-Identifier: LGPL-2.1-or-later */
d16005f8 2/*
98fa08a5 3 * Copyright (C) 2014-2021 Paul Cercueil <paul@crapouillou.net>
d16005f8
PC
4 */
5
6#ifndef __EMITTER_H__
7#define __EMITTER_H__
8
9#include "lightrec.h"
10
11struct block;
98fa08a5 12struct lightrec_cstate;
d16005f8
PC
13struct opcode;
14
98fa08a5
PC
15void lightrec_rec_opcode(struct lightrec_cstate *state, const struct block *block, u16 offset);
16void lightrec_emit_eob(struct lightrec_cstate *state, const struct block *block,
17 u16 offset, _Bool after_op);
d16005f8
PC
18
19#endif /* __EMITTER_H__ */