(NGP 360 MSVC) Add solution - NGP core works

This commit is contained in:
twinaphex 2013-01-15 13:34:01 +01:00
parent 1fc18dc9f6
commit 9c785159bb
9 changed files with 542 additions and 652 deletions

View File

@ -11,6 +11,10 @@
#include "math_ops.h"
#include "git.h"
#ifdef _WIN32
#define strcasecmp _stricmp
#endif
extern MDFNGI *MDFNGameInfo;
#include "settings.h"

View File

@ -78,6 +78,9 @@ RomInfo;
//RomHeader
typedef struct
{
#ifdef _WIN32
#pragma pack(push, 1)
#endif
uint8 licence[28]; // 0x00 - 0x1B
uint32 startPC; // 0x1C - 0x1F
uint16 catalog; // 0x20 - 0x21
@ -89,7 +92,12 @@ typedef struct
uint32 reserved2; // 0x34 - 0x37
uint32 reserved3; // 0x38 - 0x3B
uint32 reserved4; // 0x3C - 0x3F
#ifdef _WIN32
#pragma pack(pop)
} RomHeader;
#else
} __attribute__((__packed__)) RomHeader;
#endif
//=============================================================================

View File

@ -1,20 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "mednafen-psx-libretro", "msvc-2010\msvc-2010.vcxproj", "{8631E5F4-307D-47E4-81F7-6C83F1A82BD1}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{8631E5F4-307D-47E4-81F7-6C83F1A82BD1}.Debug|Win32.ActiveCfg = Debug|Win32
{8631E5F4-307D-47E4-81F7-6C83F1A82BD1}.Debug|Win32.Build.0 = Debug|Win32
{8631E5F4-307D-47E4-81F7-6C83F1A82BD1}.Release|Win32.ActiveCfg = Release|Win32
{8631E5F4-307D-47E4-81F7-6C83F1A82BD1}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -1,272 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{8631E5F4-307D-47E4-81F7-6C83F1A82BD1}</ProjectGuid>
<Keyword>Win32Proj</Keyword>
<RootNamespace>mednafenpsxlibretro</RootNamespace>
<ProjectName>msvc-2010-psx</ProjectName>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LinkIncremental>true</LinkIncremental>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<LinkIncremental>false</LinkIncremental>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<ClCompile>
<PrecompiledHeader>
</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<Optimization>Disabled</Optimization>
<PreprocessorDefinitions>WIN32;_DEBUG;_WINDOWS;_USRDLL;MEDNAFENPSXLIBRETRO_EXPORTS;%(PreprocessorDefinitions);LSB_FIRST;HAVE_MKDIR;SIZEOF_DOUBLE=8;MEDNAFEN_VERSION="0.9.24";PACKAGE="mednafen";MEDNAFEN_VERSION_NUMERIC=924;PSS_STYLE=1;MPC_FIXED_POINT;ARCH_X86;WANT_PSX_EMU;STDC_HEADERS;_CRT_SECURE_NO_WARNINGS;WANT_32BPP;NEED_DEINTERLACER;NEED_CD</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)/../mednafen;$(SolutionDir)/../;$(SolutionDir)/../mednafen-libretro;$(SolutionDir)/../mednafen/intl;$(SolutionDir)/../mednafen/psx;$(SolutionDir)/../mednafen/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<AdditionalDependencies>winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>
</PrecompiledHeader>
<Optimization>MaxSpeed</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<IntrinsicFunctions>true</IntrinsicFunctions>
<PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;_USRDLL;MEDNAFENPSXLIBRETRO_EXPORTS;%(PreprocessorDefinitions);LSB_FIRST;HAVE_MKDIR;SIZEOF_DOUBLE=8;MEDNAFEN_VERSION="0.9.24";PACKAGE="mednafen";MEDNAFEN_VERSION_NUMERIC=924;PSS_STYLE=1;MPC_FIXED_POINT;ARCH_X86;WANT_PSX_EMU;STDC_HEADERS;_CRT_SECURE_NO_WARNINGS;WANT_32BPP;NEED_DEINTERLACER;NEED_CD</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)/../mednafen;$(SolutionDir)/../;$(SolutionDir)/../mednafen-libretro;$(SolutionDir)/../mednafen/intl;$(SolutionDir)/../mednafen/psx;$(SolutionDir)/../mednafen/include;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<SubSystem>Windows</SubSystem>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalDependencies>winmm.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\..\libretro.cpp" />
<ClCompile Include="..\..\mednafen\cdrom\audioreader.cpp" />
<ClCompile Include="..\..\mednafen\cdrom\CDAccess.cpp" />
<ClCompile Include="..\..\mednafen\cdrom\CDAccess_Image.cpp" />
<ClCompile Include="..\..\mednafen\cdrom\cdromif.cpp" />
<ClCompile Include="..\..\mednafen\cdrom\CDUtility.cpp" />
<ClCompile Include="..\..\mednafen\cdrom\cd_crc32.cpp" />
<ClCompile Include="..\..\mednafen\cdrom\galois.cpp" />
<ClCompile Include="..\..\mednafen\cdrom\l-ec.cpp" />
<ClCompile Include="..\..\mednafen\cdrom\lec.cpp" />
<ClCompile Include="..\..\mednafen\cdrom\pcecd.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\mednafen\cdrom\recover-raw.cpp" />
<ClCompile Include="..\..\mednafen\cdrom\scsicd.cpp" />
<ClCompile Include="..\..\mednafen\cdrom\SimpleFIFO.cpp" />
<ClCompile Include="..\..\mednafen\endian.cpp" />
<ClCompile Include="..\..\mednafen\error.cpp" />
<ClCompile Include="..\..\mednafen\file.cpp" />
<ClCompile Include="..\..\mednafen\FileStream.cpp" />
<ClCompile Include="..\..\mednafen\FileWrapper.cpp" />
<ClCompile Include="..\..\mednafen\general.cpp" />
<ClCompile Include="..\..\mednafen\math_ops.cpp" />
<ClCompile Include="..\..\mednafen\md5.cpp" />
<ClCompile Include="..\..\mednafen\mednafen.cpp" />
<ClCompile Include="..\..\mednafen\MemoryStream.cpp" />
<ClCompile Include="..\..\mednafen\mempatcher.cpp" />
<ClCompile Include="..\..\mednafen\mpcdec\fastmath.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\huffman-bcl.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\huffman.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\mpc_bits_reader.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\mpc_crc32.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\mpc_decoder.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\mpc_demux.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\mpc_reader.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\requant.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\streaminfo.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\synth_filter.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\tags.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\cdc.cpp" />
<ClCompile Include="..\..\mednafen\psx\cpu.cpp" />
<ClCompile Include="..\..\mednafen\psx\dma.cpp" />
<ClCompile Include="..\..\mednafen\psx\frontio.cpp" />
<ClCompile Include="..\..\mednafen\psx\gpu.cpp" />
<ClCompile Include="..\..\mednafen\psx\gte.cpp" />
<ClCompile Include="..\..\mednafen\psx\input\dualanalog.cpp" />
<ClCompile Include="..\..\mednafen\psx\input\dualshock.cpp" />
<ClCompile Include="..\..\mednafen\psx\input\gamepad.cpp" />
<ClCompile Include="..\..\mednafen\psx\input\guncon.cpp" />
<ClCompile Include="..\..\mednafen\psx\input\justifier.cpp" />
<ClCompile Include="..\..\mednafen\psx\input\memcard.cpp" />
<ClCompile Include="..\..\mednafen\psx\input\mouse.cpp" />
<ClCompile Include="..\..\mednafen\psx\input\multitap.cpp" />
<ClCompile Include="..\..\mednafen\psx\input\negcon.cpp" />
<ClCompile Include="..\..\mednafen\psx\irq.cpp" />
<ClCompile Include="..\..\mednafen\psx\mdec.cpp" />
<ClCompile Include="..\..\mednafen\psx\psx.cpp" />
<ClCompile Include="..\..\mednafen\psx\sio.cpp" />
<ClCompile Include="..\..\mednafen\psx\spu.cpp" />
<ClCompile Include="..\..\mednafen\psx\timer.cpp" />
<ClCompile Include="..\..\mednafen\settings.cpp" />
<ClCompile Include="..\..\mednafen\sound\Blip_Buffer.cpp" />
<ClCompile Include="..\..\mednafen\sound\Stereo_Buffer.cpp" />
<ClCompile Include="..\..\mednafen\state.cpp" />
<ClCompile Include="..\..\mednafen\Stream.cpp" />
<ClCompile Include="..\..\mednafen\tremor\bitwise.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\block.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\codebook.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\floor0.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\floor1.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\framing.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\info.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\mapping0.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\mdct.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\registry.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\res012.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\sharedbook.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\synthesis.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\vorbisfile.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\window.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\trio\trio.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\trio\trionan.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\trio\triostr.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\mednafen\video\Deinterlacer.cpp" />
<ClCompile Include="..\..\mednafen\video\surface.cpp" />
<ClCompile Include="..\..\scrc32.cpp" />
<ClCompile Include="..\..\stubs.cpp" />
<ClCompile Include="..\..\stubs_thread.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\thread.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">true</ExcludedFromBuild>
</ClCompile>
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -1,307 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cc;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Resource Files">
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav;mfcribbon-ms</Extensions>
</Filter>
<Filter Include="Source Files\mednafen">
<UniqueIdentifier>{6e1feaad-8f37-43dc-a5a4-e7a7b3f5afb4}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\mednafen\psx">
<UniqueIdentifier>{2084ac9e-d736-4f6b-8ae9-bbac2fd7266f}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\mednafen\psx\input">
<UniqueIdentifier>{7a441143-fede-4e31-b53a-0f3760d90fe3}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\mednafen\cdrom">
<UniqueIdentifier>{4b65b457-bf54-4a58-8988-2d41de7836fc}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\mednafen\sound">
<UniqueIdentifier>{17bf18c6-2a07-456d-b3c9-c1e58e556733}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\mednafen\video">
<UniqueIdentifier>{6ebe59df-57e5-44cb-9a5d-cc954268c480}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\mednafen\mpcdec">
<UniqueIdentifier>{b69c19a1-9cd3-4b28-9663-de79e5423d10}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\mednafen\tremor">
<UniqueIdentifier>{f1639efc-7e36-4c58-ab3c-d662ee41d062}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\mednafen\trio">
<UniqueIdentifier>{89e4cbf5-fb18-4fa3-b994-52780890401b}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\libretro.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\stubs.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\thread.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\endian.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\error.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\file.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\FileWrapper.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\general.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\math_ops.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\md5.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\mednafen.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\mempatcher.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\settings.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\state.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\cdc.cpp">
<Filter>Source Files\mednafen\psx</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\cpu.cpp">
<Filter>Source Files\mednafen\psx</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\dma.cpp">
<Filter>Source Files\mednafen\psx</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\frontio.cpp">
<Filter>Source Files\mednafen\psx</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\gpu.cpp">
<Filter>Source Files\mednafen\psx</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\gte.cpp">
<Filter>Source Files\mednafen\psx</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\irq.cpp">
<Filter>Source Files\mednafen\psx</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\mdec.cpp">
<Filter>Source Files\mednafen\psx</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\psx.cpp">
<Filter>Source Files\mednafen\psx</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\sio.cpp">
<Filter>Source Files\mednafen\psx</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\spu.cpp">
<Filter>Source Files\mednafen\psx</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\timer.cpp">
<Filter>Source Files\mednafen\psx</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\input\dualanalog.cpp">
<Filter>Source Files\mednafen\psx\input</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\input\gamepad.cpp">
<Filter>Source Files\mednafen\psx\input</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\input\memcard.cpp">
<Filter>Source Files\mednafen\psx\input</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\input\mouse.cpp">
<Filter>Source Files\mednafen\psx\input</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\input\multitap.cpp">
<Filter>Source Files\mednafen\psx\input</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\cdrom\audioreader.cpp">
<Filter>Source Files\mednafen\cdrom</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\cdrom\CDAccess.cpp">
<Filter>Source Files\mednafen\cdrom</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\cdrom\CDAccess_Image.cpp">
<Filter>Source Files\mednafen\cdrom</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\cdrom\cdromif.cpp">
<Filter>Source Files\mednafen\cdrom</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\cdrom\CDUtility.cpp">
<Filter>Source Files\mednafen\cdrom</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\cdrom\galois.cpp">
<Filter>Source Files\mednafen\cdrom</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\cdrom\lec.cpp">
<Filter>Source Files\mednafen\cdrom</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\cdrom\l-ec.cpp">
<Filter>Source Files\mednafen\cdrom</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\cdrom\pcecd.cpp">
<Filter>Source Files\mednafen\cdrom</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\cdrom\recover-raw.cpp">
<Filter>Source Files\mednafen\cdrom</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\cdrom\scsicd.cpp">
<Filter>Source Files\mednafen\cdrom</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\cdrom\SimpleFIFO.cpp">
<Filter>Source Files\mednafen\cdrom</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\sound\Blip_Buffer.cpp">
<Filter>Source Files\mednafen\sound</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\sound\Stereo_Buffer.cpp">
<Filter>Source Files\mednafen\sound</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\video\Deinterlacer.cpp">
<Filter>Source Files\mednafen\video</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\video\surface.cpp">
<Filter>Source Files\mednafen\video</Filter>
</ClCompile>
<ClCompile Include="..\..\stubs_thread.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\tags.c">
<Filter>Source Files\mednafen\mpcdec</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\fastmath.c">
<Filter>Source Files\mednafen\mpcdec</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\huffman.c">
<Filter>Source Files\mednafen\mpcdec</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\huffman-bcl.c">
<Filter>Source Files\mednafen\mpcdec</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\mpc_bits_reader.c">
<Filter>Source Files\mednafen\mpcdec</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\mpc_crc32.c">
<Filter>Source Files\mednafen\mpcdec</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\mpc_decoder.c">
<Filter>Source Files\mednafen\mpcdec</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\mpc_demux.c">
<Filter>Source Files\mednafen\mpcdec</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\mpc_reader.c">
<Filter>Source Files\mednafen\mpcdec</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\requant.c">
<Filter>Source Files\mednafen\mpcdec</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\streaminfo.c">
<Filter>Source Files\mednafen\mpcdec</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\mpcdec\synth_filter.c">
<Filter>Source Files\mednafen\mpcdec</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\window.c">
<Filter>Source Files\mednafen\tremor</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\bitwise.c">
<Filter>Source Files\mednafen\tremor</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\block.c">
<Filter>Source Files\mednafen\tremor</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\codebook.c">
<Filter>Source Files\mednafen\tremor</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\floor0.c">
<Filter>Source Files\mednafen\tremor</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\floor1.c">
<Filter>Source Files\mednafen\tremor</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\framing.c">
<Filter>Source Files\mednafen\tremor</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\info.c">
<Filter>Source Files\mednafen\tremor</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\mapping0.c">
<Filter>Source Files\mednafen\tremor</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\mdct.c">
<Filter>Source Files\mednafen\tremor</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\registry.c">
<Filter>Source Files\mednafen\tremor</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\res012.c">
<Filter>Source Files\mednafen\tremor</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\sharedbook.c">
<Filter>Source Files\mednafen\tremor</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\synthesis.c">
<Filter>Source Files\mednafen\tremor</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\tremor\vorbisfile.c">
<Filter>Source Files\mednafen\tremor</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\MemoryStream.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\FileStream.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\trio\triostr.c">
<Filter>Source Files\mednafen\trio</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\trio\trio.c">
<Filter>Source Files\mednafen\trio</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\trio\trionan.c">
<Filter>Source Files\mednafen\trio</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\Stream.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\input\negcon.cpp">
<Filter>Source Files\mednafen\psx\input</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\input\dualshock.cpp">
<Filter>Source Files\mednafen\psx\input</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\input\guncon.cpp">
<Filter>Source Files\mednafen\psx\input</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\psx\input\justifier.cpp">
<Filter>Source Files\mednafen\psx\input</Filter>
</ClCompile>
<ClCompile Include="..\..\scrc32.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\mednafen\cdrom\cd_crc32.cpp">
<Filter>Source Files\mednafen\cdrom</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@ -0,0 +1,32 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "msvc_2010_360", "msvc_2010_360\msvc_2010_360.vcxproj", "{38462FE9-E3FC-4336-B241-50F5599C537B}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
CodeAnalysis|Xbox 360 = CodeAnalysis|Xbox 360
Debug|Xbox 360 = Debug|Xbox 360
Profile_FastCap|Xbox 360 = Profile_FastCap|Xbox 360
Profile|Xbox 360 = Profile|Xbox 360
Release_LTCG|Xbox 360 = Release_LTCG|Xbox 360
Release|Xbox 360 = Release|Xbox 360
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{38462FE9-E3FC-4336-B241-50F5599C537B}.CodeAnalysis|Xbox 360.ActiveCfg = CodeAnalysis|Xbox 360
{38462FE9-E3FC-4336-B241-50F5599C537B}.CodeAnalysis|Xbox 360.Build.0 = CodeAnalysis|Xbox 360
{38462FE9-E3FC-4336-B241-50F5599C537B}.Debug|Xbox 360.ActiveCfg = Debug|Xbox 360
{38462FE9-E3FC-4336-B241-50F5599C537B}.Debug|Xbox 360.Build.0 = Debug|Xbox 360
{38462FE9-E3FC-4336-B241-50F5599C537B}.Profile_FastCap|Xbox 360.ActiveCfg = Profile_FastCap|Xbox 360
{38462FE9-E3FC-4336-B241-50F5599C537B}.Profile_FastCap|Xbox 360.Build.0 = Profile_FastCap|Xbox 360
{38462FE9-E3FC-4336-B241-50F5599C537B}.Profile|Xbox 360.ActiveCfg = Profile|Xbox 360
{38462FE9-E3FC-4336-B241-50F5599C537B}.Profile|Xbox 360.Build.0 = Profile|Xbox 360
{38462FE9-E3FC-4336-B241-50F5599C537B}.Release_LTCG|Xbox 360.ActiveCfg = Release_LTCG|Xbox 360
{38462FE9-E3FC-4336-B241-50F5599C537B}.Release_LTCG|Xbox 360.Build.0 = Release_LTCG|Xbox 360
{38462FE9-E3FC-4336-B241-50F5599C537B}.Release|Xbox 360.ActiveCfg = Release|Xbox 360
{38462FE9-E3FC-4336-B241-50F5599C537B}.Release|Xbox 360.Build.0 = Release|Xbox 360
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -0,0 +1,300 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="CodeAnalysis|Xbox 360">
<Configuration>CodeAnalysis</Configuration>
<Platform>Xbox 360</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Debug|Xbox 360">
<Configuration>Debug</Configuration>
<Platform>Xbox 360</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Profile|Xbox 360">
<Configuration>Profile</Configuration>
<Platform>Xbox 360</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Profile_FastCap|Xbox 360">
<Configuration>Profile_FastCap</Configuration>
<Platform>Xbox 360</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Xbox 360">
<Configuration>Release</Configuration>
<Platform>Xbox 360</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release_LTCG|Xbox 360">
<Configuration>Release_LTCG</Configuration>
<Platform>Xbox 360</Platform>
</ProjectConfiguration>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\libretro.cpp" />
<ClCompile Include="..\..\..\mednafen\endian.cpp" />
<ClCompile Include="..\..\..\mednafen\error.cpp" />
<ClCompile Include="..\..\..\mednafen\file.cpp" />
<ClCompile Include="..\..\..\mednafen\FileStream.cpp" />
<ClCompile Include="..\..\..\mednafen\FileWrapper.cpp" />
<ClCompile Include="..\..\..\mednafen\general.cpp" />
<ClCompile Include="..\..\..\mednafen\hw_cpu\z80-fuse\z80.cpp" />
<ClCompile Include="..\..\..\mednafen\hw_cpu\z80-fuse\z80_ops.cpp" />
<ClCompile Include="..\..\..\mednafen\math_ops.cpp" />
<ClCompile Include="..\..\..\mednafen\md5.cpp" />
<ClCompile Include="..\..\..\mednafen\mednafen.cpp" />
<ClCompile Include="..\..\..\mednafen\MemoryStream.cpp" />
<ClCompile Include="..\..\..\mednafen\mempatcher.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\bios.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\biosHLE.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\dma.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\flash.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\gfx.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\gfx_scanline_colour.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\gfx_scanline_mono.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\interrupt.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\mem.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\neopop.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\rom.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\rtc.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\sound.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\T6W28_Apu.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_disassemble.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_disassemble_dst.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_disassemble_extra.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_disassemble_reg.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_disassemble_src.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_interpret.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_interpret_dst.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_interpret_reg.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_interpret_single.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_interpret_src.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_registers.cpp" />
<ClCompile Include="..\..\..\mednafen\ngp\Z80_interface.cpp" />
<ClCompile Include="..\..\..\mednafen\okiadpcm.cpp" />
<ClCompile Include="..\..\..\mednafen\settings.cpp" />
<ClCompile Include="..\..\..\mednafen\sound\Blip_Buffer.cpp" />
<ClCompile Include="..\..\..\mednafen\sound\Stereo_Buffer.cpp" />
<ClCompile Include="..\..\..\mednafen\state.cpp" />
<ClCompile Include="..\..\..\mednafen\Stream.cpp" />
<ClCompile Include="..\..\..\mednafen\trio\trio.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile_FastCap|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\trio\triostr.c">
<CompileAs Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Profile_FastCap|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">CompileAsC</CompileAs>
<CompileAs Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">CompileAsC</CompileAs>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\video\Deinterlacer.cpp" />
<ClCompile Include="..\..\..\mednafen\video\surface.cpp" />
<ClCompile Include="..\..\..\scrc32.cpp" />
<ClCompile Include="..\..\..\stubs.cpp" />
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectGuid>{38462FE9-E3FC-4336-B241-50F5599C537B}</ProjectGuid>
<Keyword>Xbox360Proj</Keyword>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile|Xbox 360'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile_FastCap|Xbox 360'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'" Label="Configuration">
<ConfigurationType>StaticLibrary</ConfigurationType>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Profile|Xbox 360'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Profile_FastCap|Xbox 360'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">
<OutputFile>$(OutDir)libretro_xdk360$(TargetExt)</OutputFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">
<OutputFile>$(OutDir)libretro_xdk360$(TargetExt)</OutputFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile|Xbox 360'">
<OutputFile>$(OutDir)libretro_xdk360$(TargetExt)</OutputFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Profile_FastCap|Xbox 360'">
<OutputFile>$(OutDir)libretro_xdk360$(TargetExt)</OutputFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">
<OutputFile>$(OutDir)libretro_xdk360$(TargetExt)</OutputFile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">
<OutputFile>$(OutDir)libretro_xdk360$(TargetExt)</OutputFile>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Xbox 360'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level3</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<Optimization>Disabled</Optimization>
<ExceptionHandling>false</ExceptionHandling>
<MinimalRebuild>true</MinimalRebuild>
<BufferSecurityCheck>false</BufferSecurityCheck>
<PrecompiledHeaderOutputFile>$(OutDir)$(ProjectName).pch</PrecompiledHeaderOutputFile>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<PreprocessorDefinitions>_DEBUG;_XBOX;_LIB;MSB_FIRST;WANT_NGP_EMU;WANT_32BPP;SIZEOF_DOUBLE=8;MEDNAFEN_VERSION=0.9.26;MPC_FIXED_POINT;__LIBRETRO__;_LOW_ACCURACY;WANT_STEREO_SOUND;FRONTEND_SUPPORTS_RGB565;PSS_STYLE=2;MEDNAFEN_VERSION_NUMERIC=926;BYTE_ORDER=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<CallAttributedProfiling>Callcap</CallAttributedProfiling>
<AdditionalIncludeDirectories>$(SolutionDir)\..\..\;$(SolutionDir)\..\..\mednafen;$(SolutionDir)\..\..\mednafen\cdrom;$(SolutionDir)\..\..\mednafen\include;$(SolutionDir)\..\..\mednafen\sound;$(SolutionDir)\..\..\mednafen\ngp;$(SolutionDir)\..\..\mednafen\hw_cpu;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='CodeAnalysis|Xbox 360'">
<ClCompile>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<WarningLevel>Level4</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<Optimization>Disabled</Optimization>
<ExceptionHandling>false</ExceptionHandling>
<MinimalRebuild>true</MinimalRebuild>
<PREfast>AnalyzeOnly</PREfast>
<BufferSecurityCheck>false</BufferSecurityCheck>
<PrecompiledHeaderOutputFile>$(OutDir)$(ProjectName).pch</PrecompiledHeaderOutputFile>
<RuntimeLibrary>MultiThreadedDebug</RuntimeLibrary>
<PreprocessorDefinitions>_DEBUG;_XBOX;_LIB;MSB_FIRST;WANT_NGP_EMU;WANT_32BPP;SIZEOF_DOUBLE=8;MEDNAFEN_VERSION=0.9.26;MPC_FIXED_POINT;__LIBRETRO__;_LOW_ACCURACY;WANT_STEREO_SOUND;FRONTEND_SUPPORTS_RGB565;PSS_STYLE=2;MEDNAFEN_VERSION_NUMERIC=926;BYTE_ORDER=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<CallAttributedProfiling>Callcap</CallAttributedProfiling>
<AdditionalIncludeDirectories>$(SolutionDir)\..\..\;$(SolutionDir)\..\..\mednafen;$(SolutionDir)\..\..\mednafen\cdrom;$(SolutionDir)\..\..\mednafen\include;$(SolutionDir)\..\..\mednafen\sound;$(SolutionDir)\..\..\mednafen\ngp;$(SolutionDir)\..\..\mednafen\hw_cpu;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Profile|Xbox 360'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<Optimization>Full</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<ExceptionHandling>false</ExceptionHandling>
<StringPooling>true</StringPooling>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<BufferSecurityCheck>false</BufferSecurityCheck>
<PrecompiledHeaderOutputFile>$(OutDir)$(ProjectName).pch</PrecompiledHeaderOutputFile>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PreprocessorDefinitions>NDEBUG;_XBOX;PROFILE;_LIB;MSB_FIRST;WANT_NGP_EMU;WANT_32BPP;SIZEOF_DOUBLE=8;MEDNAFEN_VERSION=0.9.26;MPC_FIXED_POINT;__LIBRETRO__;_LOW_ACCURACY;WANT_STEREO_SOUND;FRONTEND_SUPPORTS_RGB565;PSS_STYLE=2;MEDNAFEN_VERSION_NUMERIC=926;BYTE_ORDER=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<CallAttributedProfiling>Callcap</CallAttributedProfiling>
<AdditionalIncludeDirectories>$(SolutionDir)\..\..\;$(SolutionDir)\..\..\mednafen;$(SolutionDir)\..\..\mednafen\cdrom;$(SolutionDir)\..\..\mednafen\include;$(SolutionDir)\..\..\mednafen\sound;$(SolutionDir)\..\..\mednafen\ngp;$(SolutionDir)\..\..\mednafen\hw_cpu;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>false</EnableCOMDATFolding>
<IgnoreSpecificDefaultLibraries>xapilib.lib;%(IgnoreSpecificDefaultLibraries)</IgnoreSpecificDefaultLibraries>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Profile_FastCap|Xbox 360'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<Optimization>Full</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<ExceptionHandling>false</ExceptionHandling>
<StringPooling>true</StringPooling>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CallAttributedProfiling>Fastcap</CallAttributedProfiling>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<BufferSecurityCheck>false</BufferSecurityCheck>
<PrecompiledHeaderOutputFile>$(OutDir)$(ProjectName).pch</PrecompiledHeaderOutputFile>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PreprocessorDefinitions>NDEBUG;_XBOX;PROFILE;FASTCAP;_LIB;MSB_FIRST;WANT_NGP_EMU;WANT_32BPP;SIZEOF_DOUBLE=8;MEDNAFEN_VERSION=0.9.26;MPC_FIXED_POINT;__LIBRETRO__;_LOW_ACCURACY;WANT_STEREO_SOUND;FRONTEND_SUPPORTS_RGB565;PSS_STYLE=2;MEDNAFEN_VERSION_NUMERIC=926;BYTE_ORDER=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)\..\..\;$(SolutionDir)\..\..\mednafen;$(SolutionDir)\..\..\mednafen\cdrom;$(SolutionDir)\..\..\mednafen\include;$(SolutionDir)\..\..\mednafen\sound;$(SolutionDir)\..\..\mednafen\ngp;$(SolutionDir)\..\..\mednafen\hw_cpu;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>false</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Xbox 360'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<Optimization>Full</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<StringPooling>true</StringPooling>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<ExceptionHandling>false</ExceptionHandling>
<BufferSecurityCheck>false</BufferSecurityCheck>
<PrecompiledHeaderOutputFile>$(OutDir)$(ProjectName).pch</PrecompiledHeaderOutputFile>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PreprocessorDefinitions>NDEBUG;_XBOX;_LIB;MSB_FIRST;WANT_NGP_EMU;WANT_32BPP;SIZEOF_DOUBLE=8;MEDNAFEN_VERSION=0.9.26;MPC_FIXED_POINT;__LIBRETRO__;_LOW_ACCURACY;WANT_STEREO_SOUND;FRONTEND_SUPPORTS_RGB565;PSS_STYLE=2;MEDNAFEN_VERSION_NUMERIC=926;BYTE_ORDER=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)\..\..\;$(SolutionDir)\..\..\mednafen;$(SolutionDir)\..\..\mednafen\cdrom;$(SolutionDir)\..\..\mednafen\include;$(SolutionDir)\..\..\mednafen\sound;$(SolutionDir)\..\..\mednafen\ngp;$(SolutionDir)\..\..\mednafen\hw_cpu;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release_LTCG|Xbox 360'">
<ClCompile>
<WarningLevel>Level3</WarningLevel>
<PrecompiledHeader>NotUsing</PrecompiledHeader>
<Optimization>Full</Optimization>
<FunctionLevelLinking>true</FunctionLevelLinking>
<StringPooling>true</StringPooling>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<FavorSizeOrSpeed>Size</FavorSizeOrSpeed>
<ExceptionHandling>false</ExceptionHandling>
<BufferSecurityCheck>false</BufferSecurityCheck>
<PrecompiledHeaderOutputFile>$(OutDir)$(ProjectName).pch</PrecompiledHeaderOutputFile>
<RuntimeLibrary>MultiThreaded</RuntimeLibrary>
<PreprocessorDefinitions>NDEBUG;_XBOX;LTCG;_LIB;MSB_FIRST;WANT_NGP_EMU;WANT_32BPP;SIZEOF_DOUBLE=8;MEDNAFEN_VERSION=0.9.26;MPC_FIXED_POINT;__LIBRETRO__;_LOW_ACCURACY;WANT_STEREO_SOUND;FRONTEND_SUPPORTS_RGB565;PSS_STYLE=2;MEDNAFEN_VERSION_NUMERIC=926;BYTE_ORDER=1;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<AdditionalIncludeDirectories>$(SolutionDir)\..\..\;$(SolutionDir)\..\..\mednafen;$(SolutionDir)\..\..\mednafen\cdrom;$(SolutionDir)\..\..\mednafen\include;$(SolutionDir)\..\..\mednafen\sound;$(SolutionDir)\..\..\mednafen\ngp;$(SolutionDir)\..\..\mednafen\hw_cpu;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
</ClCompile>
<Link>
<GenerateDebugInformation>true</GenerateDebugInformation>
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
</Link>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
</Project>

