mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-27 04:07:05 +00:00
GP2x: Oops, forgot to checkin this file
svn-id: r48244
This commit is contained in:
parent
d3c29a62ae
commit
314a119b9d
@ -277,6 +277,12 @@ void OSystem_GP2X::initSize(uint w, uint h, const Graphics::PixelFormat *format)
|
||||
_dirtyChecksums = (uint32 *)calloc(_cksumNum * 2, sizeof(uint32));
|
||||
}
|
||||
|
||||
int OSystem_GP2X::effectiveScreenHeight() const {
|
||||
return (_videoMode.aspectRatioCorrection ? real2Aspect(_videoMode.screenHeight) : _videoMode.screenHeight)
|
||||
* _videoMode.scaleFactor;
|
||||
}
|
||||
|
||||
|
||||
bool OSystem_GP2X::loadGFXMode() {
|
||||
assert(_inited);
|
||||
_forceFull = true;
|
||||
|
Loading…
Reference in New Issue
Block a user