Add comment to NES-specifix gfx hack with virtual screens

svn-id: r17861
This commit is contained in:
Eugene Sandulenko 2005-04-29 06:36:03 +00:00
parent cbd2e319ea
commit f8283f3aa5

View file

@ -273,10 +273,9 @@ void ScummEngine::initScreens(int b, int h) {
}
if ((_platform == Common::kPlatformNES) && (h != _screenHeight)) {
// FIXME: Why is the kUnkVirtScreen used for the MM NES port? This seems very
// strange, and at the very least, a comment should be added here that
// explains why this is done. Maybe it is some kind of hack to shift the
// other virtual screens downwards?
// It is a hack to shift whole screen downwards to match original.
// Otherwise we will need to do lots of coordinate adjustments all over
// the code
adj = 16;
initVirtScreen(kUnkVirtScreen, 0, _screenWidth, adj, false, false);
}