Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

core: inline CPU, 132 warnings fixed on GCC

Kloen037814330151
diff --git a/src/core/core.h b/src/core/core.h
index 1015e8847f..17572a74f1 100644
--- a/src/core/core.h
+++ b/src/core/core.h
@@ -115,7 +115,7 @@ private:
static System s_instance;
};
-static ARM_Interface& CPU() {
+inline ARM_Interface& CPU() {
return System::GetInstance().CPU();
}