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[]);
|
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[],
|
void parseCommandLine(int ac, char* av[],
|
||||||
Settings::Options& globalOpts, Settings::Options& localOpts)
|
Settings::Options& globalOpts, Settings::Options& localOpts)
|
||||||
|
|
|
@ -157,6 +157,9 @@ bool ProfilingRunner::runOne(const ProfilingRun& run)
|
||||||
cout << "PAL";
|
cout << "PAL";
|
||||||
consoleTiming = ConsoleTiming::pal;
|
consoleTiming = ConsoleTiming::pal;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
default: // TODO: add other layouts here
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
(cout << endl).flush();
|
(cout << endl).flush();
|
||||||
|
|
|
@ -72,7 +72,7 @@ class AbstractFrameManager : public Serializable
|
||||||
/**
|
/**
|
||||||
* Called when a pixel is rendered.
|
* 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
|
* 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.
|
* 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:
|
protected:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue