diff --git a/mednafen/include/blip/Blip_Buffer.h b/mednafen/include/blip/Blip_Buffer.h index a8e90ee0..da1d924c 100644 --- a/mednafen/include/blip/Blip_Buffer.h +++ b/mednafen/include/blip/Blip_Buffer.h @@ -8,7 +8,7 @@ #endif #include -#include +#include // Blip_Buffer 0.4.1 #ifndef BLIP_BUFFER_H diff --git a/mednafen/mednafen-types.h b/mednafen/mednafen-types.h index dd302065..72626261 100644 --- a/mednafen/mednafen-types.h +++ b/mednafen/mednafen-types.h @@ -13,7 +13,7 @@ #endif #include -#include +#include typedef int8_t int8; typedef int16_t int16; @@ -46,8 +46,6 @@ typedef uint64_t uint64; #define MDFN_WARN_UNUSED_RESULT __attribute__ ((warn_unused_result)) #elif defined(_MSC_VER) - - #warning "Compiling with MSVC, untested" #define INLINE inline __forceinline #define NO_INLINE __declspec(noinline) diff --git a/mednafen/state.cpp b/mednafen/state.cpp index 9bbdf9f2..12dd3ac8 100644 --- a/mednafen/state.cpp +++ b/mednafen/state.cpp @@ -20,7 +20,9 @@ #include #include #include +#ifndef _WIN32 #include +#endif #include #include diff --git a/mednafen/video/surface.cpp b/mednafen/video/surface.cpp index ad3b388d..bffc034b 100644 --- a/mednafen/video/surface.cpp +++ b/mednafen/video/surface.cpp @@ -15,7 +15,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#include +#include "../mednafen.h" #include "surface.h" MDFN_PixelFormat::MDFN_PixelFormat() diff --git a/mednafen/video/video.cpp b/mednafen/video/video.cpp index 43f78e85..4bcb62f6 100644 --- a/mednafen/video/video.cpp +++ b/mednafen/video/video.cpp @@ -18,8 +18,6 @@ #include "video-common.h" #include -#include -#include #include #include diff --git a/msvc/msvc-2010/msvc-2010.vcxproj b/msvc/msvc-2010/msvc-2010.vcxproj index ea3cc01b..5e2ea24f 100644 --- a/msvc/msvc-2010/msvc-2010.vcxproj +++ b/msvc/msvc-2010/msvc-2010.vcxproj @@ -14,6 +14,7 @@ {8631E5F4-307D-47E4-81F7-6C83F1A82BD1} Win32Proj mednafenpsxlibretro + msvc-2010-psx @@ -77,24 +78,11 @@ - - - - - - true - true - - - true - true - - @@ -113,20 +101,61 @@ - true true - - + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + - - - - @@ -141,33 +170,80 @@ - true true - - - - - true true - - - + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + + + CompileAsC + CompileAsC + - - - - - + diff --git a/msvc/msvc-2010/msvc-2010.vcxproj.filters b/msvc/msvc-2010/msvc-2010.vcxproj.filters index 36dcc3df..03a50e42 100644 --- a/msvc/msvc-2010/msvc-2010.vcxproj.filters +++ b/msvc/msvc-2010/msvc-2010.vcxproj.filters @@ -13,9 +13,6 @@ {67DA6AB6-F800-4c08-8B7A-83BB121AAD01} rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms - - {b68ac4b4-7b1b-4552-934b-591f115f179c} - {6e1feaad-8f37-43dc-a5a4-e7a7b3f5afb4} @@ -31,14 +28,14 @@ {17bf18c6-2a07-456d-b3c9-c1e58e556733} - - {7eaf3432-ca88-4867-9d71-32f75d8334d5} - {6ebe59df-57e5-44cb-9a5d-cc954268c480} - - {a2821c60-f219-4622-ad44-c64bcd811066} + + {b69c19a1-9cd3-4b28-9663-de79e5423d10} + + + {f1639efc-7e36-4c58-ab3c-d662ee41d062} @@ -51,9 +48,6 @@ Source Files - - Source Files\mednafen - Source Files\mednafen @@ -84,45 +78,21 @@ Source Files\mednafen - - Source Files\mednafen - - - Source Files\mednafen - Source Files\mednafen - - Source Files\mednafen - - - Source Files\mednafen - - - Source Files\mednafen - Source Files\mednafen Source Files\mednafen - - Source Files\mednafen - Source Files\mednafen\psx Source Files\mednafen\psx - - Source Files\mednafen\psx - - - Source Files\mednafen\psx - Source Files\mednafen\psx @@ -177,18 +147,12 @@ Source Files\mednafen\cdrom - - Source Files\mednafen\cdrom - Source Files\mednafen\cdrom Source Files\mednafen\cdrom - - Source Files\mednafen\cdrom - Source Files\mednafen\cdrom @@ -213,59 +177,101 @@ Source Files\mednafen\sound - - Source Files\mednafen\sound - - - Source Files\mednafen\sound - Source Files\mednafen\sound - - Source Files\mednafen\sound - - - Source Files\mednafen\string - - - Source Files\mednafen\string - Source Files\mednafen\video - - Source Files\mednafen\video - - - Source Files\mednafen\video - Source Files\mednafen\video - - Source Files\mednafen\video - - - Source Files\mednafen\video - Source Files\mednafen\video - - Source Files\mednafen\video + + Source Files - - Source Files\mednafen-libretro\psx + + Source Files\mednafen\mpcdec - - Source Files\mednafen-libretro + + Source Files\mednafen\mpcdec - - Source Files\mednafen-libretro + + Source Files\mednafen\mpcdec - - Source Files\mednafen-libretro + + Source Files\mednafen\mpcdec + + + Source Files\mednafen\mpcdec + + + Source Files\mednafen\mpcdec + + + Source Files\mednafen\mpcdec + + + Source Files\mednafen\mpcdec + + + Source Files\mednafen\mpcdec + + + Source Files\mednafen\mpcdec + + + Source Files\mednafen\mpcdec + + + Source Files\mednafen\mpcdec + + + Source Files\mednafen\tremor + + + Source Files\mednafen\tremor + + + Source Files\mednafen\tremor + + + Source Files\mednafen\tremor + + + Source Files\mednafen\tremor + + + Source Files\mednafen\tremor + + + Source Files\mednafen\tremor + + + Source Files\mednafen\tremor + + + Source Files\mednafen\tremor + + + Source Files\mednafen\tremor + + + Source Files\mednafen\tremor + + + Source Files\mednafen\tremor + + + Source Files\mednafen\tremor + + + Source Files\mednafen\tremor + + + Source Files\mednafen\tremor \ No newline at end of file diff --git a/stubs.cpp b/stubs.cpp index 10e33623..4b327db4 100644 --- a/stubs.cpp +++ b/stubs.cpp @@ -5,7 +5,9 @@ #include "mednafen/general.h" #include "mednafen/mednafen-driver.h" +#ifndef _WIN32 #include +#endif #include