View File

@ -0,0 +1,195 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Source Files">
<UniqueIdentifier>{4FC737F1-C7A5-4376-A066-2A32D752A2FF}</UniqueIdentifier>
<Extensions>cpp;c;cxx;def;odl;idl;hpj;bat;asm;asmx</Extensions>
</Filter>
<Filter Include="Header Files">
<UniqueIdentifier>{93995380-89BD-4b04-88EB-625FBE52EBFB}</UniqueIdentifier>
<Extensions>h;hpp;hxx;hm;inl;inc;xsd</Extensions>
</Filter>
<Filter Include="Source Files\mednafen">
<UniqueIdentifier>{7e2d28e1-7dea-4830-b6d9-eda0e7a17ecd}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\mednafen\ngp">
<UniqueIdentifier>{582ed0f8-b1c4-43b6-a8a4-02539d97db13}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\mednafen\ngp\TLCS-900h">
<UniqueIdentifier>{3adc016c-dd82-4dbd-b759-6c3d1b204afa}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\mednafen\hw_cpu">
<UniqueIdentifier>{861b7018-2e33-4135-85a7-7c4a0c4a3b07}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\mednafen\hw_cpu\z80-fuse">
<UniqueIdentifier>{a95cfa3b-fcb5-4c31-9fd4-abc04fdd24f7}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\mednafen\sound">
<UniqueIdentifier>{1e91b900-1745-439d-9376-bc26074e1010}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\mednafen\video">
<UniqueIdentifier>{82077d1a-8197-4b2f-8098-2818f64b525d}</UniqueIdentifier>
</Filter>
<Filter Include="Source Files\mednafen\trio">
<UniqueIdentifier>{35dd6f7d-5243-42fb-bf3b-66ae5808c1da}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\..\..\mednafen\Stream.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\endian.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\error.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\file.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\FileStream.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\FileWrapper.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\general.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\math_ops.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\md5.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\mednafen.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\MemoryStream.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\mempatcher.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\okiadpcm.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\settings.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\state.cpp">
<Filter>Source Files\mednafen</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\bios.cpp">
<Filter>Source Files\mednafen\ngp</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\biosHLE.cpp">
<Filter>Source Files\mednafen\ngp</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\dma.cpp">
<Filter>Source Files\mednafen\ngp</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\flash.cpp">
<Filter>Source Files\mednafen\ngp</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\gfx.cpp">
<Filter>Source Files\mednafen\ngp</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\gfx_scanline_colour.cpp">
<Filter>Source Files\mednafen\ngp</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\gfx_scanline_mono.cpp">
<Filter>Source Files\mednafen\ngp</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\interrupt.cpp">
<Filter>Source Files\mednafen\ngp</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\mem.cpp">
<Filter>Source Files\mednafen\ngp</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\neopop.cpp">
<Filter>Source Files\mednafen\ngp</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\rom.cpp">
<Filter>Source Files\mednafen\ngp</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\rtc.cpp">
<Filter>Source Files\mednafen\ngp</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\sound.cpp">
<Filter>Source Files\mednafen\ngp</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\T6W28_Apu.cpp">
<Filter>Source Files\mednafen\ngp</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\Z80_interface.cpp">
<Filter>Source Files\mednafen\ngp</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_registers.cpp">
<Filter>Source Files\mednafen\ngp\TLCS-900h</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_disassemble.cpp">
<Filter>Source Files\mednafen\ngp\TLCS-900h</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_disassemble_dst.cpp">
<Filter>Source Files\mednafen\ngp\TLCS-900h</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_disassemble_extra.cpp">
<Filter>Source Files\mednafen\ngp\TLCS-900h</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_disassemble_reg.cpp">
<Filter>Source Files\mednafen\ngp\TLCS-900h</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_disassemble_src.cpp">
<Filter>Source Files\mednafen\ngp\TLCS-900h</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_interpret.cpp">
<Filter>Source Files\mednafen\ngp\TLCS-900h</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_interpret_dst.cpp">
<Filter>Source Files\mednafen\ngp\TLCS-900h</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_interpret_reg.cpp">
<Filter>Source Files\mednafen\ngp\TLCS-900h</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_interpret_single.cpp">
<Filter>Source Files\mednafen\ngp\TLCS-900h</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\ngp\TLCS-900h\TLCS900h_interpret_src.cpp">
<Filter>Source Files\mednafen\ngp\TLCS-900h</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\hw_cpu\z80-fuse\z80_ops.cpp">
<Filter>Source Files\mednafen\hw_cpu\z80-fuse</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\hw_cpu\z80-fuse\z80.cpp">
<Filter>Source Files\mednafen\hw_cpu\z80-fuse</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\sound\Blip_Buffer.cpp">
<Filter>Source Files\mednafen\sound</Filter>
</ClCompile>
<ClCompile Include="..\..\..\stubs.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\libretro.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\scrc32.cpp">
<Filter>Source Files</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\video\surface.cpp">
<Filter>Source Files\mednafen\video</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\video\Deinterlacer.cpp">
<Filter>Source Files\mednafen\video</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\trio\triostr.c">
<Filter>Source Files\mednafen\trio</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\trio\trio.c">
<Filter>Source Files\mednafen\trio</Filter>
</ClCompile>
<ClCompile Include="..\..\..\mednafen\sound\Stereo_Buffer.cpp">
<Filter>Source Files\mednafen\sound</Filter>
</ClCompile>
</ItemGroup>
</Project>

