Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

olsc: Move member initialization to after member functions.

bunnei2f0eb8d38c58
diff --git a/src/core/hle/service/olsc/olsc.cpp b/src/core/hle/service/olsc/olsc.cpp
index deb23dbdea..aad4ca706c 100644
--- a/src/core/hle/service/olsc/olsc.cpp
+++ b/src/core/hle/service/olsc/olsc.cpp
@@ -43,8 +43,6 @@ public:
}
private:
- bool initialized{};
-
void Initialize(Kernel::HLERequestContext& ctx) {
LOG_WARNING(Service_OLSC, "(STUBBED) called");
@@ -60,6 +58,8 @@ private:
IPC::ResponseBuilder rb{ctx, 2};
rb.Push(RESULT_SUCCESS);
}
+
+ bool initialized{};
};
void InstallInterfaces(SM::ServiceManager& service_manager) {