snes c++ cleanup
This commit is contained in:
parent
ea7c12cee8
commit
b7baea2a8e
|
@ -281,13 +281,6 @@ void snes_scanlineStart(int line)
|
||||||
BREAK(eMessage_BRK_scanlineStart);
|
BREAK(eMessage_BRK_scanlineStart);
|
||||||
}
|
}
|
||||||
|
|
||||||
class SharedMemoryBlock
|
|
||||||
{
|
|
||||||
public:
|
|
||||||
std::string memtype;
|
|
||||||
HANDLE handle;
|
|
||||||
};
|
|
||||||
|
|
||||||
void* snes_allocSharedMemory(const char* memtype, size_t amt)
|
void* snes_allocSharedMemory(const char* memtype, size_t amt)
|
||||||
{
|
{
|
||||||
//its important that this happen before the message marshaling because allocation/free attempts can happen before the marshaling is setup (or at shutdown time, in case of errors?)
|
//its important that this happen before the message marshaling because allocation/free attempts can happen before the marshaling is setup (or at shutdown time, in case of errors?)
|
||||||
|
@ -528,8 +521,6 @@ const Action kHandlers_CMD[] = {
|
||||||
CMD_LoadCartridgeSGB,
|
CMD_LoadCartridgeSGB,
|
||||||
snes_term,
|
snes_term,
|
||||||
snes_unload_cartridge,
|
snes_unload_cartridge,
|
||||||
snes_term,
|
|
||||||
snes_unload_cartridge,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
const Action kHandlers_QUERY[] = {
|
const Action kHandlers_QUERY[] = {
|
||||||
|
|
|
@ -125,7 +125,6 @@
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<WarningLevel>Level3</WarningLevel>
|
<WarningLevel>Level3</WarningLevel>
|
||||||
<Optimization>Full</Optimization>
|
<Optimization>Full</Optimization>
|
||||||
<FunctionLevelLinking>false</FunctionLevelLinking>
|
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
<SDLCheck>false</SDLCheck>
|
<SDLCheck>false</SDLCheck>
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
|
@ -151,7 +150,6 @@
|
||||||
<ClCompile>
|
<ClCompile>
|
||||||
<WarningLevel>Level3</WarningLevel>
|
<WarningLevel>Level3</WarningLevel>
|
||||||
<Optimization>Full</Optimization>
|
<Optimization>Full</Optimization>
|
||||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
|
||||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||||
<SDLCheck>false</SDLCheck>
|
<SDLCheck>false</SDLCheck>
|
||||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||||
|
@ -163,6 +161,8 @@
|
||||||
<OmitFramePointers>true</OmitFramePointers>
|
<OmitFramePointers>true</OmitFramePointers>
|
||||||
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||||
<AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions>
|
<AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions>
|
||||||
|
<EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
|
||||||
|
<FloatingPointModel>Fast</FloatingPointModel>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<Link>
|
<Link>
|
||||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||||
|
@ -327,7 +327,7 @@
|
||||||
<ClCompile Include="..\bsnes\gameboy\scheduler\scheduler.cpp" />
|
<ClCompile Include="..\bsnes\gameboy\scheduler\scheduler.cpp" />
|
||||||
<ClCompile Include="..\bsnes\gameboy\system\system.cpp" />
|
<ClCompile Include="..\bsnes\gameboy\system\system.cpp" />
|
||||||
<ClCompile Include="..\bsnes\gameboy\video\video.cpp" />
|
<ClCompile Include="..\bsnes\gameboy\video\video.cpp" />
|
||||||
<ClCompile Include="..\bsnes\libco\sjlj-multi.c" />
|
<ClCompile Include="..\bsnes\libco\x86.c" />
|
||||||
<ClCompile Include="..\bsnes\snes\alt\cpu\cpu.cpp">
|
<ClCompile Include="..\bsnes\snes\alt\cpu\cpu.cpp">
|
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-Compatibility|Win32'">true</ExcludedFromBuild>
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Debug-Compatibility|Win32'">true</ExcludedFromBuild>
|
||||||
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-Compatibility|Win32'">true</ExcludedFromBuild>
|
<ExcludedFromBuild Condition="'$(Configuration)|$(Platform)'=='Release-Compatibility|Win32'">true</ExcludedFromBuild>
|
||||||
|
|
|
@ -566,7 +566,7 @@
|
||||||
<ClCompile Include="..\bsnes\snes\dsp\counter.cpp">
|
<ClCompile Include="..\bsnes\snes\dsp\counter.cpp">
|
||||||
<Filter>snes\dsp</Filter>
|
<Filter>snes\dsp</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
<ClCompile Include="..\bsnes\libco\sjlj-multi.c">
|
<ClCompile Include="..\bsnes\libco\x86.c">
|
||||||
<Filter>libco</Filter>
|
<Filter>libco</Filter>
|
||||||
</ClCompile>
|
</ClCompile>
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
Loading…
Reference in New Issue