gambatte_sdl/blitter: cosmetics/consistency[/ocd]
This commit is contained in:
parent
d74bc792b0
commit
cdabdf2897
@ -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());
|
||||
|
@ -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(); }
|
||||
|
@ -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_) {
|
||||
|
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user