From 9a9f0d704eb56e3f72f9644004a0c18b61856210 Mon Sep 17 00:00:00 2001 From: panda668 Date: Fri, 24 May 2019 10:07:55 -0700 Subject: [PATCH] Updated platform toolset for Visual Studio 2019 Added min function --- handy-win32src-0.95-patched/core/eeprom.h | 3 ++- handy-win32src-0.95-patched/handy.vcxproj | 8 ++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/handy-win32src-0.95-patched/core/eeprom.h b/handy-win32src-0.95-patched/core/eeprom.h index 8778775..8123fb5 100644 --- a/handy-win32src-0.95-patched/core/eeprom.h +++ b/handy-win32src-0.95-patched/core/eeprom.h @@ -11,7 +11,8 @@ enum {EE_NONE=0, EE_START, EE_DATA, EE_BUSY, EE_WAIT}; class CEEPROM : public CLynxBase { - // Function members + +#define min(x,y) x>y?y:x public: CEEPROM(); diff --git a/handy-win32src-0.95-patched/handy.vcxproj b/handy-win32src-0.95-patched/handy.vcxproj index 3d2863d..0700006 100755 --- a/handy-win32src-0.95-patched/handy.vcxproj +++ b/handy-win32src-0.95-patched/handy.vcxproj @@ -27,25 +27,25 @@ Application - v140 + v142 Static MultiByte Application - v140 + v142 Static MultiByte Application - v140 + v142 Static MultiByte Application - v140 + v142 Static MultiByte