win32: remove zziplib, no longer necessary with 7z included; remove vs2010 project, hopelessly broken and out of date; cleanup main rom openfiledialog usage w.r.t. suggested extensions; use a zlib which is built more robustly

This commit is contained in:
zeromus 2009-11-14 19:16:27 +00:00
parent bbcda495e5
commit a6eb5c11d9
22 changed files with 261 additions and 2388 deletions

View File

@ -55,7 +55,7 @@
EnableFiberSafeOptimizations="false"
WholeProgramOptimization="false"
AdditionalIncludeDirectories=".;..;"lua\lua-5.1.4\src";"glib-2.20.1\build";"glib-2.20.1\build\glib";.\zlib123;.\zziplib;.\winpcap;userconfig;defaultconfig;.\7z;.\agg\include;.\agg\examples"
PreprocessorDefinitions="_CRT_NONSTDC_NO_DEPRECATE;DEBUG;_CRT_SECURE_NO_DEPRECATE;GLIB_STATIC_COMPILATION;WIN32;SPU_INTERPOLATE;HAVE_LIBZ;HAVE_LIBZZIP;NOMINMAX;_WIN32_WINNT=0x0501"
PreprocessorDefinitions="_CRT_NONSTDC_NO_DEPRECATE;DEBUG;_CRT_SECURE_NO_DEPRECATE;GLIB_STATIC_COMPILATION;WIN32;HAVE_LIBZ;NOMINMAX;_WIN32_WINNT=0x0501"
ExceptionHandling="1"
BasicRuntimeChecks="0"
BufferSecurityCheck="true"
@ -78,7 +78,7 @@
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="agg-2.5.lib lua-5.1.4-x86d.lib glib-2.20.1-x86.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\dxguid.lib shell32.lib comdlg32.lib directx\dxerr8.lib directx\dsound.lib directx\dinput8.lib directx\ddraw.lib zlib-2005-x32.lib zziplib-2005-x32.lib shlwapi.lib winpcap\wpcap.lib 7zip.lib"
AdditionalDependencies="zlib-vc8-Win32.lib agg-2.5.lib lua-5.1.4-x86d.lib glib-2.20.1-x86.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\dxguid.lib shell32.lib comdlg32.lib directx\dxerr8.lib directx\dsound.lib directx\dinput8.lib directx\ddraw.lib shlwapi.lib winpcap\wpcap.lib 7zip.lib"
OutputFile="$(OutDir)\$(ProjectName)_debug.exe"
AdditionalLibraryDirectories=".\zlib123;.\zziplib;glib-2.20.1\lib;.\lua\lib;.\7z;agg"
DelayLoadDLLs="wpcap.dll"
@ -112,205 +112,6 @@
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)\__bins"
IntermediateDirectory="$(SolutionDir)\.VS2005\$(ConfigurationName)\$(PlatformName)"
ConfigurationType="1"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="defaultconfig\SubWCRev.bat"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="MASM"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="2"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
EnableFiberSafeOptimizations="true"
WholeProgramOptimization="true"
AdditionalIncludeDirectories=".;..;&quot;lua\lua-5.1.4\src&quot;;&quot;glib-2.20.1\build&quot;;&quot;glib-2.20.1\build\glib&quot;;.\zlib123;.\zziplib;.\winpcap;userconfig;defaultconfig;.\7z;.\agg\include;.\agg\examples"
PreprocessorDefinitions="_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;GLIB_STATIC_COMPILATION;WIN32;HAVE_LIBZ;HAVE_LIBZZIP;SPU_INTERPOLATE;NOMINMAX;NDEBUG;RELEASE;_WIN32_WINNT=0x0501"
StringPooling="true"
ExceptionHandling="1"
BasicRuntimeChecks="0"
StructMemberAlignment="0"
BufferSecurityCheck="false"
EnableFunctionLevelLinking="false"
EnableEnhancedInstructionSet="2"
FloatingPointModel="2"
RuntimeTypeInfo="false"
WarningLevel="1"
DebugInformationFormat="3"
CallingConvention="0"
CompileAs="0"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="agg-2.5.lib lua-5.1.4-x86.lib glib-2.20.1-x86.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\dxguid.lib shell32.lib comdlg32.lib directx\dxerr8.lib directx\dsound.lib directx\dinput8.lib directx\ddraw.lib zlib-2005-x32.lib zziplib-2005-x32.lib shlwapi.lib winpcap\wpcap.lib 7zip.lib"
OutputFile="$(OutDir)\$(ProjectName)_release.exe"
AdditionalLibraryDirectories=".\zlib123;.\zziplib;glib-2.20.1\lib;.\lua\lib;.\7z;agg"
DelayLoadDLLs="wpcap.dll"
GenerateDebugInformation="true"
GenerateMapFile="true"
EnableCOMDATFolding="0"
OptimizeForWindows98="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
AdditionalManifestFiles="DeSmuME_x86.manifest"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release FastBuild|Win32"
OutputDirectory="$(SolutionDir)\__bins"
IntermediateDirectory="$(SolutionDir)\.VS2005\$(ConfigurationName)\$(PlatformName)"
ConfigurationType="1"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
WholeProgramOptimization="0"
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="defaultconfig\SubWCRev.bat"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="MASM"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="2"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
EnableFiberSafeOptimizations="true"
WholeProgramOptimization="false"
AdditionalIncludeDirectories=".;..;&quot;lua\lua-5.1.4\src&quot;;&quot;glib-2.20.1\build&quot;;&quot;glib-2.20.1\build\glib&quot;;.\zlib123;.\zziplib;.\winpcap;userconfig;defaultconfig;.\7z;.\agg\include;.\agg\examples"
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;GLIB_STATIC_COMPILATION;WIN32;HAVE_LIBZ;HAVE_LIBZZIP;SPU_INTERPOLATE;NOMINMAX;NDEBUG;RELEASE;_WIN32_WINNT=0x0501"
StringPooling="true"
ExceptionHandling="1"
BasicRuntimeChecks="0"
StructMemberAlignment="0"
BufferSecurityCheck="false"
EnableFunctionLevelLinking="false"
EnableEnhancedInstructionSet="2"
FloatingPointModel="2"
RuntimeTypeInfo="false"
WarningLevel="3"
WarnAsError="false"
DebugInformationFormat="3"
CallingConvention="0"
CompileAs="0"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="agg-2.5.lib lua-5.1.4-x86.lib glib-2.20.1-x86.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\dxguid.lib shell32.lib comdlg32.lib directx\dxerr8.lib directx\dsound.lib directx\dinput8.lib directx\ddraw.lib zlib-2005-x32.lib zziplib-2005-x32.lib shlwapi.lib winpcap\wpcap.lib 7zip.lib"
OutputFile="$(OutDir)\$(ProjectName)_releaseFastBuild.exe"
AdditionalLibraryDirectories=".\zlib123;.\zziplib;glib-2.20.1\lib;.\lua\lib;.\7z;agg"
DelayLoadDLLs="wpcap.dll"
GenerateDebugInformation="true"
GenerateMapFile="true"
OptimizeReferences="2"
EnableCOMDATFolding="0"
OptimizeForWindows98="1"
LinkTimeCodeGeneration="0"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
AdditionalManifestFiles="DeSmuME_x86.manifest"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Debug|x64"
OutputDirectory="$(SolutionDir)\__bins"
@ -370,7 +171,7 @@
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="agg-2.5-x64.lib lua-5.1.4-x64.lib glib-2.20.1-x64.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\x64\dxguid.lib shell32.lib comdlg32.lib directx\x64\dxerr8.lib directx\x64\dsound.lib directx\x64\dinput8.lib directx\x64\ddraw.lib zlib-2005-x64.lib zziplib-2005-x64.lib shlwapi.lib winpcap\x64\wpcap.lib 7zip-x64.lib"
AdditionalDependencies="zlib-vc8-x64.lib agg-2.5-x64.lib lua-5.1.4-x64.lib glib-2.20.1-x64.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\x64\dxguid.lib shell32.lib comdlg32.lib directx\x64\dxerr8.lib directx\x64\dsound.lib directx\x64\dinput8.lib directx\x64\ddraw.lib shlwapi.lib winpcap\x64\wpcap.lib 7zip-x64.lib"
OutputFile="$(OutDir)\$(ProjectName)_x64_debug.exe"
AdditionalLibraryDirectories=".\zlib123;.\zziplib;glib-2.20.1\lib;.\lua\lib;.\7z;agg"
DelayLoadDLLs="wpcap.dll"
@ -405,6 +206,104 @@
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|Win32"
OutputDirectory="$(SolutionDir)\__bins"
IntermediateDirectory="$(SolutionDir)\.VS2005\$(ConfigurationName)\$(PlatformName)"
ConfigurationType="1"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
WholeProgramOptimization="1"
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="defaultconfig\SubWCRev.bat"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="MASM"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="2"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
EnableFiberSafeOptimizations="true"
WholeProgramOptimization="true"
AdditionalIncludeDirectories=".;..;&quot;lua\lua-5.1.4\src&quot;;&quot;glib-2.20.1\build&quot;;&quot;glib-2.20.1\build\glib&quot;;.\zlib123;.\zziplib;.\winpcap;userconfig;defaultconfig;.\7z;.\agg\include;.\agg\examples"
PreprocessorDefinitions="_CRT_NONSTDC_NO_DEPRECATE;_CRT_SECURE_NO_DEPRECATE;GLIB_STATIC_COMPILATION;WIN32;HAVE_LIBZ;NOMINMAX;NDEBUG;RELEASE;_WIN32_WINNT=0x0501"
StringPooling="true"
ExceptionHandling="1"
BasicRuntimeChecks="0"
StructMemberAlignment="0"
BufferSecurityCheck="false"
EnableFunctionLevelLinking="false"
EnableEnhancedInstructionSet="2"
FloatingPointModel="2"
RuntimeTypeInfo="false"
WarningLevel="1"
DebugInformationFormat="3"
CallingConvention="0"
CompileAs="0"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="zlib-vc8-Win32.lib agg-2.5.lib lua-5.1.4-x86.lib glib-2.20.1-x86.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\dxguid.lib shell32.lib comdlg32.lib directx\dxerr8.lib directx\dsound.lib directx\dinput8.lib directx\ddraw.lib shlwapi.lib winpcap\wpcap.lib 7zip.lib"
OutputFile="$(OutDir)\$(ProjectName)_release.exe"
AdditionalLibraryDirectories=".\zlib123;.\zziplib;glib-2.20.1\lib;.\lua\lib;.\7z;agg"
DelayLoadDLLs="wpcap.dll"
GenerateDebugInformation="true"
GenerateMapFile="true"
EnableCOMDATFolding="0"
OptimizeForWindows98="1"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
AdditionalManifestFiles="DeSmuME_x86.manifest"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release|x64"
OutputDirectory="$(SolutionDir)\__bins"
@ -469,7 +368,7 @@
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="agg-2.5-x64.lib lua-5.1.4-x64.lib glib-2.20.1-x64.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\x64\dxguid.lib shell32.lib comdlg32.lib directx\x64\dxerr8.lib directx\x64\dsound.lib directx\x64\dinput8.lib directx\x64\ddraw.lib zlib-2005-x64.lib zziplib-2005-x64.lib shlwapi.lib winpcap\x64\wpcap.lib 7zip-x64.lib"
AdditionalDependencies="zlib-vc8-x64.lib agg-2.5-x64.lib lua-5.1.4-x64.lib glib-2.20.1-x64.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\x64\dxguid.lib shell32.lib comdlg32.lib directx\x64\dxerr8.lib directx\x64\dsound.lib directx\x64\dinput8.lib directx\x64\ddraw.lib shlwapi.lib winpcap\x64\wpcap.lib 7zip-x64.lib"
OutputFile="$(OutDir)\$(ProjectName)_x64_release.exe"
AdditionalLibraryDirectories=".\zlib123;.\zziplib;glib-2.20.1\lib;.\lua\lib;.\7z;agg"
DelayLoadDLLs="wpcap.dll"
@ -505,6 +404,107 @@
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release FastBuild|Win32"
OutputDirectory="$(SolutionDir)\__bins"
IntermediateDirectory="$(SolutionDir)\.VS2005\$(ConfigurationName)\$(PlatformName)"
ConfigurationType="1"
InheritedPropertySheets="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.vsprops"
WholeProgramOptimization="0"
>
<Tool
Name="VCPreBuildEventTool"
CommandLine="defaultconfig\SubWCRev.bat"
/>
<Tool
Name="VCCustomBuildTool"
/>
<Tool
Name="MASM"
/>
<Tool
Name="VCXMLDataGeneratorTool"
/>
<Tool
Name="VCWebServiceProxyGeneratorTool"
/>
<Tool
Name="VCMIDLTool"
/>
<Tool
Name="VCCLCompilerTool"
Optimization="2"
InlineFunctionExpansion="2"
EnableIntrinsicFunctions="true"
FavorSizeOrSpeed="1"
OmitFramePointers="true"
EnableFiberSafeOptimizations="true"
WholeProgramOptimization="false"
AdditionalIncludeDirectories=".;..;&quot;lua\lua-5.1.4\src&quot;;&quot;glib-2.20.1\build&quot;;&quot;glib-2.20.1\build\glib&quot;;.\zlib123;.\zziplib;.\winpcap;userconfig;defaultconfig;.\7z;.\agg\include;.\agg\examples"
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;_CRT_NONSTDC_NO_DEPRECATE;GLIB_STATIC_COMPILATION;WIN32;HAVE_LIBZ;NOMINMAX;NDEBUG;RELEASE;_WIN32_WINNT=0x0501"
StringPooling="true"
ExceptionHandling="1"
BasicRuntimeChecks="0"
StructMemberAlignment="0"
BufferSecurityCheck="false"
EnableFunctionLevelLinking="false"
EnableEnhancedInstructionSet="2"
FloatingPointModel="2"
RuntimeTypeInfo="false"
WarningLevel="3"
WarnAsError="false"
DebugInformationFormat="3"
CallingConvention="0"
CompileAs="0"
/>
<Tool
Name="VCManagedResourceCompilerTool"
/>
<Tool
Name="VCResourceCompilerTool"
/>
<Tool
Name="VCPreLinkEventTool"
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="zlib-vc8-Win32.lib agg-2.5.lib lua-5.1.4-x86.lib glib-2.20.1-x86.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\dxguid.lib shell32.lib comdlg32.lib directx\dxerr8.lib directx\dsound.lib directx\dinput8.lib directx\ddraw.lib shlwapi.lib winpcap\wpcap.lib 7zip.lib"
OutputFile="$(OutDir)\$(ProjectName)_releaseFastBuild.exe"
AdditionalLibraryDirectories=".\zlib123;.\zziplib;glib-2.20.1\lib;.\lua\lib;.\7z;agg"
DelayLoadDLLs="wpcap.dll"
GenerateDebugInformation="true"
GenerateMapFile="true"
OptimizeReferences="2"
EnableCOMDATFolding="0"
OptimizeForWindows98="1"
LinkTimeCodeGeneration="0"
/>
<Tool
Name="VCALinkTool"
/>
<Tool
Name="VCManifestTool"
AdditionalManifestFiles="DeSmuME_x86.manifest"
/>
<Tool
Name="VCXDCMakeTool"
/>
<Tool
Name="VCBscMakeTool"
/>
<Tool
Name="VCFxCopTool"
/>
<Tool
Name="VCAppVerifierTool"
/>
<Tool
Name="VCWebDeploymentTool"
/>
<Tool
Name="VCPostBuildEventTool"
/>
</Configuration>
<Configuration
Name="Release FastBuild|x64"
OutputDirectory="$(SolutionDir)\__bins"
@ -570,7 +570,7 @@
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="agg-2.5-x64.lib lua-5.1.4-x64.lib glib-2.20.1-x64.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\x64\dxguid.lib shell32.lib comdlg32.lib directx\x64\dxerr8.lib directx\x64\dsound.lib directx\x64\dinput8.lib directx\x64\ddraw.lib zlib-2005-x64.lib zziplib-2005-x64.lib shlwapi.lib winpcap\x64\wpcap.lib 7zip-x64.lib"
AdditionalDependencies="zlib-vc8-x64.lib agg-2.5-x64.lib lua-5.1.4-x64.lib glib-2.20.1-x64.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\x64\dxguid.lib shell32.lib comdlg32.lib directx\x64\dxerr8.lib directx\x64\dsound.lib directx\x64\dinput8.lib directx\x64\ddraw.lib shlwapi.lib winpcap\x64\wpcap.lib 7zip-x64.lib"
OutputFile="$(OutDir)\$(ProjectName)_x64_releaseFastBuild.exe"
AdditionalLibraryDirectories=".\zlib123;.\zziplib;glib-2.20.1\lib;.\lua\lib;.\7z;agg"
DelayLoadDLLs="wpcap.dll"
@ -1010,24 +1010,6 @@
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\$(InputName)1.obj"
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
/>
</FileConfiguration>
<FileConfiguration
Name="Release FastBuild|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\$(InputName)1.obj"
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
/>
</FileConfiguration>
<FileConfiguration
Name="Debug|x64"
>
@ -1037,6 +1019,15 @@
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\$(InputName)1.obj"
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
/>
</FileConfiguration>
<FileConfiguration
Name="Release|x64"
>
@ -1046,6 +1037,15 @@
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
/>
</FileConfiguration>
<FileConfiguration
Name="Release FastBuild|Win32"
>
<Tool
Name="VCCLCompilerTool"
ObjectFile="$(IntDir)\$(InputName)1.obj"
XMLDocumentationFileName="$(IntDir)\$(InputName)1.xdc"
/>
</FileConfiguration>
<FileConfiguration
Name="Release FastBuild|x64"
>
@ -1318,7 +1318,7 @@
/>
</FileConfiguration>
<FileConfiguration
Name="Release FastBuild|Win32"
Name="Release|x64"
>
<Tool
Name="VCCLCompilerTool"
@ -1326,7 +1326,7 @@
/>
</FileConfiguration>
<FileConfiguration
Name="Release|x64"
Name="Release FastBuild|Win32"
>
<Tool
Name="VCCLCompilerTool"

