Skip to content

Commit

Permalink
PluginRSP: declare windows.h before asset.h
Browse files Browse the repository at this point in the history
  • Loading branch information
project64 committed Aug 30, 2023
1 parent 41fa1fd commit 703ad40
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Source/Android/PluginRSP/hle.cpp
Expand Up @@ -7,6 +7,9 @@
// GNU/GPLv2 licensed: https://gnu.org/licenses/gpl-2.0.html

#include "stdafx.h"
#if defined (_WIN32) && defined(_DEBUG)
#include <Windows.h>
#endif
#include "mem.h"
#include "ucodes.h"
#include <memory.h>
Expand Down Expand Up @@ -317,10 +320,6 @@ void CHle::non_task_dispatching(void)
#endif
}

#if defined(_WIN32) && defined(_DEBUG)
#include <Windows.h>
#endif

void CHle::VerboseMessage(const char *message, ...)
{
#if defined(_WIN32) && defined(_DEBUG)
Expand All @@ -336,4 +335,4 @@ void CHle::WarnMessage(const char *message, ...)
#if defined(_WIN32) && defined(_DEBUG)
MessageBoxA(NULL, message, "HLE warning message", MB_OK);
#endif
}
}

0 comments on commit 703ad40

Please sign in to comment.