diff options
author | smf- <smf-@users.noreply.github.com> | 2018-02-15 21:38:58 +0000 |
---|---|---|
committer | smf- <smf-@users.noreply.github.com> | 2018-02-15 21:39:23 +0000 |
commit | c4f6f90ff8f0a9c77ec8bca1b9904a816cf9a41b (patch) | |
tree | 68cde7cc4ce11468b3965f3996c55a6b0313dddb | |
parent | 852a6533e9f2afd3f4d7589a7f254b782a54b610 (diff) |
Popeye: Fixed TPP2 test mode background. [smf]
-rw-r--r-- | src/mame/video/popeye.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/popeye.cpp b/src/mame/video/popeye.cpp index d40b436d46e..aeb33b7c66f 100644 --- a/src/mame/video/popeye.cpp +++ b/src/mame/video/popeye.cpp @@ -423,7 +423,7 @@ void tnx1_state::draw_background(bitmap_ind16 &bitmap, const rectangle &cliprect for (int x = cliprect.min_x; x <= cliprect.max_x; x++) { if (sy < 0) - bitmap.pix16(y, x) = m_background_ram[0x3f] & 0xf; // TODO: find out exactly where the data is fetched from + bitmap.pix16(y, x) = m_background_ram[0] & 0xf; // TODO: find out exactly where the data is fetched from else { // TODO: confirm the memory layout @@ -449,7 +449,7 @@ void tpp1_state::draw_background(bitmap_ind16 &bitmap, const rectangle &cliprect for (int x = cliprect.min_x; x <= cliprect.max_x; x++) { if (sy < 0) - bitmap.pix16(y, x) = m_background_ram[0x3f] & 0xf; // TODO: find out exactly where the data is fetched from + bitmap.pix16(y, x) = m_background_ram[0] & 0xf; // TODO: find out exactly where the data is fetched from else { // TODO: confirm the memory layout @@ -475,7 +475,7 @@ void tpp2_state::draw_background(bitmap_ind16 &bitmap, const rectangle &cliprect for (int x = cliprect.min_x; x <= cliprect.max_x; x++) { if (sy < 0) - bitmap.pix16(y, x) = m_background_ram[0x3f] & 0xf; // TODO: find out exactly where the data is fetched from + bitmap.pix16(y, x) = m_background_ram[((sy & 0x100) / 8) * 0x40] & 0xf; else { // TODO: confirm the memory layout |