View File

@ -56,7 +56,7 @@
EnableFiberSafeOptimizations="false"
WholeProgramOptimization="false"
AdditionalIncludeDirectories=".;..;&quot;lua\lua-5.1.4\src&quot;;&quot;glib-2.20.1\build&quot;;&quot;glib-2.20.1\build\glib&quot;;.\zlib123;.\zziplib;.\winpcap;userconfig;defaultconfig;.\7z;.\agg\include;.\agg\examples"
PreprocessorDefinitions="DEBUG;_CRT_SECURE_NO_DEPRECATE;GLIB_STATIC_COMPILATION;WIN32;BETA_VERSION;SPU_INTERPOLATE;NOMINMAX;HAVE_LIBZ;HAVE_LIBZZIP"
PreprocessorDefinitions="DEBUG;_CRT_SECURE_NO_DEPRECATE;GLIB_STATIC_COMPILATION;WIN32;BETA_VERSION;NOMINMAX;HAVE_LIBZ"
ExceptionHandling="1"
BasicRuntimeChecks="3"
BufferSecurityCheck="true"
@ -77,7 +77,7 @@
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="agg-2.5.lib lua-5.1.4-x86d.lib glib-2.20.1-x86.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\dxguid.lib shell32.lib comdlg32.lib directx\dxerr8.lib directx\dsound.lib directx\dinput8.lib directx\ddraw.lib zlib-2005-x32.lib zziplib-2005-x32.lib shlwapi.lib winpcap\wpcap.lib 7zip.lib comctl32.lib"
AdditionalDependencies="zlib-vc8-Win32.lib agg-2.5.lib lua-5.1.4-x86d.lib glib-2.20.1-x86.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\dxguid.lib shell32.lib comdlg32.lib directx\dxerr8.lib directx\dsound.lib directx\dinput8.lib directx\ddraw.lib shlwapi.lib winpcap\wpcap.lib 7zip.lib comctl32.lib"
OutputFile="$(OutDir)\$(ProjectName)_debug.exe"
AdditionalLibraryDirectories=".\zlib123;.\zziplib;glib-2.20.1\lib;lua\lib;.\7z;agg"
DelayLoadDLLs="wpcap.dll"
@ -166,7 +166,7 @@
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="agg-2.5-x64.lib lua-5.1.4-x64.lib glib-2.20.1-x64.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\x64\dxguid.lib shell32.lib comdlg32.lib directx\x64\dxerr8.lib directx\x64\dsound.lib directx\x64\dinput8.lib directx\x64\ddraw.lib zlib-2005-x64.lib zziplib-2005-x64.lib shlwapi.lib winpcap\x64\wpcap.lib 7zip-x64.lib"
AdditionalDependencies="zlib-vc8-x64.lib agg-2.5-x64.lib lua-5.1.4-x64.lib glib-2.20.1-x64.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\x64\dxguid.lib shell32.lib comdlg32.lib directx\x64\dxerr8.lib directx\x64\dsound.lib directx\x64\dinput8.lib directx\x64\ddraw.lib shlwapi.lib winpcap\x64\wpcap.lib 7zip-x64.lib"
OutputFile="$(OutDir)\$(ProjectName)_x64_debug.exe"
AdditionalLibraryDirectories=".\zlib123;.\zziplib;glib-2.20.1\lib;lua\lib;.\7z;agg"
DelayLoadDLLs="wpcap.dll"
@ -236,7 +236,7 @@
EnableFiberSafeOptimizations="true"
WholeProgramOptimization="true"
AdditionalIncludeDirectories=".;..;&quot;lua\lua-5.1.4\src&quot;;&quot;glib-2.20.1\build&quot;;&quot;glib-2.20.1\build\glib&quot;;.\zlib123;.\zziplib;.\winpcap;userconfig;defaultconfig;.\7z;.\agg\include;.\agg\examples"
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;GLIB_STATIC_COMPILATION;WIN32;HAVE_LIBZ;HAVE_LIBZZIP;SSE2;SPU_INTERPOLATE;NOMINMAX;RELEASE;NDEBUG"
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;GLIB_STATIC_COMPILATION;WIN32;HAVE_LIBZ;NOMINMAX;RELEASE;NDEBUG"
StringPooling="true"
ExceptionHandling="1"
StructMemberAlignment="0"
@ -259,7 +259,7 @@
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="agg-2.5.lib lua-5.1.4-x86.lib glib-2.20.1-x86.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\dxguid.lib shell32.lib comdlg32.lib directx\dxerr8.lib directx\dsound.lib directx\dinput8.lib directx\ddraw.lib zlib-2005-x32.lib zziplib-2005-x32.lib shlwapi.lib winpcap\wpcap.lib 7zip.lib comctl32.lib"
AdditionalDependencies="zlib-vc8-Win32.lib agg-2.5.lib lua-5.1.4-x86.lib glib-2.20.1-x86.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\dxguid.lib shell32.lib comdlg32.lib directx\dxerr8.lib directx\dsound.lib directx\dinput8.lib directx\ddraw.lib shlwapi.lib winpcap\wpcap.lib 7zip.lib comctl32.lib"
OutputFile="$(OutDir)\$(ProjectName)_release.exe"
AdditionalLibraryDirectories=".\zlib123;.\zziplib;glib-2.20.1\lib;lua\lib;.\7z;agg"
DelayLoadDLLs="wpcap.dll"
@ -353,7 +353,7 @@
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="agg-2.5-x64.lib lua-5.1.4-x64.lib glib-2.20.1-x64.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\x64\dxguid.lib shell32.lib comdlg32.lib directx\x64\dxerr8.lib directx\x64\dsound.lib directx\x64\dinput8.lib directx\x64\ddraw.lib zlib-2005-x64.lib zziplib-2005-x64.lib shlwapi.lib winpcap\x64\wpcap.lib 7zip-x64.lib"
AdditionalDependencies="zlib-vc8-x64.lib agg-2.5-x64.lib lua-5.1.4-x64.lib glib-2.20.1-x64.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\x64\dxguid.lib shell32.lib comdlg32.lib directx\x64\dxerr8.lib directx\x64\dsound.lib directx\x64\dinput8.lib directx\x64\ddraw.lib shlwapi.lib winpcap\x64\wpcap.lib 7zip-x64.lib"
OutputFile="$(OutDir)\$(ProjectName)_x64_release.exe"
AdditionalLibraryDirectories=".\zlib123;.\zziplib;glib-2.20.1\lib;lua\lib;.\7z;agg"
DelayLoadDLLs="wpcap.dll"
@ -424,7 +424,7 @@
EnableFiberSafeOptimizations="true"
WholeProgramOptimization="false"
AdditionalIncludeDirectories=".;..;&quot;lua\lua-5.1.4\src&quot;;&quot;glib-2.20.1\build&quot;;&quot;glib-2.20.1\build\glib&quot;;.\zlib123;.\zziplib;.\winpcap;userconfig;defaultconfig;.\7z;.\agg\include;.\agg\examples"
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;GLIB_STATIC_COMPILATION;WIN32;HAVE_LIBZ;HAVE_LIBZZIP;SSE2;SPU_INTERPOLATE;NOMINMAX;RELEASE;NDEBUG"
PreprocessorDefinitions="_CRT_SECURE_NO_DEPRECATE;GLIB_STATIC_COMPILATION;WIN32;HAVE_LIBZ;NOMINMAX;RELEASE;NDEBUG"
StringPooling="true"
ExceptionHandling="1"
StructMemberAlignment="0"
@ -447,7 +447,7 @@
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="agg-2.5.lib lua-5.1.4-x86.lib glib-2.20.1-x86.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\dxguid.lib shell32.lib comdlg32.lib directx\dxerr8.lib directx\dsound.lib directx\dinput8.lib directx\ddraw.lib zlib-2005-x32.lib zziplib-2005-x32.lib shlwapi.lib winpcap\wpcap.lib 7zip.lib comctl32.lib"
AdditionalDependencies="zlib-vc8-Win32.lib agg-2.5.lib lua-5.1.4-x86.lib glib-2.20.1-x86.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\dxguid.lib shell32.lib comdlg32.lib directx\dxerr8.lib directx\dsound.lib directx\dinput8.lib directx\ddraw.lib shlwapi.lib winpcap\wpcap.lib 7zip.lib comctl32.lib"
OutputFile="$(OutDir)\$(ProjectName)_releaseFastBuild.exe"
AdditionalLibraryDirectories=".\zlib123;.\zziplib;&quot;glib-2.20.1\lib&quot;;lua\lib;.\7z;.\agg"
DelayLoadDLLs="wpcap.dll"
@ -542,7 +542,7 @@
/>
<Tool
Name="VCLinkerTool"
AdditionalDependencies="agg-2.5-x64.lib lua-5.1.4-x64.lib glib-2.20.1-x64.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\x64\dxguid.lib shell32.lib comdlg32.lib directx\x64\dxerr8.lib directx\x64\dsound.lib directx\x64\dinput8.lib directx\x64\ddraw.lib zlib-2005-x64.lib zziplib-2005-x64.lib shlwapi.lib winpcap\x64\wpcap.lib 7zip-x64.lib"
AdditionalDependencies="zlib-vc8-x64.lib agg-2.5-x64.lib lua-5.1.4-x64.lib glib-2.20.1-x64.lib vfw32.lib winmm.lib opengl32.lib glu32.lib ws2_32.lib user32.lib gdi32.lib directx\x64\dxguid.lib shell32.lib comdlg32.lib directx\x64\dxerr8.lib directx\x64\dsound.lib directx\x64\dinput8.lib directx\x64\ddraw.lib shlwapi.lib winpcap\x64\wpcap.lib 7zip-x64.lib"
OutputFile="$(OutDir)\$(ProjectName)_x64_releaseFastBuild.exe"
AdditionalLibraryDirectories=".\zlib123;.\zziplib;&quot;glib-2.20.1\lib&quot;;lua\lib;.\7z;.\agg"
DelayLoadDLLs="wpcap.dll"
@ -952,6 +952,10 @@
RelativePath="..\wifi.h"
>
</File>
<File
RelativePath="..\utils\xstring.h"
>
</File>
<Filter
Name="addons"
>
@ -1035,10 +1039,6 @@
RelativePath="..\utils\xstring.cpp"
>
</File>
<File
RelativePath="..\utils\xstring.h"
>
</File>
<Filter
Name="decrypt"
>

