mirror of https://github.com/stella-emu/stella.git
fix compiler error without debugger support
create VS configuration (without debugger support)
This commit is contained in:
parent
30fec1ee89
commit
b7e1d7dd17
|
@ -159,33 +159,29 @@ void System::poke(uInt16 addr, uInt8 value, Device::AccessFlags flags)
|
||||||
myDataBusState = value;
|
myDataBusState = value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef DEBUGGER_SUPPORT
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
Device::AccessFlags System::getAccessFlags(uInt16 addr) const
|
Device::AccessFlags System::getAccessFlags(uInt16 addr) const
|
||||||
{
|
{
|
||||||
#ifdef DEBUGGER_SUPPORT
|
|
||||||
const PageAccess& access = getPageAccess(addr);
|
const PageAccess& access = getPageAccess(addr);
|
||||||
|
|
||||||
if(access.codeAccessBase)
|
if(access.codeAccessBase)
|
||||||
return *(access.codeAccessBase + (addr & PAGE_MASK));
|
return *(access.codeAccessBase + (addr & PAGE_MASK));
|
||||||
else
|
else
|
||||||
return access.device->getAccessFlags(addr);
|
return access.device->getAccessFlags(addr);
|
||||||
#else
|
|
||||||
return 0;
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
void System::setAccessFlags(uInt16 addr, Device::AccessFlags flags)
|
void System::setAccessFlags(uInt16 addr, Device::AccessFlags flags)
|
||||||
{
|
{
|
||||||
#ifdef DEBUGGER_SUPPORT
|
|
||||||
const PageAccess& access = getPageAccess(addr);
|
const PageAccess& access = getPageAccess(addr);
|
||||||
|
|
||||||
if(access.codeAccessBase)
|
if(access.codeAccessBase)
|
||||||
*(access.codeAccessBase + (addr & PAGE_MASK)) |= flags;
|
*(access.codeAccessBase + (addr & PAGE_MASK)) |= flags;
|
||||||
else
|
else
|
||||||
access.device->setAccessFlags(addr, flags);
|
access.device->setAccessFlags(addr, flags);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
bool System::save(Serializer& out) const
|
bool System::save(Serializer& out) const
|
||||||
|
|
|
@ -1,16 +1,15 @@
|
||||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
# Visual Studio 15
|
# Visual Studio Version 16
|
||||||
VisualStudioVersion = 15.0.28307.168
|
VisualStudioVersion = 16.0.29613.14
|
||||||
MinimumVisualStudioVersion = 10.0.40219.1
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Stella", "Stella.vcxproj", "{D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}"
|
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Stella", "Stella.vcxproj", "{D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}"
|
||||||
EndProject
|
EndProject
|
||||||
Global
|
Global
|
||||||
GlobalSection(Performance) = preSolution
|
|
||||||
HasPerformanceSessions = true
|
|
||||||
EndGlobalSection
|
|
||||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
Debug|Win32 = Debug|Win32
|
Debug|Win32 = Debug|Win32
|
||||||
Debug|x64 = Debug|x64
|
Debug|x64 = Debug|x64
|
||||||
|
Debug-NoDebugger|Win32 = Debug-NoDebugger|Win32
|
||||||
|
Debug-NoDebugger|x64 = Debug-NoDebugger|x64
|
||||||
Profile|Win32 = Profile|Win32
|
Profile|Win32 = Profile|Win32
|
||||||
Profile|x64 = Profile|x64
|
Profile|x64 = Profile|x64
|
||||||
Release|Win32 = Release|Win32
|
Release|Win32 = Release|Win32
|
||||||
|
@ -21,6 +20,10 @@ Global
|
||||||
{D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Debug|Win32.Build.0 = Debug|Win32
|
{D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Debug|Win32.Build.0 = Debug|Win32
|
||||||
{D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Debug|x64.ActiveCfg = Debug|x64
|
{D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
{D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Debug|x64.Build.0 = Debug|x64
|
{D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Debug-NoDebugger|Win32.ActiveCfg = Debug-NoDebugger|Win32
|
||||||
|
{D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Debug-NoDebugger|Win32.Build.0 = Debug-NoDebugger|Win32
|
||||||
|
{D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Debug-NoDebugger|x64.ActiveCfg = Debug-NoDebugger|x64
|
||||||
|
{D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Debug-NoDebugger|x64.Build.0 = Debug-NoDebugger|x64
|
||||||
{D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Profile|Win32.ActiveCfg = Profile|Win32
|
{D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Profile|Win32.ActiveCfg = Profile|Win32
|
||||||
{D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Profile|Win32.Build.0 = Profile|Win32
|
{D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Profile|Win32.Build.0 = Profile|Win32
|
||||||
{D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Profile|x64.ActiveCfg = Profile|x64
|
{D7FCEC7F-33E1-49DD-A4B0-D5FC222250AD}.Profile|x64.ActiveCfg = Profile|x64
|
||||||
|
@ -42,4 +45,7 @@ Global
|
||||||
GlobalSection(Performance) = preSolution
|
GlobalSection(Performance) = preSolution
|
||||||
HasPerformanceSessions = true
|
HasPerformanceSessions = true
|
||||||
EndGlobalSection
|
EndGlobalSection
|
||||||
|
GlobalSection(Performance) = preSolution
|
||||||
|
HasPerformanceSessions = true
|
||||||
|
EndGlobalSection
|
||||||
EndGlobal
|
EndGlobal
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue