Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

gambatte_sdl/blitter: cosmetics/consistency[/ocd]

  • Loading branch information...
commit cdabdf2897f7cf5f975e2001ff8e97ec237536aa 1 parent d74bc79
sinamas authored
View
2  gambatte_sdl/src/blitterwrapper.cpp
@@ -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
2  gambatte_sdl/src/blitterwrapper.h
@@ -32,7 +32,7 @@ class BlitterWrapper {
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
2  gambatte_sdl/src/sdlblitter.cpp
@@ -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
2  gambatte_sdl/src/sdlblitter.h
@@ -38,7 +38,7 @@ class SdlBlitter {
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();
Please sign in to comment.
Something went wrong with that request. Please try again.