From 69c357b70fd3f551bb386f410acf82de4e120080 Mon Sep 17 00:00:00 2001 From: Maxim Poliakovski Date: Tue, 5 Oct 2021 00:40:12 +0200 Subject: [PATCH] ppcopcodes: fix compilation error with Clang 11. --- cpu/ppc/ppcopcodes.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpu/ppc/ppcopcodes.cpp b/cpu/ppc/ppcopcodes.cpp index ca632f3..01f1d68 100644 --- a/cpu/ppc/ppcopcodes.cpp +++ b/cpu/ppc/ppcopcodes.cpp @@ -73,7 +73,7 @@ void ppc_store_result_rega() { ppc_state.gpr[reg_a] = ppc_result_a; } -inline void ppc_grab_regsdasimm() { +void ppc_grab_regsdasimm() { reg_d = (ppc_cur_instruction >> 21) & 31; reg_a = (ppc_cur_instruction >> 16) & 31; simm = (int32_t)((int16_t)((ppc_cur_instruction)&65535));