From b1badd8d293d684c77a4ea8a8774533eb7a38a2c Mon Sep 17 00:00:00 2001 From: EpicUsername12 <39063367+EpicUsername12@users.noreply.github.com> Date: Tue, 13 Jun 2023 06:28:39 +0200 Subject: [PATCH] Update to latest wut --- src/main.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index bb0bf83..8d4a788 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -25,7 +25,6 @@ #include #include #include -#include "wut_extra.h" #include #include "url_patches.h" #include "config.h" @@ -120,7 +119,7 @@ static void write_string(uint32_t addr, const char* str) } } -static bool is555(MCP_SystemVersion version) { +static bool is555(MCPSystemVersion version) { return (version.major == 5) && (version.minor == 5) && (version.patch >= 5); } @@ -142,12 +141,12 @@ INITIALIZE_PLUGIN() { } //get os version - MCP_SystemVersion os_version; + MCPSystemVersion os_version; int mcp = MCP_Open(); int ret = MCP_GetSystemVersion(mcp, &os_version); if (ret < 0) { DEBUG_FUNCTION_LINE("getting system version failed (%d/%d)!", mcp, ret); - os_version = (MCP_SystemVersion) { + os_version = (MCPSystemVersion) { .major = 5, .minor = 5, .patch = 5, .region = 'E' }; }