View File

@ -1,23 +0,0 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 10
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "DeSmuME_VS2010", "DeSmuME_2010.vcxproj", "{9F5F72A1-D3A5-4918-B460-E076B16D10A9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Win32 = Debug|Win32
Release FastBuild|Win32 = Release FastBuild|Win32
Release|Win32 = Release|Win32
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{9F5F72A1-D3A5-4918-B460-E076B16D10A9}.Debug|Win32.ActiveCfg = Debug|Win32
{9F5F72A1-D3A5-4918-B460-E076B16D10A9}.Debug|Win32.Build.0 = Debug|Win32
{9F5F72A1-D3A5-4918-B460-E076B16D10A9}.Release FastBuild|Win32.ActiveCfg = Release FastBuild|Win32
{9F5F72A1-D3A5-4918-B460-E076B16D10A9}.Release FastBuild|Win32.Build.0 = Release FastBuild|Win32
{9F5F72A1-D3A5-4918-B460-E076B16D10A9}.Release|Win32.ActiveCfg = Release|Win32
{9F5F72A1-D3A5-4918-B460-E076B16D10A9}.Release|Win32.Build.0 = Release|Win32
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
EndGlobal

View File

@ -1,379 +0,0 @@
<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 FastBuild|Win32">
<Configuration>Release FastBuild</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
<ProjectConfiguration Include="Release|Win32">
<Configuration>Release</Configuration>
<Platform>Win32</Platform>
</ProjectConfiguration>
</ItemGroup>
<PropertyGroup Label="Globals">
<ProjectName>DeSmuME_VS2010</ProjectName>
<ProjectGUID>{9F5F72A1-D3A5-4918-B460-E076B16D10A9}</ProjectGUID>
<RootNamespace>DeSmuME</RootNamespace>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<WholeProgramOptimization>true</WholeProgramOptimization>
</PropertyGroup>
<PropertyGroup Label="Configuration" Condition="'$(Configuration)|$(Platform)'=='Release FastBuild|Win32'">
<ConfigurationType>Application</ConfigurationType>
<WholeProgramOptimization>false</WholeProgramOptimization>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings">
<Import Project="$(VCINSTALLDIR)\VCProjectDefaults\masm.props" />
</ImportGroup>
<ImportGroup Label="PropertySheets">
<Import Project="$(LocalAppData)\Microsoft\VisualStudio\10.0\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(LocalAppData)\Microsoft\VisualStudio\10.0\Microsoft.Cpp.$(Platform).user.props')" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<Import Project="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.props" Condition="exists('$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.props')" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<Import Project="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.props" Condition="exists('$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.props')" />
</ImportGroup>
<ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release FastBuild|Win32'">
<Import Project="$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.props" Condition="exists('$(VCInstallDir)VCProjectDefaults\UpgradeFromVC71.props')" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>10.0.20506.1</_ProjectFileVersion>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)\__bins\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(SolutionDir)\.VS2010\$(Configuration)\$(Platform)\</IntDir>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">$(ProjectName)_debug</TargetName>
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">.exe</TargetExt>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)\__bins\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(SolutionDir)\.VS2010\$(Configuration)\$(Platform)\</IntDir>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">$(ProjectName)_release</TargetName>
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">.exe</TargetExt>
<OutDir Condition="'$(Configuration)|$(Platform)'=='Release FastBuild|Win32'">$(SolutionDir)\__bins\</OutDir>
<IntDir Condition="'$(Configuration)|$(Platform)'=='Release FastBuild|Win32'">$(SolutionDir)\.VS2010\$(Configuration)\$(Platform)\</IntDir>
<TargetName Condition="'$(Configuration)|$(Platform)'=='Release FastBuild|Win32'">$(ProjectName)_releaseFastBuild</TargetName>
<TargetExt Condition="'$(Configuration)|$(Platform)'=='Release FastBuild|Win32'">.exe</TargetExt>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<PreBuildEvent>
<Command>defaultconfig\SubWCRev.bat</Command>
</PreBuildEvent>
<ClCompile>
<Optimization>Disabled</Optimization>
<InlineFunctionExpansion>Disabled</InlineFunctionExpansion>
<IntrinsicFunctions>false</IntrinsicFunctions>
<FavorSizeOrSpeed>Neither</FavorSizeOrSpeed>
<EnableFiberSafeOptimizations>false</EnableFiberSafeOptimizations>
<WholeProgramOptimization>false</WholeProgramOptimization>
<AdditionalIncludeDirectories>..\windows;..\..\src;.\lua\lua-5.1.4\src;.\glib-2.20.1\build;.\glib-2.20.1\build\glib;.\zlib123;.\zziplib;.\winpcap;.\userconfig;.\defaultconfig;.\7z;.\%(AdditionalIncludeDirectories);.\agg\include</AdditionalIncludeDirectories>
<PreprocessorDefinitions>DEBUG;_CRT_SECURE_NO_DEPRECATE;WIN32;BETA_VERSION;SPU_INTERPOLATE;NOMINMAX;EXPERIMENTAL_WIFI;HAVE_LIBZ;HAVE_LIBZZIP;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ExceptionHandling>Sync</ExceptionHandling>
<BasicRuntimeChecks>EnableFastChecks</BasicRuntimeChecks>
<BufferSecurityCheck>true</BufferSecurityCheck>
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
<FloatingPointModel>Fast</FloatingPointModel>
<DebugInformationFormat>EditAndContinue</DebugInformationFormat>
<CallingConvention>Cdecl</CallingConvention>
<CompileAs>Default</CompileAs>
</ClCompile>
<Link>
<AdditionalDependencies>lua-5.1.4-x86d.lib;glib-2.20.1-x86.lib;vfw32.lib;winmm.lib;opengl32.lib;glu32.lib;ws2_32.lib;user32.lib;gdi32.lib;directx\dxguid.lib;shell32.lib;comdlg32.lib;directx\dxerr8.lib;directx\dsound.lib;directx\dinput8.lib;directx\ddraw.lib;zlib-2005-x32.lib;zziplib-2005-x32.lib;shlwapi.lib;winpcap\wpcap.lib;7zip.lib;%(AdditionalDependencies);comctl32.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>.\zlib123;.\zziplib;glib-2.20.1\lib;lua\lib;.\7z;.\agg;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<DelayLoadDLLs>wpcap.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<GenerateDebugInformation>true</GenerateDebugInformation>
<GenerateMapFile>true</GenerateMapFile>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
</Link>
<Manifest>
<AdditionalManifestFiles>DeSmuME_x86.manifest;%(AdditionalManifestFiles)</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
<PreBuildEvent>
<Command>defaultconfig\SubWCRev.bat</Command>
</PreBuildEvent>
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
<WholeProgramOptimization>true</WholeProgramOptimization>
<AdditionalIncludeDirectories>..\windows;..\..\src;.\lua\lua-5.1.4\src;.\glib-2.20.1\build;.\glib-2.20.1\build\glib;.\zlib123;.\zziplib;.\winpcap;.\userconfig;.\defaultconfig;.\%(AdditionalIncludeDirectories);.\agg\include</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;WIN32;HAVE_LIBZ;HAVE_LIBZZIP;SSE2;SPU_INTERPOLATE;NOMINMAX;RELEASE;EXPERIMENTAL_WIFI;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<ExceptionHandling>Sync</ExceptionHandling>
<StructMemberAlignment>Default</StructMemberAlignment>
<BufferSecurityCheck>false</BufferSecurityCheck>
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
<FloatingPointModel>Fast</FloatingPointModel>
<WarningLevel>Level1</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CallingConvention>Cdecl</CallingConvention>
<CompileAs>Default</CompileAs>
</ClCompile>
<Link>
<AdditionalDependencies>lua-5.1.4-x86.lib;glib-2.20.1-x86.lib;vfw32.lib;winmm.lib;opengl32.lib;glu32.lib;ws2_32.lib;user32.lib;gdi32.lib;directx\dxguid.lib;shell32.lib;comdlg32.lib;directx\dxerr8.lib;directx\dsound.lib;directx\dinput8.lib;directx\ddraw.lib;zlib-2005-x32.lib;zziplib-2005-x32.lib;shlwapi.lib;winpcap\wpcap.lib;7zip.lib;%(AdditionalDependencies);comctl32.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>.\zlib123;.\zziplib;glib-2.20.1\lib;lua\lib;.\7z;.\agg;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<DelayLoadDLLs>wpcap.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OptimizeReferences>true</OptimizeReferences>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<Profile>false</Profile>
</Link>
<Manifest>
<AdditionalManifestFiles>DeSmuME_x86.manifest;%(AdditionalManifestFiles)</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release FastBuild|Win32'">
<PreBuildEvent>
<Command>defaultconfig\SubWCRev.bat</Command>
</PreBuildEvent>
<ClCompile>
<Optimization>MaxSpeed</Optimization>
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
<IntrinsicFunctions>true</IntrinsicFunctions>
<FavorSizeOrSpeed>Speed</FavorSizeOrSpeed>
<OmitFramePointers>true</OmitFramePointers>
<EnableFiberSafeOptimizations>true</EnableFiberSafeOptimizations>
<WholeProgramOptimization>false</WholeProgramOptimization>
<AdditionalIncludeDirectories>..\windows;..\..\src;.\lua\lua-5.1.4\src;.\glib-2.20.1\build;.\glib-2.20.1\build\glib;.\zlib123;.\zziplib;.\winpcap;.\userconfig;.\defaultconfig;.\7z;.\%(AdditionalIncludeDirectories);.\agg\include</AdditionalIncludeDirectories>
<PreprocessorDefinitions>_CRT_SECURE_NO_DEPRECATE;WIN32;HAVE_LIBZ;HAVE_LIBZZIP;SSE2;SPU_INTERPOLATE;NOMINMAX;RELEASE;EXPERIMENTAL_WIFI;NDEBUG;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<StringPooling>true</StringPooling>
<ExceptionHandling>Sync</ExceptionHandling>
<StructMemberAlignment>Default</StructMemberAlignment>
<BufferSecurityCheck>false</BufferSecurityCheck>
<EnableEnhancedInstructionSet>StreamingSIMDExtensions2</EnableEnhancedInstructionSet>
<FloatingPointModel>Fast</FloatingPointModel>
<WarningLevel>Level1</WarningLevel>
<DebugInformationFormat>ProgramDatabase</DebugInformationFormat>
<CallingConvention>Cdecl</CallingConvention>
<CompileAs>Default</CompileAs>
</ClCompile>
<Link>
<AdditionalDependencies>lua-5.1.4-x86.lib;glib-2.20.1-x86.lib;vfw32.lib;winmm.lib;opengl32.lib;glu32.lib;ws2_32.lib;user32.lib;gdi32.lib;directx\dxguid.lib;shell32.lib;comdlg32.lib;directx\dxerr8.lib;directx\dsound.lib;directx\dinput8.lib;directx\ddraw.lib;zlib-2005-x32.lib;zziplib-2005-x32.lib;shlwapi.lib;winpcap\wpcap.lib;7zip.lib;agg-2.5.lib;comctl32.lib;%(AdditionalDependencies);comctl32.lib</AdditionalDependencies>
<AdditionalLibraryDirectories>.\zlib123;.\zziplib;glib-2.20.1\lib;lua\lib;.\7z;.\agg;%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
<DelayLoadDLLs>wpcap.dll;%(DelayLoadDLLs)</DelayLoadDLLs>
<GenerateDebugInformation>true</GenerateDebugInformation>
<OptimizeReferences>true</OptimizeReferences>
<LinkTimeCodeGeneration>
</LinkTimeCodeGeneration>
<RandomizedBaseAddress>false</RandomizedBaseAddress>
<DataExecutionPrevention>
</DataExecutionPrevention>
<Profile>false</Profile>
</Link>
<Manifest>
<AdditionalManifestFiles>DeSmuME_x86.manifest;%(AdditionalManifestFiles)</AdditionalManifestFiles>
</Manifest>
</ItemDefinitionGroup>
<ItemGroup>
<ClCompile Include="..\addons.cpp" />
<ClCompile Include="..\addons\compactFlash.cpp" />
<ClCompile Include="..\addons\expMemory.cpp" />
<ClCompile Include="..\addons\gbagame.cpp" />
<ClCompile Include="..\addons\guitarGrip.cpp" />
<ClCompile Include="..\addons\none.cpp" />
<ClCompile Include="..\addons\rumblepak.cpp" />
<ClCompile Include="..\aggdraw.cpp" />
<ClCompile Include="..\armcpu.cpp" />
<ClCompile Include="..\arm_instructions.cpp" />
<ClCompile Include="..\bios.cpp" />
<ClCompile Include="..\cheatSystem.cpp" />
<ClCompile Include="..\commandline.cpp">
<CallingConvention Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">Cdecl</CallingConvention>
<CallingConvention Condition="'$(Configuration)|$(Platform)'=='Release FastBuild|Win32'">Cdecl</CallingConvention>
</ClCompile>
<ClCompile Include="..\common.cpp" />
<ClCompile Include="..\cp15.cpp" />
<ClCompile Include="..\debug.cpp" />
<ClCompile Include="..\Disassembler.cpp" />
<ClCompile Include="..\emufile.cpp" />
<ClCompile Include="..\FIFO.cpp" />
<ClCompile Include="..\fs-windows.cpp" />
<ClCompile Include="..\gdbstub\gdbstub.cpp" />
<ClCompile Include="..\gfx3d.cpp" />
<ClCompile Include="..\GPU.cpp" />
<ClCompile Include="..\GPU_OSD.cpp" />
<ClCompile Include="..\lua-engine.cpp" />
<ClCompile Include="..\matrix.cpp" />
<ClCompile Include="..\mc.cpp" />
<ClCompile Include="..\MMU.cpp" />
<ClCompile Include="..\movie.cpp" />
<ClCompile Include="..\NDSSystem.cpp" />
<ClCompile Include="..\OGLRender.cpp" />
<ClCompile Include="..\rasterize.cpp" />
<ClCompile Include="..\readwrite.cpp" />
<ClCompile Include="..\render3D.cpp" />
<ClCompile Include="..\ROMReader.cpp" />
<ClCompile Include="..\rtc.cpp" />
<ClCompile Include="..\saves.cpp" />
<ClCompile Include="..\SPU.cpp" />
<ClCompile Include="..\texcache.cpp" />
<ClCompile Include="..\thumb_instructions.cpp" />
<ClCompile Include="..\utils\ConvertUTF.c" />
<ClCompile Include="..\utils\decrypt\crc.cpp" />
<ClCompile Include="..\utils\decrypt\decrypt.cpp" />
<ClCompile Include="..\utils\decrypt\header.cpp" />
<ClCompile Include="..\utils\guid.cpp" />
<ClCompile Include="..\utils\md5.cpp" />
<ClCompile Include="..\utils\xstring.cpp" />
<ClCompile Include="..\wifi.cpp" />
<ClCompile Include="7zip.cpp" />
<ClCompile Include="AboutBox.cpp" />
<ClCompile Include="aviout.cpp" />
<ClCompile Include="cheatsWin.cpp" />
<ClCompile Include="colorctrl.cpp" />
<ClCompile Include="console.cpp" />
<ClCompile Include="CWindow.cpp" />
<ClCompile Include="disView.cpp" />
<ClCompile Include="filter\2xsai.cpp" />
<ClCompile Include="filter\bilinear.cpp" />
<ClCompile Include="filter\hq2x.cpp" />
<ClCompile Include="filter\lq2x.cpp" />
<ClCompile Include="filter\scanline.cpp" />
<ClCompile Include="FirmConfig.cpp" />
<ClCompile Include="gbaslot_config.cpp" />
<ClCompile Include="ginfo.cpp" />
<ClCompile Include="hotkey.cpp" />
<ClCompile Include="inputdx.cpp" />
<ClCompile Include="IORegView.cpp" />
<ClCompile Include="lightView.cpp" />
<ClCompile Include="luaconsole.cpp" />
<ClCompile Include="main.cpp" />
<ClCompile Include="mapView.cpp" />
<ClCompile Include="matrixView.cpp" />
<ClCompile Include="memView.cpp" />
<ClCompile Include="mic.cpp" />
<ClCompile Include="oamView.cpp" />
<ClCompile Include="ogl.cpp" />
<ClCompile Include="OpenArchive.cpp" />
<ClCompile Include="palView.cpp" />
<ClCompile Include="pathsettings.cpp" />
<ClCompile Include="ramwatch.cpp" />
<ClCompile Include="ram_search.cpp" />
<ClCompile Include="replay.cpp" />
<ClCompile Include="snddx.cpp" />
<ClCompile Include="soundView.cpp" />
<ClCompile Include="throttle.cpp" />
<ClCompile Include="tileView.cpp" />
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="resources.rc" />
</ItemGroup>
<ItemGroup>
<None Include="..\agg2d.inl" />
<None Include="..\instruction_tabdef.inc" />
<None Include="..\thumb_tabdef.inc" />
<None Include="bitmap1.bmp" />
<None Include="DeSmuME.ico" />
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\addons.h" />
<ClInclude Include="..\agg2d.h" />
<ClInclude Include="..\aggdraw.h" />
<ClInclude Include="..\armcpu.h" />
<ClInclude Include="..\arm_instructions.h" />
<ClInclude Include="..\bios.h" />
<ClInclude Include="..\bits.h" />
<ClInclude Include="..\cheatSystem.h" />
<ClInclude Include="..\commandline.h" />
<ClInclude Include="..\common.h" />
<ClInclude Include="..\cp15.h" />
<ClInclude Include="..\debug.h" />
<ClInclude Include="..\Disassembler.h" />
<ClInclude Include="..\driver.h" />
<ClInclude Include="..\emufile.h" />
<ClInclude Include="..\fat.h" />
<ClInclude Include="..\FIFO.h" />
<ClInclude Include="..\fs.h" />
<ClInclude Include="..\gdbstub.h" />
<ClInclude Include="..\gfx3d.h" />
<ClInclude Include="..\GPU.h" />
<ClInclude Include="..\GPU_osd.h" />
<ClInclude Include="..\lua-engine.h" />
<ClInclude Include="..\matrix.h" />
<ClInclude Include="..\mc.h" />
<ClInclude Include="..\mem.h" />
<ClInclude Include="..\memorystream.h" />
<ClInclude Include="..\mic.h" />
<ClInclude Include="..\MMU.h" />
<ClInclude Include="..\MMU_timing.h" />
<ClInclude Include="..\movie.h" />
<ClInclude Include="..\NDSSystem.h" />
<ClInclude Include="..\OGLRender.h" />
<ClInclude Include="..\rasterize.h" />
<ClInclude Include="..\readwrite.h" />
<ClInclude Include="..\registers.h" />
<ClInclude Include="..\render3D.h" />
<ClInclude Include="..\ROMReader.h" />
<ClInclude Include="..\rtc.h" />
<ClInclude Include="..\saves.h" />
<ClInclude Include="..\shaders.h" />
<ClInclude Include="..\SPU.h" />
<ClInclude Include="..\texcache.h" />
<ClInclude Include="..\thumb_instructions.h" />
<ClInclude Include="..\types.h" />
<ClInclude Include="..\utils\ConvertUTF.h" />
<ClInclude Include="..\utils\decrypt\crc.h" />
<ClInclude Include="..\utils\decrypt\decrypt.h" />
<ClInclude Include="..\utils\decrypt\header.h" />
<ClInclude Include="..\utils\guid.h" />
<ClInclude Include="..\utils\md5.h" />
<ClInclude Include="..\utils\valuearray.h" />
<ClInclude Include="..\utils\xstring.h" />
<ClInclude Include="..\version.h" />
<ClInclude Include="..\wifi.h" />
<ClInclude Include="7zip.h" />
<ClInclude Include="7zipstreams.h" />
<ClInclude Include="AboutBox.h" />
<ClInclude Include="aviout.h" />
<ClInclude Include="cheatsWin.h" />
<ClInclude Include="colorctrl.h" />
<ClInclude Include="console.h" />
<ClInclude Include="CWindow.h" />
<ClInclude Include="disView.h" />
<ClInclude Include="filter\filter.h" />
<ClInclude Include="FirmConfig.h" />
<ClInclude Include="gbaslot_config.h" />
<ClInclude Include="ginfo.h" />
<ClInclude Include="hotkey.h" />
<ClInclude Include="inputdx.h" />
<ClInclude Include="IORegView.h" />
<ClInclude Include="lightView.h" />
<ClInclude Include="main.h" />
<ClInclude Include="mapView.h" />
<ClInclude Include="matrixView.h" />
<ClInclude Include="memView.h" />
<ClInclude Include="oamView.h" />
<ClInclude Include="OpenArchive.h" />
<ClInclude Include="palView.h" />
<ClInclude Include="pathsettings.h" />
<ClInclude Include="ramwatch.h" />
<ClInclude Include="ram_search.h" />
<ClInclude Include="replay.h" />
<ClInclude Include="resource.h" />
<ClInclude Include="snddx.h" />
<ClInclude Include="soundView.h" />
<ClInclude Include="throttle.h" />
<ClInclude Include="tileView.h" />
<ClInclude Include="userconfig\userconfig.h" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
<Import Project="$(VCINSTALLDIR)\VCProjectDefaults\masm.targets" />
</ImportGroup>
</Project>

