Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Add comment regarding __WIN32__ in SkyEye code

darkfa19354acedbf
diff --git a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
index 0a5c7ee6e5..37925e8a85 100644
--- a/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
+++ b/src/core/arm/dyncom/arm_dyncom_interpreter.cpp
@@ -34,6 +34,10 @@
using namespace std;
+// __WIN32__ was never defined on MSVC, but it is on MinGW,
+// so we need to remove it.
+// #ifdefs to __WIN32__ are dead code and will not even compile
+// anymore, due to bank_defs.h missing.
#ifdef _WIN32
#undef __WIN32__
#endif