1846c81aeb5e8447aaac0fad5b54e2047ca1f308
[pcsx_rearmed.git] / libpcsxcore / lightrec / plugin.h
1 /* SPDX-License-Identifier: LGPL-2.1-or-later */
2 /*
3  * Copyright (C) 2022 Paul Cercueil <paul@crapouillou.net>
4  */
5
6 #ifndef __LIGHTREC_PLUGIN_H__
7 #define __LIGHTREC_PLUGIN_H__
8
9 #ifdef LIGHTREC
10
11 #define drc_is_lightrec() 1
12 void lightrec_plugin_sync_regs_to_pcsx(void);
13 void lightrec_plugin_sync_regs_from_pcsx(void);
14
15 #else /* if !LIGHTREC */
16
17 #define drc_is_lightrec() 0
18 #define lightrec_plugin_sync_regs_to_pcsx()
19 #define lightrec_plugin_sync_regs_from_pcsx()
20
21 #endif
22
23 #endif /* __LIGHTREC_PLUGIN_H__ */
24