[gens-sdl] Options: Moved variables to a private class.
authorDavid Korth <gerbilsoft@gerbilsoft.com>
Mon, 7 Sep 2015 15:27:53 +0000 (11:27 -0400)
committerDavid Korth <gerbilsoft@gerbilsoft.com>
Mon, 7 Sep 2015 15:27:53 +0000 (11:27 -0400)
commit9dfae95244fc5d1876e35976d6b5750bf0758eda
treebfc0c5325282e9ad7fcf77b2f0cc920ac5793edd
parent29c22b29a9b25d7455b6221034bfa66e57edfb08
[gens-sdl] Options: Moved variables to a private class.

Added accessors for the internal variables.

Validate the color depth option. If it isn't 15, 16, or 32,
show an error and exit.

Sidenote: run_crazy_effect *was* handled in the previous commit,
even though I didn't mention it in the commit notes.
src/gens-sdl/EmuLoop.cpp
src/gens-sdl/EventLoop.cpp
src/gens-sdl/Options.cpp
src/gens-sdl/Options.hpp
src/gens-sdl/gens-sdl.cpp