gambatte_sdl/blitter: cosmetics/consistency[/ocd]

This commit is contained in:
sinamas 2013-03-28 21:33:49 +01:00
parent d74bc792b0
commit cdabdf2897
4 changed files with 4 additions and 4 deletions

View File

@ -32,7 +32,7 @@ BlitterWrapper::BlitterWrapper(VfilterInfo const &vfinfo, int scale, bool yuv, b
BlitterWrapper::~BlitterWrapper() {
}
BlitterWrapper::Buf const BlitterWrapper::inBuf() const {
BlitterWrapper::Buf BlitterWrapper::inBuf() const {
Buf buf;
if (VideoLink *const gblink = vfilter_ ? vfilter_.get() : cconvert_.get()) {
buf.pixels = static_cast<gambatte::uint_least32_t *>(gblink->inBuf());

View File

@ -32,7 +32,7 @@ public:
BlitterWrapper(VfilterInfo const &, int scale, bool yuv, bool full);
~BlitterWrapper();
Buf const inBuf() const;
Buf inBuf() const;
void draw();
void present() { blitter_.present(); }
void toggleFullScreen() { blitter_.toggleFullScreen(); }

View File

@ -50,7 +50,7 @@ SdlBlitter::SdlBlitter(unsigned inwidth, unsigned inheight,
SdlBlitter::~SdlBlitter() {
}
const SdlBlitter::PixelBuffer SdlBlitter::inBuffer() const {
SdlBlitter::PixelBuffer SdlBlitter::inBuffer() const {
PixelBuffer pb = { 0, 0, RGB32 };
if (overlay_) {

View File

@ -38,7 +38,7 @@ public:
SdlBlitter(unsigned inwidth, unsigned inheight,
int scale, bool yuv, bool full);
~SdlBlitter();
PixelBuffer const inBuffer() const;
PixelBuffer inBuffer() const;
void draw();
void present();
void toggleFullScreen();