From 82a87e6edb2f60b4b91e46863af1e7b993e5a16e Mon Sep 17 00:00:00 2001 From: stephena Date: Sun, 8 Nov 2009 20:29:10 +0000 Subject: [PATCH] Updated Win32 port for recent Cart classname changes. Fixed BSPF_ARCH macro to correctly detect i386 and x86_64 in Windows. git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@1898 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba --- src/emucore/m6502/src/bspf/src/bspf.hxx | 4 ++-- src/win32/Stella.vcproj | 20 ++++++++++---------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/emucore/m6502/src/bspf/src/bspf.hxx b/src/emucore/m6502/src/bspf/src/bspf.hxx index 6e2be7732..cdad73600 100644 --- a/src/emucore/m6502/src/bspf/src/bspf.hxx +++ b/src/emucore/m6502/src/bspf/src/bspf.hxx @@ -104,9 +104,9 @@ // CPU architecture type // This isn't complete yet, but takes care of all the major platforms -#if defined(__i386__) +#if defined(__i386__) || defined(_M_IX86) #define BSPF_ARCH "i386" -#elif defined(__x86_64__) +#elif defined(__x86_64__) || defined(_WIN64) #define BSPF_ARCH "x86_64" #elif defined(__powerpc__) || defined(__ppc__) #define BSPF_ARCH "ppc" diff --git a/src/win32/Stella.vcproj b/src/win32/Stella.vcproj index dedbbd87a..1a446bce9 100755 --- a/src/win32/Stella.vcproj +++ b/src/win32/Stella.vcproj @@ -469,6 +469,10 @@ RelativePath="..\emucore\CartEFSC.cxx" > + + @@ -494,17 +498,13 @@ > - - @@ -1087,6 +1087,10 @@ RelativePath="..\emucore\CartEFSC.hxx" > + + @@ -1112,17 +1116,13 @@ > - -