mirror of https://github.com/stella-emu/stella.git
Fix minor compile warnings.
This commit is contained in:
parent
1a8971e6d1
commit
5ad9c0e5ce
|
@ -74,6 +74,15 @@ void checkForCustomBaseDir(Settings::Options& options);
|
|||
*/
|
||||
bool isProfilingRun(int ac, char* av[]);
|
||||
|
||||
/**
|
||||
In Windows, attach console to allow command line output (e.g. for -help).
|
||||
This is needed since by default Windows doesn't set up stdout/stderr
|
||||
correctly.
|
||||
*/
|
||||
void attachConsole();
|
||||
void freeConsole();
|
||||
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
void parseCommandLine(int ac, char* av[],
|
||||
Settings::Options& globalOpts, Settings::Options& localOpts)
|
||||
|
|
|
@ -157,6 +157,9 @@ bool ProfilingRunner::runOne(const ProfilingRun& run)
|
|||
cout << "PAL";
|
||||
consoleTiming = ConsoleTiming::pal;
|
||||
break;
|
||||
|
||||
default: // TODO: add other layouts here
|
||||
break;
|
||||
}
|
||||
|
||||
(cout << endl).flush();
|
||||
|
|
|
@ -72,7 +72,7 @@ class AbstractFrameManager : public Serializable
|
|||
/**
|
||||
* Called when a pixel is rendered.
|
||||
*/
|
||||
virtual void pixelColor(uInt8 color) {};
|
||||
virtual void pixelColor(uInt8 color) {}
|
||||
|
||||
/**
|
||||
* Should the TIA render its frame? This is buffered in a flag for
|
||||
|
|
|
@ -46,7 +46,7 @@ class FrameLayoutDetector: public AbstractFrameManager
|
|||
/**
|
||||
* Simulate some input to pass a potential title screen.
|
||||
*/
|
||||
void FrameLayoutDetector::simulateInput(M6532& riot, EventHandler& eventHandler, bool pressed) const;
|
||||
void simulateInput(M6532& riot, EventHandler& eventHandler, bool pressed) const;
|
||||
|
||||
protected:
|
||||
|
||||
|
|
Loading…
Reference in New Issue