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);
|
||||
}
|
||||
|
||||
class SharedMemoryBlock
|
||||
{
|
||||
public:
|
||||
std::string memtype;
|
||||
HANDLE handle;
|
||||
};
|
||||
|
||||
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?)
|
||||
|
@ -528,8 +521,6 @@ const Action kHandlers_CMD[] = {
|
|||
CMD_LoadCartridgeSGB,
|
||||
snes_term,
|
||||
snes_unload_cartridge,
|
||||
snes_term,
|
||||
snes_unload_cartridge,
|
||||
};
|
||||
|
||||
const Action kHandlers_QUERY[] = {
|
||||
|
|
|
@ -125,7 +125,6 @@
|
|||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Full</Optimization>
|
||||
<FunctionLevelLinking>false</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>false</SDLCheck>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
|
@ -151,7 +150,6 @@
|
|||
<ClCompile>
|
||||
<WarningLevel>Level3</WarningLevel>
|
||||
<Optimization>Full</Optimization>
|
||||
<FunctionLevelLinking>true</FunctionLevelLinking>
|
||||
<IntrinsicFunctions>true</IntrinsicFunctions>
|
||||
<SDLCheck>false</SDLCheck>
|
||||
<MultiProcessorCompilation>true</MultiProcessorCompilation>
|
||||
|
@ -163,6 +161,8 @@
|
|||
<OmitFramePointers>true</OmitFramePointers>
|
||||
<InlineFunctionExpansion>AnySuitable</InlineFunctionExpansion>
|
||||
<AdditionalOptions>/Zc:threadSafeInit- %(AdditionalOptions)</AdditionalOptions>
|
||||
<EnableEnhancedInstructionSet>StreamingSIMDExtensions</EnableEnhancedInstructionSet>
|
||||
<FloatingPointModel>Fast</FloatingPointModel>
|
||||
</ClCompile>
|
||||
<Link>
|
||||
<GenerateDebugInformation>true</GenerateDebugInformation>
|
||||
|
@ -327,7 +327,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\sjlj-multi.c" />
|
||||
<ClCompile Include="..\bsnes\libco\x86.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>
|
||||
|
|
|
@ -566,7 +566,7 @@
|
|||
<ClCompile Include="..\bsnes\snes\dsp\counter.cpp">
|
||||
<Filter>snes\dsp</Filter>
|
||||
</ClCompile>
|
||||
<ClCompile Include="..\bsnes\libco\sjlj-multi.c">
|
||||
<ClCompile Include="..\bsnes\libco\x86.c">
|
||||
<Filter>libco</Filter>
|
||||
</ClCompile>
|
||||
</ItemGroup>
|
||||
|
|
Loading…
Reference in New Issue