[gens-sdl] Make use of the bpp command line parameter.
authorDavid Korth <gerbilsoft@gerbilsoft.com>
Mon, 7 Sep 2015 15:52:09 +0000 (11:52 -0400)
committerDavid Korth <gerbilsoft@gerbilsoft.com>
Mon, 7 Sep 2015 15:52:09 +0000 (11:52 -0400)
commitf6343b63e7ecf254ed74cdceaab4004c6e16cff8
treee50c95d4bac5dd1e432ce54076007f534870ebea
parentb23deb5b823e5a4d4ae9aaccdd7778fafa7f9d78
[gens-sdl] Make use of the bpp command line parameter.

Options::bpp() now returns an MdFb::ColorDepth value.

TODO: Remove the bpp value from VBackend's constructor.
This will require re-creating the texture whenever the MdFb's
color depth changes.
14 files changed:
src/gens-sdl/CrazyEffectLoop.cpp
src/gens-sdl/EmuLoop.cpp
src/gens-sdl/GLBackend.cpp
src/gens-sdl/GLBackend.hpp
src/gens-sdl/Options.cpp
src/gens-sdl/Options.hpp
src/gens-sdl/SdlGLBackend.cpp
src/gens-sdl/SdlGLBackend.hpp
src/gens-sdl/SdlHandler.cpp
src/gens-sdl/SdlHandler.hpp
src/gens-sdl/SdlSWBackend.cpp
src/gens-sdl/SdlSWBackend.hpp
src/gens-sdl/VBackend.cpp
src/gens-sdl/VBackend.hpp