libsnes: when debugging with microsoft's tools, i think we can't use the speed optimized libco. it crashes the tools. maybe it's all wrong, or maybe there's a tiny detail it doesnt handle the way microsoft wants. anyway, I switched back to my paranoid (slower) libco which works really hard to make microsoft happy, and it seems to work.

also: UPX the libsnes dlls when building (just to salve repo size)
This commit is contained in:
zeromus 2017-04-29 01:05:57 -05:00
parent 7d99ca3738
commit 27e419bba5
5 changed files with 8 additions and 2 deletions

View File

@ -145,6 +145,9 @@
<OptimizeReferences>true</OptimizeReferences>
<SubSystem>Windows</SubSystem>
</Link>
<PostBuildEvent>
<Command>upx -9 $(TargetPath)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release-Compatibility|Win32'">
<ClCompile>
@ -170,6 +173,9 @@
<OptimizeReferences>true</OptimizeReferences>
<SubSystem>Windows</SubSystem>
</Link>
<PostBuildEvent>
<Command>upx -9 $(TargetPath)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<ItemGroup>
<ClInclude Include="..\bsnes\base\base.hpp" />
@ -327,7 +333,7 @@
<ClCompile Include="..\bsnes\gameboy\scheduler\scheduler.cpp" />
<ClCompile Include="..\bsnes\gameboy\system\system.cpp" />
<ClCompile Include="..\bsnes\gameboy\video\video.cpp" />
<ClCompile Include="..\bsnes\libco\x86.c" />
<ClCompile Include="..\bsnes\libco\sjlj-multi.c" />
<ClCompile Include="..\bsnes\snes\alt\cpu\cpu.cpp">
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-Compatibility|Win32'">true</ExcludedFromBuild>
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-Compatibility|Win32'">true</ExcludedFromBuild>

View File

@ -566,7 +566,7 @@
<ClCompile Include="..\bsnes\snes\dsp\counter.cpp">
<Filter>snes\dsp</Filter>
</ClCompile>
<ClCompile Include="..\bsnes\libco\x86.c">
<ClCompile Include="..\bsnes\libco\sjlj-multi.c">
<Filter>libco</Filter>
</ClCompile>
</ItemGroup>