PluginRSP: declare windows.h before asset.h

This commit is contained in:
zilmar 2023-08-30 12:15:36 +09:30
parent 41fa1fd5dd
commit 703ad4049a
1 changed files with 4 additions and 5 deletions

View File

@ -7,6 +7,9 @@
// GNU/GPLv2 licensed: https://gnu.org/licenses/gpl-2.0.html // GNU/GPLv2 licensed: https://gnu.org/licenses/gpl-2.0.html
#include "stdafx.h" #include "stdafx.h"
#if defined (_WIN32) && defined(_DEBUG)
#include <Windows.h>
#endif
#include "mem.h" #include "mem.h"
#include "ucodes.h" #include "ucodes.h"
#include <memory.h> #include <memory.h>
@ -317,10 +320,6 @@ void CHle::non_task_dispatching(void)
#endif #endif
} }
#if defined(_WIN32) && defined(_DEBUG)
#include <Windows.h>
#endif
void CHle::VerboseMessage(const char *message, ...) void CHle::VerboseMessage(const char *message, ...)
{ {
#if defined(_WIN32) && defined(_DEBUG) #if defined(_WIN32) && defined(_DEBUG)
@ -336,4 +335,4 @@ void CHle::WarnMessage(const char *message, ...)
#if defined(_WIN32) && defined(_DEBUG) #if defined(_WIN32) && defined(_DEBUG)
MessageBoxA(NULL, message, "HLE warning message", MB_OK); MessageBoxA(NULL, message, "HLE warning message", MB_OK);
#endif #endif
} }