mirror of https://github.com/stella-emu/stella.git
Comments.
This commit is contained in:
parent
15154eafaf
commit
1ac4f8e362
|
@ -40,6 +40,8 @@ void RewindManager::setup()
|
||||||
myLastTimeMachineAdd = false;
|
myLastTimeMachineAdd = false;
|
||||||
|
|
||||||
const string& prefix = myOSystem.settings().getBool("dev.settings") ? "dev." : "plr.";
|
const string& prefix = myOSystem.settings().getBool("dev.settings") ? "dev." : "plr.";
|
||||||
|
|
||||||
|
// Work around a bug in XCode 11.2 with -O0 and -O1
|
||||||
const uInt32 maxBufSize = MAX_BUF_SIZE;
|
const uInt32 maxBufSize = MAX_BUF_SIZE;
|
||||||
|
|
||||||
// TODO - Add proper bounds checking (define constexpr variables for this)
|
// TODO - Add proper bounds checking (define constexpr variables for this)
|
||||||
|
|
|
@ -156,6 +156,7 @@ void MT24LC256::systemReset()
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
void MT24LC256::eraseAll()
|
void MT24LC256::eraseAll()
|
||||||
{
|
{
|
||||||
|
// Work around a bug in XCode 11.2 with -O0 and -O1
|
||||||
const uInt8 initialValue = INITIAL_VALUE;
|
const uInt8 initialValue = INITIAL_VALUE;
|
||||||
|
|
||||||
myData.fill(initialValue);
|
myData.fill(initialValue);
|
||||||
|
@ -165,6 +166,7 @@ void MT24LC256::eraseAll()
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
void MT24LC256::eraseCurrent()
|
void MT24LC256::eraseCurrent()
|
||||||
{
|
{
|
||||||
|
// Work around a bug in XCode 11.2 with -O0 and -O1
|
||||||
const uInt8 initialValue = INITIAL_VALUE;
|
const uInt8 initialValue = INITIAL_VALUE;
|
||||||
|
|
||||||
for(uInt32 page = 0; page < PAGE_NUM; ++page)
|
for(uInt32 page = 0; page < PAGE_NUM; ++page)
|
||||||
|
@ -189,6 +191,7 @@ bool MT24LC256::isPageUsed(uInt32 page) const
|
||||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
void MT24LC256::jpee_init()
|
void MT24LC256::jpee_init()
|
||||||
{
|
{
|
||||||
|
// Work around a bug in XCode 11.2 with -O0 and -O1
|
||||||
const uInt8 initialValue = INITIAL_VALUE;
|
const uInt8 initialValue = INITIAL_VALUE;
|
||||||
|
|
||||||
jpee_sdat = 1;
|
jpee_sdat = 1;
|
||||||
|
|
Loading…
Reference in New Issue