X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=deps%2Flightrec%2Finterpreter.h;h=51c5390688e87478a577cb2ab67ce0c965ed1bcc;hb=c8bf44c44d57bcf08a56ddf56579aa6bf42b0c06;hp=d4177b3af21e5b77a1be94cfc7d3a34148ffcc49;hpb=0adc619b5a5705d16cc6caea64951776ababbb96;p=pcsx_rearmed.git diff --git a/deps/lightrec/interpreter.h b/deps/lightrec/interpreter.h index d4177b3a..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 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__ */