Added TimerManager to Xcode project file.

Fixed a few warnings.
This commit is contained in:
Stephen Anthony 2018-08-23 20:37:34 -02:30
parent f58d28089e
commit 7bc320964e
3 changed files with 14 additions and 6 deletions

View File

@ -717,14 +717,14 @@ const FunctionDefMap Debugger::getFunctionDefMap() const
string Debugger::builtinHelp() const string Debugger::builtinHelp() const
{ {
ostringstream buf; ostringstream buf;
size_t len, c_maxlen = 0, i_maxlen = 0; uInt32 len, c_maxlen = 0, i_maxlen = 0;
// Get column widths for aligned output (functions) // Get column widths for aligned output (functions)
for(uInt32 i = 0; i < NUM_BUILTIN_FUNCS; ++i) for(uInt32 i = 0; i < NUM_BUILTIN_FUNCS; ++i)
{ {
len = ourBuiltinFunctions[i].name.size(); len = uInt32(ourBuiltinFunctions[i].name.size());
if(len > c_maxlen) c_maxlen = len; if(len > c_maxlen) c_maxlen = len;
len = ourBuiltinFunctions[i].defn.size(); len = uInt32(ourBuiltinFunctions[i].defn.size());
if(len > i_maxlen) i_maxlen = len; if(len > i_maxlen) i_maxlen = len;
} }
@ -743,7 +743,7 @@ string Debugger::builtinHelp() const
c_maxlen = 0; c_maxlen = 0;
for(uInt32 i = 0; i < NUM_PSEUDO_REGS; ++i) for(uInt32 i = 0; i < NUM_PSEUDO_REGS; ++i)
{ {
len = ourPseudoRegisters[i].name.size(); len = uInt32(ourPseudoRegisters[i].name.size());
if(len > c_maxlen) c_maxlen = len; if(len > c_maxlen) c_maxlen = len;
} }

View File

@ -1235,10 +1235,10 @@ void DebuggerParser::executeHelp()
if(argCount == 0) // normal help, show all commands if(argCount == 0) // normal help, show all commands
{ {
// Find length of longest command // Find length of longest command
size_t clen = 0; uInt32 clen = 0;
for(int i = 0; i < kNumCommands; ++i) for(int i = 0; i < kNumCommands; ++i)
{ {
size_t len = commands[i].cmdString.length(); uInt32 len = uInt32(commands[i].cmdString.length());
if(len > clen) clen = len; if(len > clen) clen = len;
} }

View File

@ -247,6 +247,8 @@
DC2B85E71EF5EF2300379EB9 /* AtariNTSC.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DC2B85E51EF5EF2300379EB9 /* AtariNTSC.cxx */; }; DC2B85E71EF5EF2300379EB9 /* AtariNTSC.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DC2B85E51EF5EF2300379EB9 /* AtariNTSC.cxx */; };
DC2B85E81EF5EF2300379EB9 /* AtariNTSC.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC2B85E61EF5EF2300379EB9 /* AtariNTSC.hxx */; }; DC2B85E81EF5EF2300379EB9 /* AtariNTSC.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC2B85E61EF5EF2300379EB9 /* AtariNTSC.hxx */; };
DC2C5EDB1F8F2403007D2A09 /* smartmod.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC2C5EDA1F8F2403007D2A09 /* smartmod.hxx */; }; DC2C5EDB1F8F2403007D2A09 /* smartmod.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC2C5EDA1F8F2403007D2A09 /* smartmod.hxx */; };
DC30924C212F74930020DAD0 /* TimerManager.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DC30924A212F74930020DAD0 /* TimerManager.cxx */; };
DC30924D212F74930020DAD0 /* TimerManager.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC30924B212F74930020DAD0 /* TimerManager.hxx */; };
DC368F5618A2FB710084199C /* FrameBufferSDL2.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DC368F5018A2FB710084199C /* FrameBufferSDL2.cxx */; }; DC368F5618A2FB710084199C /* FrameBufferSDL2.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DC368F5018A2FB710084199C /* FrameBufferSDL2.cxx */; };
DC368F5718A2FB710084199C /* FrameBufferSDL2.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC368F5118A2FB710084199C /* FrameBufferSDL2.hxx */; }; DC368F5718A2FB710084199C /* FrameBufferSDL2.hxx in Headers */ = {isa = PBXBuildFile; fileRef = DC368F5118A2FB710084199C /* FrameBufferSDL2.hxx */; };
DC368F5818A2FB710084199C /* SoundSDL2.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DC368F5218A2FB710084199C /* SoundSDL2.cxx */; }; DC368F5818A2FB710084199C /* SoundSDL2.cxx in Sources */ = {isa = PBXBuildFile; fileRef = DC368F5218A2FB710084199C /* SoundSDL2.cxx */; };
@ -944,6 +946,8 @@
DC2B85E51EF5EF2300379EB9 /* AtariNTSC.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AtariNTSC.cxx; sourceTree = "<group>"; }; DC2B85E51EF5EF2300379EB9 /* AtariNTSC.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = AtariNTSC.cxx; sourceTree = "<group>"; };
DC2B85E61EF5EF2300379EB9 /* AtariNTSC.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = AtariNTSC.hxx; sourceTree = "<group>"; }; DC2B85E61EF5EF2300379EB9 /* AtariNTSC.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = AtariNTSC.hxx; sourceTree = "<group>"; };
DC2C5EDA1F8F2403007D2A09 /* smartmod.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = smartmod.hxx; sourceTree = "<group>"; }; DC2C5EDA1F8F2403007D2A09 /* smartmod.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = smartmod.hxx; sourceTree = "<group>"; };
DC30924A212F74930020DAD0 /* TimerManager.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = TimerManager.cxx; sourceTree = "<group>"; };
DC30924B212F74930020DAD0 /* TimerManager.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = TimerManager.hxx; sourceTree = "<group>"; };
DC368F5018A2FB710084199C /* FrameBufferSDL2.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FrameBufferSDL2.cxx; sourceTree = "<group>"; }; DC368F5018A2FB710084199C /* FrameBufferSDL2.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = FrameBufferSDL2.cxx; sourceTree = "<group>"; };
DC368F5118A2FB710084199C /* FrameBufferSDL2.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = FrameBufferSDL2.hxx; sourceTree = "<group>"; }; DC368F5118A2FB710084199C /* FrameBufferSDL2.hxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.h; path = FrameBufferSDL2.hxx; sourceTree = "<group>"; };
DC368F5218A2FB710084199C /* SoundSDL2.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SoundSDL2.cxx; sourceTree = "<group>"; }; DC368F5218A2FB710084199C /* SoundSDL2.cxx */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = SoundSDL2.cxx; sourceTree = "<group>"; };
@ -1668,6 +1672,8 @@
DCDDEAC31F5DBF0400C67366 /* StateManager.hxx */, DCDDEAC31F5DBF0400C67366 /* StateManager.hxx */,
DC5C768E14C26F7C0031EBC7 /* StellaKeys.hxx */, DC5C768E14C26F7C0031EBC7 /* StellaKeys.hxx */,
DC74D6A0138D4D7E00F05C5C /* StringParser.hxx */, DC74D6A0138D4D7E00F05C5C /* StringParser.hxx */,
DC30924A212F74930020DAD0 /* TimerManager.cxx */,
DC30924B212F74930020DAD0 /* TimerManager.hxx */,
DCC467EA14FBEC9600E15508 /* tv_filters */, DCC467EA14FBEC9600E15508 /* tv_filters */,
DC7A24D4173B1CF600B20FE9 /* Variant.hxx */, DC7A24D4173B1CF600B20FE9 /* Variant.hxx */,
DCF490791A0ECE5B00A67AA9 /* Vec.hxx */, DCF490791A0ECE5B00A67AA9 /* Vec.hxx */,
@ -2447,6 +2453,7 @@
DCCF47E014B60DEE00814FAB /* JoystickWidget.hxx in Headers */, DCCF47E014B60DEE00814FAB /* JoystickWidget.hxx in Headers */,
DCCF49B814B7544A00814FAB /* PaddleWidget.hxx in Headers */, DCCF49B814B7544A00814FAB /* PaddleWidget.hxx in Headers */,
DCCF4AD214B7E6C300814FAB /* BoosterWidget.hxx in Headers */, DCCF4AD214B7E6C300814FAB /* BoosterWidget.hxx in Headers */,
DC30924D212F74930020DAD0 /* TimerManager.hxx in Headers */,
DCCF4AD314B7E6C300814FAB /* NullControlWidget.hxx in Headers */, DCCF4AD314B7E6C300814FAB /* NullControlWidget.hxx in Headers */,
DCCF4ADD14B9433100814FAB /* GenesisWidget.hxx in Headers */, DCCF4ADD14B9433100814FAB /* GenesisWidget.hxx in Headers */,
DCF3A6EA1DFC75E3008A8AF3 /* Ball.hxx in Headers */, DCF3A6EA1DFC75E3008A8AF3 /* Ball.hxx in Headers */,
@ -2654,6 +2661,7 @@
DC9616321F817830008A2206 /* PointingDeviceWidget.cxx in Sources */, DC9616321F817830008A2206 /* PointingDeviceWidget.cxx in Sources */,
2D91747F09BA90380026E9FF /* CartF4.cxx in Sources */, 2D91747F09BA90380026E9FF /* CartF4.cxx in Sources */,
DCFCDE7220C9E66500915CBE /* EmulationWorker.cxx in Sources */, DCFCDE7220C9E66500915CBE /* EmulationWorker.cxx in Sources */,
DC30924C212F74930020DAD0 /* TimerManager.cxx in Sources */,
2D91748009BA90380026E9FF /* CartF4SC.cxx in Sources */, 2D91748009BA90380026E9FF /* CartF4SC.cxx in Sources */,
2D91748109BA90380026E9FF /* CartF6.cxx in Sources */, 2D91748109BA90380026E9FF /* CartF6.cxx in Sources */,
2D91748209BA90380026E9FF /* CartF6SC.cxx in Sources */, 2D91748209BA90380026E9FF /* CartF6SC.cxx in Sources */,