mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
JitBase: Avoid System::GetInstance() and ppcState.
This commit is contained in:
@ -9,6 +9,7 @@
|
||||
#include "Core/PowerPC/Interpreter/Interpreter_FPUtils.h"
|
||||
#include "Core/PowerPC/JitArm64/Jit.h"
|
||||
#include "Core/PowerPC/PowerPC.h"
|
||||
#include "Core/System.h"
|
||||
|
||||
#include "../TestValues.h"
|
||||
|
||||
@ -21,7 +22,7 @@ using namespace Arm64Gen;
|
||||
class TestFrsqrte : public JitArm64
|
||||
{
|
||||
public:
|
||||
TestFrsqrte()
|
||||
explicit TestFrsqrte(Core::System& system) : JitArm64(system)
|
||||
{
|
||||
const Common::ScopedJITPageWriteAndNoExecute enable_jit_page_writes;
|
||||
|
||||
@ -50,7 +51,7 @@ public:
|
||||
|
||||
TEST(JitArm64, Frsqrte)
|
||||
{
|
||||
TestFrsqrte test;
|
||||
TestFrsqrte test(Core::System::GetInstance());
|
||||
|
||||
for (const u64 ivalue : double_test_values)
|
||||
{
|
||||
|
Reference in New Issue
Block a user