summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/popeye.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/popeye.cpp')
-rw-r--r--src/mame/video/popeye.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/video/popeye.cpp b/src/mame/video/popeye.cpp
index 8a86190613a..c79c8b156c5 100644
--- a/src/mame/video/popeye.cpp
+++ b/src/mame/video/popeye.cpp
@@ -13,7 +13,7 @@
#include "video/resnet.h"
#include "includes/popeye.h"
-static const size_t popeye_bitmapram_size = 0x2000;
+static const size_t popeye_bitmapram_size = 0x2000; // 8k nybbles packed into 4k ram chip
enum { TYPE_SKYSKIPR, TYPE_POPEYE };
@@ -296,7 +296,7 @@ WRITE8_MEMBER(popeye_state::popeye_bitmap_w)
{
int sx,sy,x,y,colour;
- m_bitmapram[offset] = data;
+ m_bitmapram[offset] = data & 0xf;
if (m_bitmap_type == TYPE_SKYSKIPR)
{