From 3eba6f4ec5dae0f2a1371cdda6bfd9956bd57c94 Mon Sep 17 00:00:00 2001 From: ChrisMiuchiz Date: Sun, 27 Oct 2019 13:56:08 -0400 Subject: [PATCH] correct my sins --- CubeModLoader/main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CubeModLoader/main.h b/CubeModLoader/main.h index 2471e8c..d0a5982 100644 --- a/CubeModLoader/main.h +++ b/CubeModLoader/main.h @@ -29,7 +29,7 @@ dllname->name = GetProcAddress(dllname->handle, #name); #define RESTORE_STACK "add rsp, 0x28 \n pop rsp \n" -// These macros exist because "jmp [var]" or "jmp ds:[var]" any any other variants I have tried do not properly compile +// These macros exist because "jmp [var]" or "jmp ds:[var]" and any other variants I have tried do not properly compile #define GETTER_VAR(vartype, varname)\ static __attribute__((used)) vartype varname;\ extern "C" vartype Get_##varname(){return varname;}