View File

@ -10,33 +10,18 @@
#include <ppu_intrinsics.h>
#endif
#ifndef _WIN32
#ifdef _WIN32
#include <io.h>
#else
#include <unistd.h>
#endif
#include <iostream>
#ifdef _WIN32
#include <windows.h>
#else
#include <sys/time.h>
#endif
//#define LIBRETRO_DEBUG
// Stubs
void MDFND_Sleep(unsigned int time)
{
#if defined(__CELLOS_LV2__)
sys_timer_usleep(time * 1000);
#elif defined(_WIN32)
Sleep(time);
#else
usleep(time * 1000);
#endif
}
extern std::string retro_base_directory;
extern std::string retro_base_name;
@ -101,41 +86,6 @@ void MDFND_PrintError(const char* err)
#endif
}
uint32 MDFND_GetTime()
{
static bool first = true;
static uint32_t start_ms;
#if defined(__CELLOS_LV2__)
uint64_t time = __mftb();
uint32_t ms = (time - start_ms) / 1000;
if (first)
{
start_ms = ms;
first = false;
}
#elif defined(_WIN32)
DWORD ms = timeGetTime();
if (first)
{
start_ms = ms;
first = false;
}
#else
struct timeval val;
gettimeofday(&val, NULL);
uint32_t ms = val.tv_sec * 1000 + val.tv_usec / 1000;
if (first)
{
start_ms = ms;
first = false;
}
#endif
return ms - start_ms;
}
#ifdef WANT_THREADING