summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/tilemap.cpp
diff options
context:
space:
mode:
author hap <happppp@users.noreply.github.com>2019-07-26 16:50:39 +0200
committer hap <happppp@users.noreply.github.com>2019-07-26 16:50:39 +0200
commit19fc7eff99665a94f94b86962ea1353225465cf8 (patch)
treef263ec54c8b8a434e40d50ff7e0efed366b54f7b /src/emu/tilemap.cpp
parent90e89c08515f2bcdb34432f7b32f03faf77605ad (diff)
tilemap: update note (nw)
Diffstat (limited to 'src/emu/tilemap.cpp')
-rw-r--r--src/emu/tilemap.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/emu/tilemap.cpp b/src/emu/tilemap.cpp
index 903ab980bcf..d2fa0de6c79 100644
--- a/src/emu/tilemap.cpp
+++ b/src/emu/tilemap.cpp
@@ -953,8 +953,9 @@ g_profiler.start(PROFILER_TILEMAP_DRAW);
// flip the tilemap around the center of the visible area
rectangle visarea = screen.visible_area();
- // These are not the width and height, rather 2 * left + width + 1,
- // and 2 * top + height + 1, and these are inputs to the
+ // TODO: is this correct or are drivers relying on a bug here?
+ // These are not the width and height, rather 2 * left + width,
+ // and 2 * top + height, and these are inputs to the
// effective_*scroll functions used in the case of a flip.
u32 width = visarea.right() + visarea.left() + 1;
u32 height = visarea.bottom() + visarea.top() + 1;