GP2x: Oops, forgot to checkin this file

svn-id: r48244
This commit is contained in:
Max Horn 2010-03-12 10:31:58 +00:00
parent d3c29a62ae
commit 314a119b9d

View File

@ -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;