View File

@ -1,586 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<Filter Include="Core">
<UniqueIdentifier>{e246e968-7cf0-4440-8af1-2ca31a9c8b69}</UniqueIdentifier>
</Filter>
<Filter Include="Core\addons">
<UniqueIdentifier>{3db93853-68d0-4283-a892-42763712c46c}</UniqueIdentifier>
</Filter>
<Filter Include="Core\gdbstub">
<UniqueIdentifier>{f33115c7-3743-41eb-be5b-63fafc938175}</UniqueIdentifier>
</Filter>
<Filter Include="Core\utils">
<UniqueIdentifier>{7ce489f5-c2ee-4aff-b45c-20a0be4ff7cd}</UniqueIdentifier>
</Filter>
<Filter Include="Core\utils\decrypt">
<UniqueIdentifier>{8eb8e94f-68c8-4120-bc36-ca23191db499}</UniqueIdentifier>
</Filter>
<Filter Include="Windows">
<UniqueIdentifier>{a6b232c3-aba7-4534-94ba-9cd66d5b8b61}</UniqueIdentifier>
</Filter>
<Filter Include="Windows\filters">
<UniqueIdentifier>{f101873e-401f-43c0-ac0a-394785a44dfa}</UniqueIdentifier>
</Filter>
<Filter Include="Windows\resources">
<UniqueIdentifier>{ea3f95b4-10be-49ef-9ae0-c1e08da5a730}</UniqueIdentifier>
</Filter>
<Filter Include="Windows\tools">
<UniqueIdentifier>{b7de5c12-630e-4b43-81ac-3cdf74f286a5}</UniqueIdentifier>
</Filter>
<Filter Include="Windows\userconfig">
<UniqueIdentifier>{8f61be53-ba2f-4d17-97bc-cae6e4a04117}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\addons.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\addons\compactFlash.cpp">
<Filter>Core\addons</Filter>
</ClCompile>
<ClCompile Include="..\addons\expMemory.cpp">
<Filter>Core\addons</Filter>
</ClCompile>
<ClCompile Include="..\addons\gbagame.cpp">
<Filter>Core\addons</Filter>
</ClCompile>
<ClCompile Include="..\addons\guitarGrip.cpp">
<Filter>Core\addons</Filter>
</ClCompile>
<ClCompile Include="..\addons\none.cpp">
<Filter>Core\addons</Filter>
</ClCompile>
<ClCompile Include="..\addons\rumblepak.cpp">
<Filter>Core\addons</Filter>
</ClCompile>
<ClCompile Include="..\aggdraw.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\armcpu.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\arm_instructions.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\bios.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\cheatSystem.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\commandline.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\common.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\cp15.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\debug.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\Disassembler.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\emufile.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\FIFO.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\fs-windows.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\gdbstub\gdbstub.cpp">
<Filter>Core\gdbstub</Filter>
</ClCompile>
<ClCompile Include="..\gfx3d.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\GPU.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\GPU_OSD.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\lua-engine.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="..\matrix.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\mc.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\MMU.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\movie.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\NDSSystem.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\OGLRender.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\rasterize.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\readwrite.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\render3D.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\ROMReader.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\rtc.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\saves.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\SPU.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\texcache.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\thumb_instructions.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="..\utils\ConvertUTF.c">
<Filter>Core\utils</Filter>
</ClCompile>
<ClCompile Include="..\utils\decrypt\crc.cpp">
<Filter>Core\utils\decrypt</Filter>
</ClCompile>
<ClCompile Include="..\utils\decrypt\decrypt.cpp">
<Filter>Core\utils\decrypt</Filter>
</ClCompile>
<ClCompile Include="..\utils\decrypt\header.cpp">
<Filter>Core\utils\decrypt</Filter>
</ClCompile>
<ClCompile Include="..\utils\guid.cpp">
<Filter>Core\utils</Filter>
</ClCompile>
<ClCompile Include="..\utils\md5.cpp">
<Filter>Core\utils</Filter>
</ClCompile>
<ClCompile Include="..\utils\xstring.cpp">
<Filter>Core\utils</Filter>
</ClCompile>
<ClCompile Include="..\wifi.cpp">
<Filter>Core</Filter>
</ClCompile>
<ClCompile Include="7zip.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="AboutBox.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="aviout.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="cheatsWin.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="colorctrl.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="console.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="CWindow.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="disView.cpp">
<Filter>Windows\tools</Filter>
</ClCompile>
<ClCompile Include="filter\2xsai.cpp">
<Filter>Windows\filters</Filter>
</ClCompile>
<ClCompile Include="filter\bilinear.cpp">
<Filter>Windows\filters</Filter>
</ClCompile>
<ClCompile Include="filter\hq2x.cpp">
<Filter>Windows\filters</Filter>
</ClCompile>
<ClCompile Include="filter\lq2x.cpp">
<Filter>Windows\filters</Filter>
</ClCompile>
<ClCompile Include="filter\scanline.cpp">
<Filter>Windows\filters</Filter>
</ClCompile>
<ClCompile Include="FirmConfig.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="gbaslot_config.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="ginfo.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="hotkey.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="inputdx.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="IORegView.cpp">
<Filter>Windows\tools</Filter>
</ClCompile>
<ClCompile Include="lightView.cpp">
<Filter>Windows\tools</Filter>
</ClCompile>
<ClCompile Include="luaconsole.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="main.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="mapView.cpp">
<Filter>Windows\tools</Filter>
</ClCompile>
<ClCompile Include="matrixView.cpp">
<Filter>Windows\tools</Filter>
</ClCompile>
<ClCompile Include="memView.cpp">
<Filter>Windows\tools</Filter>
</ClCompile>
<ClCompile Include="mic.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="oamView.cpp">
<Filter>Windows\tools</Filter>
</ClCompile>
<ClCompile Include="ogl.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="OpenArchive.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="palView.cpp">
<Filter>Windows\tools</Filter>
</ClCompile>
<ClCompile Include="pathsettings.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="ramwatch.cpp">
<Filter>Windows\tools</Filter>
</ClCompile>
<ClCompile Include="ram_search.cpp">
<Filter>Windows\tools</Filter>
</ClCompile>
<ClCompile Include="replay.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="snddx.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="soundView.cpp">
<Filter>Windows\tools</Filter>
</ClCompile>
<ClCompile Include="throttle.cpp">
<Filter>Windows</Filter>
</ClCompile>
<ClCompile Include="tileView.cpp">
<Filter>Windows\tools</Filter>
</ClCompile>
</ItemGroup>
<ItemGroup>
<None Include="..\agg2d.inl">
<Filter>Core</Filter>
</None>
<None Include="..\instruction_tabdef.inc">
<Filter>Core</Filter>
</None>
<None Include="..\thumb_tabdef.inc">
<Filter>Core</Filter>
</None>
<None Include="bitmap1.bmp">
<Filter>Windows\resources</Filter>
</None>
<None Include="DeSmuME.ico">
<Filter>Windows\resources</Filter>
</None>
</ItemGroup>
<ItemGroup>
<ClInclude Include="..\addons.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\agg2d.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\aggdraw.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\armcpu.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\arm_instructions.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\bios.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\bits.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\cheatSystem.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\commandline.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\common.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\cp15.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\debug.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\Disassembler.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\driver.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\emufile.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\fat.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\FIFO.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\fs.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\gdbstub.h">
<Filter>Core\gdbstub</Filter>
</ClInclude>
<ClInclude Include="..\gfx3d.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\GPU.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\GPU_osd.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\lua-engine.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="..\matrix.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\mc.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\mem.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\memorystream.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\mic.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\MMU.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\MMU_timing.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\movie.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\NDSSystem.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\OGLRender.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\rasterize.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\readwrite.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\registers.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\render3D.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\ROMReader.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\rtc.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\saves.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\shaders.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\SPU.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\texcache.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\thumb_instructions.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\types.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\utils\ConvertUTF.h">
<Filter>Core\utils</Filter>
</ClInclude>
<ClInclude Include="..\utils\decrypt\crc.h">
<Filter>Core\utils\decrypt</Filter>
</ClInclude>
<ClInclude Include="..\utils\decrypt\decrypt.h">
<Filter>Core\utils\decrypt</Filter>
</ClInclude>
<ClInclude Include="..\utils\decrypt\header.h">
<Filter>Core\utils\decrypt</Filter>
</ClInclude>
<ClInclude Include="..\utils\guid.h">
<Filter>Core\utils</Filter>
</ClInclude>
<ClInclude Include="..\utils\md5.h">
<Filter>Core\utils</Filter>
</ClInclude>
<ClInclude Include="..\utils\valuearray.h">
<Filter>Core\utils</Filter>
</ClInclude>
<ClInclude Include="..\utils\xstring.h">
<Filter>Core\utils</Filter>
</ClInclude>
<ClInclude Include="..\version.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="..\wifi.h">
<Filter>Core</Filter>
</ClInclude>
<ClInclude Include="7zip.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="7zipstreams.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="AboutBox.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="aviout.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="cheatsWin.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="colorctrl.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="console.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="CWindow.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="disView.h">
<Filter>Windows\tools</Filter>
</ClInclude>
<ClInclude Include="filter\filter.h">
<Filter>Windows\filters</Filter>
</ClInclude>
<ClInclude Include="FirmConfig.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="gbaslot_config.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="ginfo.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="hotkey.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="inputdx.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="IORegView.h">
<Filter>Windows\tools</Filter>
</ClInclude>
<ClInclude Include="lightView.h">
<Filter>Windows\tools</Filter>
</ClInclude>
<ClInclude Include="main.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="mapView.h">
<Filter>Windows\tools</Filter>
</ClInclude>
<ClInclude Include="matrixView.h">
<Filter>Windows\tools</Filter>
</ClInclude>
<ClInclude Include="memView.h">
<Filter>Windows\tools</Filter>
</ClInclude>
<ClInclude Include="oamView.h">
<Filter>Windows\tools</Filter>
</ClInclude>
<ClInclude Include="OpenArchive.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="palView.h">
<Filter>Windows\tools</Filter>
</ClInclude>
<ClInclude Include="pathsettings.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="ramwatch.h">
<Filter>Windows\tools</Filter>
</ClInclude>
<ClInclude Include="ram_search.h">
<Filter>Windows\tools</Filter>
</ClInclude>
<ClInclude Include="replay.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="resource.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="snddx.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="soundView.h">
<Filter>Windows\tools</Filter>
</ClInclude>
<ClInclude Include="throttle.h">
<Filter>Windows</Filter>
</ClInclude>
<ClInclude Include="tileView.h">
<Filter>Windows\tools</Filter>
</ClInclude>
<ClInclude Include="userconfig\userconfig.h">
<Filter>Windows\userconfig</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="resources.rc">
<Filter>Windows\resources</Filter>
</ResourceCompile>
</ItemGroup>
</Project>

