mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-03 01:15:58 +00:00
Revert revision 31256, since _textSurfaceMultiplier isn't set at that point.
svn-id: r31380
This commit is contained in:
parent
05e2b66967
commit
e36b95b64a
@ -528,11 +528,6 @@ ScummEngine::ScummEngine(OSystem *syst, const DetectorResult &dr)
|
||||
else
|
||||
_compositeBuf = 0;
|
||||
|
||||
_fmtownsBuf = 0;
|
||||
if (_game.platform == Common::kPlatformFMTowns && _language == Common::JA_JPN) {
|
||||
_fmtownsBuf = (byte *)malloc(_screenWidth * _textSurfaceMultiplier * _screenHeight * _textSurfaceMultiplier);
|
||||
}
|
||||
|
||||
_herculesBuf = 0;
|
||||
if (_renderMode == Common::kRenderHercA || _renderMode == Common::kRenderHercG) {
|
||||
_herculesBuf = (byte *)malloc(Common::kHercW * Common::kHercH);
|
||||
@ -1203,6 +1198,11 @@ void ScummEngine::setupScumm() {
|
||||
Graphics::initfonts();
|
||||
#endif
|
||||
|
||||
_fmtownsBuf = 0;
|
||||
if (_game.platform == Common::kPlatformFMTowns && _language == Common::JA_JPN) {
|
||||
_fmtownsBuf = (byte *)malloc(_screenWidth * _textSurfaceMultiplier * _screenHeight * _textSurfaceMultiplier);
|
||||
}
|
||||
|
||||
free(_compositeBuf);
|
||||
_compositeBuf = (byte *)malloc(_screenWidth * _textSurfaceMultiplier * _screenHeight * _textSurfaceMultiplier);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user