X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=deps%2Flightrec%2Frecompiler.h;h=9bc522d1479611a0d04882c4aee54df9b039a110;hb=98fa08a56df29aeed65dfbc7697603c90bc66144;hp=999a49fad8503467fc0b5fdc638092de415396a6;hpb=519a9ea123f92f3b02c059a32e4e9fd1170c8cbb;p=pcsx_rearmed.git diff --git a/deps/lightrec/recompiler.h b/deps/lightrec/recompiler.h index 999a49fa..9bc522d1 100644 --- a/deps/lightrec/recompiler.h +++ b/deps/lightrec/recompiler.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_RECOMPILER_H__ @@ -24,6 +15,7 @@ void lightrec_free_recompiler(struct recompiler *rec); int lightrec_recompiler_add(struct recompiler *rec, struct block *block); void lightrec_recompiler_remove(struct recompiler *rec, struct block *block); -void * lightrec_recompiler_run_first_pass(struct block *block, u32 *pc); +void * lightrec_recompiler_run_first_pass(struct lightrec_state *state, + struct block *block, u32 *pc); #endif /* __LIGHTREC_RECOMPILER_H__ */