View File

@ -3142,33 +3142,18 @@ LRESULT OpenFile()
ofn.lStructSize = sizeof(ofn);
ofn.hwndOwner = hwnd;
// To avoid #ifdef hell, we'll do a little trick, as lpstrFilter
// needs 0 terminated string, and standard string library, of course,
// can't help us with string creation: just put a '|' were a string end
// should be, and later transform prior assigning to the OPENFILENAME structure
strncpy (fileFilter, "NDS ROM file (*.nds)|*.nds|NDS/GBA ROM File (*.ds.gba)|*.ds.gba|",512);
#ifdef HAVE_LIBZZIP
strncpy (fileFilter, "All Usable Files (*.nds, *.ds.gba, *.zip, *.gz, *.7z, *.rar, *.bz2)|*.nds;*.ds.gba;*.zip;*.gz;*.7z;*.rar;*.bz2|",512);
#endif
ofn.lpstrFilter =
"All Usable Files (*.nds, *.ds.gba, *.zip, *.7z, *.rar, *.bz2)\0*.nds;*.ds.gba;*.zip;*.7z;*.rar;*.bz2\0"
"NDS ROM file (*.nds)\0*.nds\0"
"NDS/GBA ROM File (*.ds.gba)\0*.ds.gba\0"
"Zipped NDS ROM file (*.zip)\0*.zip\0"
"7Zipped NDS ROM file (*.7z)\0*.7z\0"
"RARed NDS ROM file (*.rar)\0*.rar\0"
"BZipped NDS ROM file (*.bz2)\0*.bz2\0"
"Any file (*.*)\0*.*\0"
"\0"
; //gzip doesnt actually work right now
#ifdef HAVE_LIBZZIP
strncat (fileFilter, "Zipped NDS ROM file (*.zip)|*.zip|",512 - strlen(fileFilter));
#endif
#ifdef HAVE_LIBZ
strncat (fileFilter, "GZipped NDS ROM file (*.gz)|*.gz|",512 - strlen(fileFilter));
#endif
strncat (fileFilter, "7Zipped NDS ROM file (*.7z)|*.7z|",512 - strlen(fileFilter));
strncat (fileFilter, "RARed NDS ROM file (*.rar)|*.rar|",512 - strlen(fileFilter));
strncat (fileFilter, "BZipped NDS ROM file (*.bz2)|*.bz2|",512 - strlen(fileFilter));
strncat (fileFilter, "Any file (*.*)|*.*||",512 - strlen(fileFilter));
filterSize = strlen(fileFilter);
for (i = 0; i < filterSize; i++)
{
if (fileFilter[i] == '|') fileFilter[i] = '\0';
}
ofn.lpstrFilter = fileFilter;
ofn.nFilterIndex = 1;
ofn.lpstrFile = filename;
ofn.nMaxFile = MAX_PATH;
@ -3180,23 +3165,24 @@ LRESULT OpenFile()
path.getpath(path.ROMS, buffer);
ofn.lpstrInitialDir = buffer;
if (GetOpenFileName(&ofn) == NULL) {
if (GetOpenFileName(&ofn) == NULL)
{
NDS_UnPause();
return 0;
}
else {
if(path.savelastromvisit)
else
{
char *lchr, buffer[MAX_PATH];
ZeroMemory(buffer, sizeof(buffer));
if(path.savelastromvisit)
{
char *lchr, buffer[MAX_PATH];
ZeroMemory(buffer, sizeof(buffer));
lchr = strrchr(filename, '\\');
strncpy(buffer, filename, strlen(filename) - strlen(lchr));
lchr = strrchr(filename, '\\');
strncpy(buffer, filename, strlen(filename) - strlen(lchr));
path.setpath(path.ROMS, buffer);
WritePathSettings();
}
path.setpath(path.ROMS, buffer);
WritePathSettings();
}
}
if(!OpenCore(filename))

Binary file not shown.

Binary file not shown.

View File

@ -1,47 +0,0 @@
PROJECT
The zziplib provides read access to zipped files in a zip-archive,
using compression based solely on free algorithms provided by zlib.
It also provides a functionality to overlay the archive filesystem
with the filesystem of the operating system environment.
AUTHOR
The project was originally written by Tomi Ollila, later largely
rewritten by Guido Draheim, and extended with contributions in
the years to follow. Guido Draheim <guidod@gmx.de> holds the full
copyright to the zziplib sources.
COPYING
The zziplib may be used freely under the restrictions of the
GNU Lesser General Public License version 2 or later. Alternativly
the Mozilla Public license can be chosen. The sources are under
a dual license, as long as the MPL hint is not removed, the modified
files will be again under a dual license for the final recipient.
LICENSING
If you can not use a dynalinked library according to LGPL rules,
then look at docs/copying.htm for a few hints. Generally the LGPL
has a way for staticlinking as well as the MPL has a way. Anyway,
special (paid) licenses can be negotiated with the copyright holder.
HOMEPAGE
The zziplib project is hosted at SourceForge, the complete
documentation can be found at http://zziplib.sf.net - the
SourceForge servers are also used to distribute the sources
of the zziplib project. Releases are announced via the
freshmeat services on http://freshmeat.net/projects/zziplib
INSTALLATION
The zziplib sources are built with gnu autotools and they should
be easy to install on unixish systems via the usual sequence of
`configure && make && make check && make install`. Many distributors
ship prebuilt packages e.g. in rpm format. Additionally there are
MSVC project files shipped along for usage with the Microsoft
VisualC series of compilers. There should be no problem either
when crosscompiling the zziplib for a third host platform.
MAINTAINANCE
The zziplib library is intentionally a lightweight interface to
zip files. The author take patches but please consider to put
complex extensions into separate modules rather than implanting them
right into the core of the library engine. All Patches and Bug Reports
should be sent to Guido Draheim <guidod@gmx.de>.

View File

@ -1,213 +0,0 @@
#ifndef _ZZIP__MSVC_H
#define _ZZIP__MSVC_H 1
#define _zzip_calltype __cdecl
/* zzip/_msvc.h. Generated automatically at end of configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <byteswap.h> header file. */
/* #undef ZZIP_HAVE_BYTESWAP_H */
/* Define to 1 if you have the <direct.h> header file. */
#ifndef ZZIP_HAVE_DIRECT_H
#define ZZIP_HAVE_DIRECT_H 1
#endif
/* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
*/
/* #undef ZZIP_HAVE_DIRENT_H */
/* Define to 1 if you have the <dlfcn.h> header file. */
/* #undef ZZIP_HAVE_DLFCN_H */
/* Define to 1 if you have the <fnmatch.h> header file. */
/* #undef ZZIP_HAVE_FNMATCH_H */
/* Define to 1 if you have the <inttypes.h> header file. */
/* #undef ZZIP_HAVE_INTTYPES_H */
/* Define to 1 if you have the <io.h> header file. */
#ifndef ZZIP_HAVE_IO_H
#define ZZIP_HAVE_IO_H 1
#endif
/* Define to 1 if you have the <memory.h> header file. */
#ifndef ZZIP_HAVE_MEMORY_H
#define ZZIP_HAVE_MEMORY_H 1
#endif
/* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
/* #undef ZZIP_HAVE_NDIR_H */
/* Define to 1 if you have the <stdint.h> header file. */
/* #undef ZZIP_HAVE_STDINT_H */
/* Define to 1 if you have the <stdlib.h> header file. */
#ifndef ZZIP_HAVE_STDLIB_H
#define ZZIP_HAVE_STDLIB_H 1
#endif
/* Define to 1 if you have the `strcasecmp' function. */
/* #undef ZZIP_HAVE_STRCASECMP */
/* Define to 1 if you have the <strings.h> header file. */
/* #undef ZZIP_HAVE_STRINGS_H */
/* Define to 1 if you have the <string.h> header file. */
#ifndef ZZIP_HAVE_STRING_H
#define ZZIP_HAVE_STRING_H 1
#endif
/* Define to 1 if you have the `strndup' function. */
/* #undef ZZIP_HAVE_STRNDUP */
/* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
*/
/* #undef ZZIP_HAVE_SYS_DIR_H */
/* Define to 1 if you have the <sys/int_types.h> header file. */
/* #undef ZZIP_HAVE_SYS_INT_TYPES_H */
/* Define to 1 if you have the <sys/mman.h> header file. */
/* #undef ZZIP_HAVE_SYS_MMAN_H */
/* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
*/
/* #undef ZZIP_HAVE_SYS_NDIR_H */
/* Define to 1 if you have the <sys/param.h> header file. */
/* #undef ZZIP_HAVE_SYS_PARAM_H */
/* Define to 1 if you have the <sys/stat.h> header file. */
#ifndef ZZIP_HAVE_SYS_STAT_H
#define ZZIP_HAVE_SYS_STAT_H 1
#endif
/* Define to 1 if you have the <sys/types.h> header file. */
#ifndef ZZIP_HAVE_SYS_TYPES_H
#define ZZIP_HAVE_SYS_TYPES_H 1
#endif
/* Define to 1 if you have the <unistd.h> header file. */
/* #undef ZZIP_HAVE_UNISTD_H */
/* Define to 1 if you have the <winbase.h> header file. */
#ifndef ZZIP_HAVE_WINBASE_H
#define ZZIP_HAVE_WINBASE_H 1 /* hmm, is that win32 ? */
#endif
/* Define to 1 if you have the <windows.h> header file. */
#ifndef ZZIP_HAVE_WINDOWS_H
#define ZZIP_HAVE_WINDOWS_H 1 /* yes, this is windows */
#endif
/* Define to 1 if you have the <winnt.h> header file. */
#ifndef ZZIP_HAVE_WINNT_H
#define ZZIP_HAVE_WINNT_H 1 /* is that always true? */
#endif
/* Define to 1 if you have the <zlib.h> header file. */
#ifndef ZZIP_HAVE_ZLIB_H
#define ZZIP_HAVE_ZLIB_H 1 /* you do have it, right? */
#endif
/* whether the system defaults to 32bit off_t but can do 64bit when requested
*/
/* #undef ZZIP_LARGEFILE_SENSITIVE */
/* Name of package */
#ifndef ZZIP_PACKAGE
#define ZZIP_PACKAGE "zziplib-msvc" /* yes, make it known */
#endif
/* Define to the address where bug reports for this package should be sent. */
/* #undef ZZIP_PACKAGE_BUGREPORT */
/* Define to the full name of this package. */
/* #undef ZZIP_PACKAGE_NAME */
/* Define to the full name and version of this package. */
/* #undef ZZIP_PACKAGE_STRING */
/* Define to the one symbol short name of this package. */
/* #undef ZZIP_PACKAGE_TARNAME */
/* Define to the version of this package. */
/* #undef ZZIP_PACKAGE_VERSION */
/* The number of bytes in type int */
#ifndef ZZIP_SIZEOF_INT
#define ZZIP_SIZEOF_INT 4
#endif
/* The number of bytes in type long */
#ifndef ZZIP_SIZEOF_LONG
#define ZZIP_SIZEOF_LONG 4
#endif
/* The number of bytes in type short */
#ifndef ZZIP_SIZEOF_SHORT
#define ZZIP_SIZEOF_SHORT 2
#endif
/* Define to 1 if you have the ANSI C header files. */
#ifndef ZZIP_STDC_HEADERS
#define ZZIP_STDC_HEADERS 1
#endif
/* Version number of package */
#ifndef ZZIP_VERSION
#define ZZIP_VERSION "0.13.x"
#endif
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
/* #undef ZZIP_WORDS_BIGENDIAN */
/* Number of bits in a file offset, on hosts where this is settable. */
/* #undef ZZIP__FILE_OFFSET_BITS */
/* Define for large files, on AIX-style hosts. */
/* #undef ZZIP__LARGE_FILES */
/* Define to `long long' if <sys/types.h> does not define. */
/* #undef ZZIP___int64 */
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef _zzip_const */
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
#ifndef _zzip_inline
#define _zzip_inline __inline
#endif
#endif
/* Define to `_zzip_off_t' if <sys/types.h> does not define. */
#ifndef _zzip_off64_t
#define _zzip_off64_t __int64
#endif
/* Define to `long' if <sys/types.h> does not define. */
#ifndef _zzip_off_t
#define _zzip_off_t long
#endif
/* Define to equivalent of C99 restrict keyword, or to nothing if this is not
supported. Do not define if restrict is supported directly. */
#ifndef _zzip_restrict
#define _zzip_restrict
#endif
/* Define to `unsigned' if <sys/types.h> does not define. */
/* #undef _zzip_size_t */
/* Define to `int' if <sys/types.h> does not define. */
#ifndef _zzip_ssize_t
#define _zzip_ssize_t int
#endif
/* once: _ZZIP__MSVC_H */
#endif

View File

@ -1,540 +0,0 @@
/*
* Here we postprocess autoconf generated prefix-config.h entries.
* This is generally for things like "off_t" which is left undefined
* in plain config.h if the host system does already have it but we do
* need the prefix variant - so we add here a #define _zzip_off_t off_t
*
* This file is supposed to only carry '#define's.
* See <zzip/types.h> for definitions that might be seen by the compiler.
*
* Author:
* Guido Draheim <guidod@gmx.de>
*
* Copyright (c) 2001,2002,2003,2004 Guido Draheim
* All rights reserved,
* use under the restrictions of the
* Lesser GNU General Public License
* or alternatively the restrictions
* of the Mozilla Public License 1.1
*/
#ifndef _ZZIP_CONF_H
#define _ZZIP_CONF_H 1
#if !defined ZZIP_OMIT_CONFIG_H
# if defined _MSC_VER || defined __BORLANDC__ || defined __WATCOMC__
# include <zzip/_msvc.h>
# elif defined ZZIP_1_H
# include "zzip-1.h"
# elif defined ZZIP_2_H
# include "zzip-2.h"
# elif defined ZZIP_3_H
# include "zzip-3.h"
# elif defined ZZIP_4_H
# include "zzip-4.h"
# elif defined ZZIP_5_H
# include "zzip-5.h"
# else /* autoconf generated */
# include <zzip/_config.h>
# endif
#endif
/* especially win32 platforms do not declare off_t so far - see zzip-msvc.h */
#ifndef _zzip_off_t
#ifdef ZZIP_off_t
#define _zzip_off_t ZZIP_off_t
#else
#define _zzip_off_t off_t
#endif
#endif
#ifndef _zzip_off64_t
#ifdef ZZIP_off64_t
#define _zzip_off64_t ZZIP_off64_t
#else
#define _zzip_off64_t off64_t
#endif
#endif
/* currently unused, all current zziplib-users do have ansi-C94 compilers. */
#ifndef _zzip_const
#ifdef ZZIP_const
#define _zzip_const ZZIP_const
#else
#define _zzip_const const
#endif
#endif
#ifndef _zzip_inline
#ifdef ZZIP_inline
#define _zzip_inline ZZIP_inline
#else
#define _zzip_inline inline
#endif
#endif
#ifndef _zzip_restrict
#ifdef ZZIP_restrict
#define _zzip_restrict ZZIP_restrict
#else
#define _zzip_restrict restrict
#endif
#endif
#if defined __linux__ && __GNUC__+0 >= 4
#define zzip__new__ __attribute__((malloc))
#elif defined __linux__ && __GNUC__+0 >= 3 && __GNUC_MINOR_+0 >= 3
#define zzip__new__ __attribute__((malloc))
#else
#define zzip__new__
#endif
#ifndef _zzip_size_t
#ifdef ZZIP_size_t
#define _zzip_size_t ZZIP_size_t
#else
#define _zzip_size_t size_t
#endif
#endif
#ifndef _zzip_ssize_t
#ifdef ZZIP_ssize_t
#define _zzip_ssize_t ZZIP_ssize_t
#else
#define _zzip_ssize_t ssize_t
#endif
#endif
#ifndef _zzip___int64
#ifdef ZZIP___int64
#define _zzip___int64 ZZIP___int64
#else
#define _zzip___int64 long long
#endif
#endif
/* whether this library shall use a 64bit off_t largefile variant in 64on32: */
/* (some exported names must be renamed to avoid bad calls after linking) */
#if defined ZZIP_LARGEFILE_SENSITIVE
# if _FILE_OFFSET_BITS+0 == 64
# define ZZIP_LARGEFILE_RENAME
# elif defined _LARGE_FILES /* used on older AIX to get at 64bit off_t */
# define ZZIP_LARGEFILE_RENAME
# elif defined _ZZIP_LARGEFILE /* or simply use this one for zzip64 runs */
# define ZZIP_LARGEFILE_RENAME
# endif
#endif
/* if the environment did not setup these for 64bit off_t largefile... */
#ifdef ZZIP_LARGEFILE_RENAME
# ifndef _FILE_OFFSET_BITS
# ifdef ZZIP__FILE_OFFSET_BITS /* == 64 */
# define _FILE_OFFSET_BITS ZZIP__FILE_OFFSET_BITS
# endif
# endif
# ifndef _LARGE_FILES
# ifdef ZZIP__LARGE_FILES /* == 1 */
# define _LARGE_FILES ZZIP__LARGE_FILES
# endif
# endif
# ifndef _LARGEFILE_SOURCE
# ifdef ZZIP__LARGEFILE_SOURCE /* == 1 */
# define _LARGEFILE_SOURCE ZZIP__LARGEFILE_SOURCE
# endif
# endif
#endif
#include <errno.h>
/* mingw32msvc errno : would be in winsock.h */
#ifndef EREMOTE
#define EREMOTE ESPIPE
#endif
#ifndef ELOOP
#if defined EILSEQ
#define ELOOP EILSEQ
#else
#define ELOOP ENOEXEC
#endif
#endif
#if defined __WATCOMC__
#undef _zzip_inline
#define _zzip_inline static
#endif
#if defined _MSC_VER || defined __WATCOMC__
#include <io.h>
#endif
#ifdef _MSC_VER
# if !__STDC__
# ifndef _zzip_lseek
# define _zzip_lseek _lseek
# endif
# ifndef _zzip_read
# define _zzip_read _read
# endif
# ifndef _zzip_write
# define _zzip_write _write
# endif
# if 0
# ifndef _zzip_stat
# define _zzip_stat _stat
# endif
# endif
# endif /* !__STDC__ */
#endif
/*MSVC*/
#if defined _MSC_VER || defined __WATCOMC__
# ifndef strcasecmp
# define strcasecmp _stricmp
# endif
#endif
# ifndef _zzip_lseek
# define _zzip_lseek lseek
# endif
# ifndef _zzip_read
# define _zzip_read read
# endif
# ifndef _zzip_write
# define _zzip_write write
# endif
# if 0
# ifndef _zzip_stat
# define _zzip_stat stat
# endif
# endif
#if defined __GNUC__ || defined __attribute__
#define __zzip_attribute__(X) __attribute__(X)
#else
#define __zzip_attribute__(X)
#endif
#if defined ZZIP_EXPORTS || defined ZZIPLIB_EXPORTS
# undef ZZIP_DLL
#define ZZIP_DLL 1
#endif
/* based on zconf.h : */
/* compile with -DZZIP_DLL for Windows DLL support */
#if defined ZZIP_DLL
# if defined _WINDOWS || defined WINDOWS || defined _WIN32
/*# include <windows.h>*/
# endif
# if !defined _zzip_export && defined _MSC_VER && (defined WIN32 || defined _WIN32)
# define _zzip_export __declspec(dllexport) /*WINAPI*/
# endif
# if !defined _zzip_export && defined __BORLANDC__
# if __BORLANDC__ >= 0x0500 && defined WIN32
# include <windows.h>
# define _zzip_export __declspec(dllexport) /*WINAPI*/
# else
# if defined _Windows && defined __DLL__
# define _zzip_export _export
# endif
# endif
# endif
# if !defined _zzip_export && defined __GNUC__
# if defined __declspec
# define _zzip_export extern __declspec(dllexport)
# else
# define _zzip_export extern
# endif
# endif
# if !defined _zzip_export && defined __BEOS__
# define _zzip_export extern __declspec(export)
# endif
# if !defined _zzip_export && defined __WATCOMC__
# define _zzip_export extern __declspec(dllexport)
# define ZEXPORT __syscall
# define ZEXTERN extern
# endif
#endif
#if !defined _zzip_export
# if defined __GNUC__ /* || !defined HAVE_LIBZZIP */
# define _zzip_export extern
# elif defined __declspec || (defined _MSC_VER && defined ZZIP_DLL)
# define _zzip_export extern __declspec(dllimport)
# else
# define _zzip_export extern
# endif
#endif
#endif

View File

@ -1,57 +0,0 @@
/*
* unlike in <zzip/conf.h> we are allowed to make up typedefs here,
* while over there only #defines are allowed
*
* Author:
* Guido Draheim <guidod@gmx.de>
*
* Copyright (c) 2003,2004 Guido Draheim
* All rights reserved,
* usage allowed under the restrictions of the
* Lesser GNU General Public License
* or alternatively the restrictions
* of the Mozilla Public License 1.1
*
* This file is usually the first to define some real symbols. If you do
* see some errors here then it is most likely the includepath is wrong
* or some includeheader is missing / unreadable on your system.
* (a) we include local headers with a "zzip/" prefix just to be sure
* to not actually get the wrong one. Consider to add `-I..` somewhere
* and especially VC/IDE users (who make up their own workspace files)
* should include the root source directory of this project.
* (b) size_t and ssize_t are sometimes found be `configure` but they are
* not in the usual places (ANSI C = stddef.h; UNIX = sys/types.h), so
* be sure to look for them and add the respective header as an #include.
*/
#ifndef _ZZIP_TYPES_H_
#define _ZZIP_TYPES_H_
#include <zzip/conf.h>
#include <fcntl.h>
#include <stddef.h> /* size_t and friends */
#ifdef ZZIP_HAVE_SYS_TYPES_H
#include <sys/types.h> /* bsd (mac) has size_t here */
#endif
/* msvc6 has neither ssize_t (we assume "int") nor off_t (assume "long") */
typedef unsigned char zzip_byte_t; // especially zlib decoding data
typedef _zzip_off64_t zzip_off64_t;
typedef _zzip_off_t zzip_off_t;
typedef _zzip_size_t zzip_size_t; /* Some error here? */
typedef _zzip_ssize_t zzip_ssize_t; /* See notes above! */
/* in <zzip/format.h> */
typedef struct zzip_disk64_trailer ZZIP_DISK64_TRAILER;
typedef struct zzip_disk_trailer ZZIP_DISK_TRAILER;
typedef struct zzip_file_trailer ZZIP_FILE_TRAILER;
typedef struct zzip_root_dirent ZZIP_ROOT_DIRENT;
typedef struct zzip_file_header ZZIP_FILE_HEADER;
typedef struct zzip_disk_entry ZZIP_DISK_ENTRY;
typedef struct zzip_extra_block ZZIP_EXTRA_BLOCK;
#endif

View File

@ -1,268 +0,0 @@
/*
* Author:
* Guido Draheim <guidod@gmx.de>
* Tomi Ollila <Tomi.Ollila@iki.fi>
*
* Copyright (c) 1999,2000,2001,2002,2003,2004 Guido Draheim
* All rights reserved,
* usage allowed under the restrictions of the
* Lesser GNU General Public License
* or alternatively the restrictions
* of the Mozilla Public License 1.1
*
* if you see "unknown symbol" errors, check first that `-I ..` is part of
* your compiler options - a special hint to VC/IDE users who tend to make up
* their own workspace files. All includes look like #include <zzip|*.h>, so
* you need to add an include path to the dir containing (!!) the ./zzip/ dir
*/
#ifndef _ZZIP_ZZIP_H /* zziplib.h */
#define _ZZIP_ZZIP_H
#include <zzip/types.h>
#ifdef __cplusplus
extern "C" {
#endif
/* the zzip_error_t is also used to pass back ZLIB errors... */
#define ZZIP_ERROR -4096
typedef enum
{
ZZIP_NO_ERROR = 0, /* no error, may be used if user sets it. */
ZZIP_OUTOFMEM = ZZIP_ERROR-20, /* out of memory */
ZZIP_DIR_OPEN = ZZIP_ERROR-21, /* failed to open zipfile, see errno for details */
ZZIP_DIR_STAT = ZZIP_ERROR-22, /* failed to fstat zipfile, see errno for details */
ZZIP_DIR_SEEK = ZZIP_ERROR-23, /* failed to lseek zipfile, see errno for details */
ZZIP_DIR_READ = ZZIP_ERROR-24, /* failed to read zipfile, see errno for details */
ZZIP_DIR_TOO_SHORT = ZZIP_ERROR-25,
ZZIP_DIR_EDH_MISSING = ZZIP_ERROR-26,
ZZIP_DIRSIZE = ZZIP_ERROR-27,
ZZIP_ENOENT = ZZIP_ERROR-28,
ZZIP_UNSUPP_COMPR = ZZIP_ERROR-29,
ZZIP_CORRUPTED = ZZIP_ERROR-31,
ZZIP_UNDEF = ZZIP_ERROR-32,
ZZIP_DIR_LARGEFILE = ZZIP_ERROR-33
} zzip_error_t;
/*
* zzip_open flags.
*/
#define ZZIP_CASEINSENSITIVE O_APPEND /* do not use anymore. use CASLESS */
#define ZZIP_IGNOREPATH O_TRUNC /* do not use anymore. use NOPATHS */
#define ZZIP_EXTRAFLAGS (ZZIP_CASEINSENSITIVE|ZZIP_IGNOREPATH)
/* zzip_open_ext_io o_modes flags : new style. use these from now on! */
#define ZZIP_CASELESS (1<<12) /* ignore filename case inside zips */
#define ZZIP_NOPATHS (1<<13) /* ignore subdir paths, just filename*/
#define ZZIP_PREFERZIP (1<<14) /* try first zipped file, then real*/
#define ZZIP_ONLYZIP (1<<16) /* try _only_ zipped file, skip real*/
#define ZZIP_FACTORY (1<<17) /* old file handle is not closed */
#define ZZIP_ALLOWREAL (1<<18) /* real files use default_io (magic) */
#define ZZIP_THREADED (1<<19) /* try to be safe for multithreading */
/*
* zzip largefile renames
*/
#ifdef ZZIP_LARGEFILE_RENAME
#define zzip_telldir zzip_telldir64
#define zzip_seekdir zzip_seekdir64
#endif
/*
* zzip typedefs
*/
/* zzip_strings_t ext[] = { ".zip", ".jar", ".pk3", 0 } */
typedef char _zzip_const * _zzip_const zzip_strings_t;
typedef char _zzip_const zzip_char_t;
typedef struct zzip_dir ZZIP_DIR;
typedef struct zzip_file ZZIP_FILE;
typedef struct zzip_dirent ZZIP_DIRENT;
typedef struct zzip_dirent ZZIP_STAT;
struct zzip_dirent
{
int d_compr; /* compression method */
int d_csize; /* compressed size */
int st_size; /* file size / decompressed size */
char * d_name; /* file name / strdupped name */
};
/*
* Getting error strings
* zzip/err.c
*/
_zzip_export /* error in _opendir : */
zzip_char_t* _zzip_calltype zzip_strerror(int errcode);
_zzip_export /* error in other functions : */
zzip_char_t* _zzip_calltype zzip_strerror_of(ZZIP_DIR * dir);
_zzip_export /* error mapped to errno.h defines : */
int zzip_errno(int errcode);
/*
* Functions to grab information from ZZIP_DIR/ZZIP_FILE structure
* (if ever needed)
* zzip/info.c
*/
_zzip_export
int _zzip_calltype zzip_error(ZZIP_DIR * dir);
_zzip_export
void _zzip_calltype zzip_seterror(ZZIP_DIR * dir, int errcode);
_zzip_export
zzip_char_t* zzip_compr_str(int compr);
_zzip_export
ZZIP_DIR * _zzip_calltype zzip_dirhandle(ZZIP_FILE * fp);
_zzip_export
int _zzip_calltype zzip_dirfd(ZZIP_DIR * dir);
_zzip_export
int _zzip_calltype zzip_dir_real(ZZIP_DIR * dir);
_zzip_export
int _zzip_calltype zzip_file_real(ZZIP_FILE * fp);
_zzip_export
void* _zzip_calltype zzip_realdir(ZZIP_DIR * dir);
_zzip_export
int _zzip_calltype zzip_realfd(ZZIP_FILE * fp);
/*
* zip handle management
* zzip/zip.c
*/
_zzip_export
ZZIP_DIR * _zzip_calltype zzip_dir_alloc(zzip_strings_t* fileext);
_zzip_export
int _zzip_calltype zzip_dir_free(ZZIP_DIR *);
/*
* Opening/closing a zip archive
* zzip-zip.c
*/
_zzip_export
ZZIP_DIR * _zzip_calltype zzip_dir_fdopen(int fd, zzip_error_t * errcode_p);
_zzip_export
ZZIP_DIR * _zzip_calltype zzip_dir_open(zzip_char_t* filename, zzip_error_t * errcode_p);
_zzip_export
int _zzip_calltype zzip_dir_close(ZZIP_DIR * dir);
_zzip_export
int _zzip_calltype zzip_dir_read(ZZIP_DIR * dir, ZZIP_DIRENT * dirent);
/*
* Scanning files in zip archive
* zzip/dir.c
* zzip/zip.c
*/
_zzip_export
ZZIP_DIR * _zzip_calltype zzip_opendir(zzip_char_t* filename);
_zzip_export
int _zzip_calltype zzip_closedir(ZZIP_DIR * dir);
_zzip_export
ZZIP_DIRENT * _zzip_calltype zzip_readdir(ZZIP_DIR * dir);
_zzip_export
void _zzip_calltype zzip_rewinddir(ZZIP_DIR * dir);
_zzip_export
zzip_off_t _zzip_calltype zzip_telldir(ZZIP_DIR * dir);
_zzip_export
void _zzip_calltype zzip_seekdir(ZZIP_DIR * dir, zzip_off_t offset);
/*
* 'opening', 'closing' and reading invidual files in zip archive.
* zzip/file.c
*/
_zzip_export
ZZIP_FILE * _zzip_calltype zzip_file_open(ZZIP_DIR * dir, zzip_char_t* name, int flags);
_zzip_export
int _zzip_calltype zzip_file_close(ZZIP_FILE * fp);
_zzip_export
zzip_ssize_t _zzip_calltype zzip_file_read(ZZIP_FILE * fp, void* buf, zzip_size_t len);
_zzip_export
ZZIP_FILE * _zzip_calltype zzip_open(zzip_char_t* name, int flags);
_zzip_export
int _zzip_calltype zzip_close(ZZIP_FILE * fp);
_zzip_export
zzip_ssize_t _zzip_calltype zzip_read(ZZIP_FILE * fp, void * buf, zzip_size_t len);
/*
* the stdc variant to open/read/close files. - Take note of the freopen()
* call as it may reuse an existing preparsed copy of a zip central directory
*/
_zzip_export
ZZIP_FILE* _zzip_calltype zzip_freopen(zzip_char_t* name, zzip_char_t* mode, ZZIP_FILE*);
_zzip_export
ZZIP_FILE* _zzip_calltype zzip_fopen(zzip_char_t* name, zzip_char_t* mode);
_zzip_export
zzip_size_t _zzip_calltype zzip_fread(void *ptr, zzip_size_t size, zzip_size_t nmemb,
ZZIP_FILE * file);
_zzip_export
int zzip_fclose(ZZIP_FILE * fp);
/*
* seek and tell functions
*/
_zzip_export
int _zzip_calltype zzip_rewind(ZZIP_FILE *fp);
_zzip_export
zzip_off_t _zzip_calltype zzip_seek(ZZIP_FILE * fp, zzip_off_t offset, int whence);
_zzip_export
zzip_off_t _zzip_calltype zzip_tell(ZZIP_FILE * fp);
/*
* reading info of a single file
* zzip/stat.c
*/
_zzip_export
int _zzip_calltype zzip_dir_stat(ZZIP_DIR * dir, zzip_char_t* name,
ZZIP_STAT * zs, int flags);
_zzip_export
int _zzip_calltype zzip_file_stat(ZZIP_FILE * fp, ZZIP_STAT * zs);
_zzip_export
int _zzip_calltype zzip_fstat(ZZIP_FILE * fp, ZZIP_STAT * zs);
#ifdef ZZIP_LARGEFILE_RENAME
#define zzip_open_shared_io zzip_open_shared_io64
#define zzip_open_ext_io zzip_open_ext_io64
#define zzip_opendir_ext_io zzip_opendir_ext_io64
#define zzip_dir_open_ext_io zzip_dir_open_ext_io64
#define zzip_plugin_io_t zzip_plugin_io64_t
#endif
/*
* all ext_io functions can be called with a default of ext/io == zero/zero
* which will default to a ".zip" extension and posix io of the system.
*/
typedef union _zzip_plugin_io _zzip_const * zzip_plugin_io_t;
_zzip_export
ZZIP_FILE * _zzip_calltype zzip_open_shared_io(ZZIP_FILE* stream,
zzip_char_t* name, int o_flags, int o_modes,
zzip_strings_t* ext, zzip_plugin_io_t io);
_zzip_export
ZZIP_FILE * _zzip_calltype zzip_open_ext_io(zzip_char_t* name, int o_flags, int o_modes,
zzip_strings_t* ext, zzip_plugin_io_t io);
_zzip_export
ZZIP_DIR * _zzip_calltype zzip_opendir_ext_io(zzip_char_t* name, int o_modes,
zzip_strings_t* ext, zzip_plugin_io_t io);
_zzip_export
ZZIP_DIR * _zzip_calltype zzip_dir_open_ext_io(zzip_char_t* filename,
zzip_error_t* errcode_p,
zzip_strings_t* ext, zzip_plugin_io_t io);
/* zzip_file_open_ext_io => zzip_dir_open_ext_io + zzip_file_open */
#ifdef __cplusplus
};
#endif
#endif /* _ZZIPLIB_H */
/*
* Local variables:
* c-file-style: "stroustrup"
* End:
*/