X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=deps%2Flightrec%2Finterpreter.h;h=51c5390688e87478a577cb2ab67ce0c965ed1bcc;hb=016c6e93f6db684211f5c8b05433cb500715ba50;hp=2113779a2c2a4aab5dbb8a750cb7fde552f82c23;hpb=67b91c4b9c44f0d973d2d6a85481e3f437ccc583;p=pcsx_rearmed.git diff --git a/deps/lightrec/interpreter.h b/deps/lightrec/interpreter.h index 2113779a..51c53906 100644 --- a/deps/lightrec/interpreter.h +++ b/deps/lightrec/interpreter.h @@ -1,15 +1,6 @@ +/* SPDX-License-Identifier: LGPL-2.1-or-later */ /* - * Copyright (C) 2019-2020 Paul Cercueil - * - * This library is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * This library is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. + * Copyright (C) 2019-2021 Paul Cercueil */ #ifndef __LIGHTREC_INTERPRETER_H__ @@ -19,6 +10,8 @@ struct block; -u32 lightrec_emulate_block(struct block *block, u32 pc); +u32 lightrec_emulate_block(struct lightrec_state *state, struct block *block, u32 pc); +u32 lightrec_handle_load_delay(struct lightrec_state *state, + struct block *block, u32 pc, u32 reg); #endif /* __LIGHTREC_INTERPRETER_H__ */