diff --git a/Utilities/Thread.cpp b/Utilities/Thread.cpp index 325e4ea00d..54b9bacef9 100644 --- a/Utilities/Thread.cpp +++ b/Utilities/Thread.cpp @@ -2310,6 +2310,10 @@ thread_base::native_entry thread_base::make_trampoline(u64(*entry)(thread_base* c.bind(_ret); c.add(x86::rsp, 0x28); c.ret(); +#else + UNUSED(c); + UNUSED(args); + UNUSED(entry); #endif }); } diff --git a/rpcs3/Emu/Cell/PPUInterpreter.cpp b/rpcs3/Emu/Cell/PPUInterpreter.cpp index 7e8d2034b8..9b7ad2ecba 100644 --- a/rpcs3/Emu/Cell/PPUInterpreter.cpp +++ b/rpcs3/Emu/Cell/PPUInterpreter.cpp @@ -129,7 +129,9 @@ struct ppu_exec_select }; \ } +#ifdef ARCH_X64 static constexpr ppu_opcode_t s_op{}; +#endif namespace asmjit { @@ -293,7 +295,7 @@ struct ppu_abstract_t } template - void operator=(T&& _val) const + void operator=([[maybe_unused]] T&& _val) const { FOR_X64(store_op, kIdMovaps, kIdVmovaps, static_cast(g_vc)->ppu_vr(bf_t{}, true), std::forward(_val)); } @@ -316,11 +318,9 @@ struct ppu_abstract_t } template - void operator=(T&& _val) const + void operator=([[maybe_unused]] T&& _val) const { - #if defined(ARCH_X64) FOR_X64(store_op, kIdMovaps, kIdVmovaps, *this, std::forward(_val)); - #endif } } sat{}; }; diff --git a/rpcs3/Emu/Cell/PPUThread.cpp b/rpcs3/Emu/Cell/PPUThread.cpp index 2a97028f2f..6e0f8865fd 100644 --- a/rpcs3/Emu/Cell/PPUThread.cpp +++ b/rpcs3/Emu/Cell/PPUThread.cpp @@ -3292,6 +3292,8 @@ const auto ppu_stcx_accurate_tx = build_function_asm