libretro: direct fb access requires duping support
[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 15void lightrec_rec_opcode(struct lightrec_cstate *state, const struct block *block, u16 offset);
cb72ea13
PC
16void lightrec_emit_jump_to_interpreter(struct lightrec_cstate *state,
17 const struct block *block, u16 offset);
d16005f8
PC
18
19#endif /* __EMITTER_H__ */