summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mame/drivers/dreamwld.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mame/drivers/dreamwld.c b/src/mame/drivers/dreamwld.c
index d45c1c8ed5a..e07d8ba81c7 100644
--- a/src/mame/drivers/dreamwld.c
+++ b/src/mame/drivers/dreamwld.c
@@ -361,10 +361,10 @@ UINT32 dreamwld_state::screen_update_dreamwld(screen_device &screen, bitmap_ind1
else
/* per-line rowscroll */
x0 = linebase[(i+32)&0xff];
- }
+ }
tmptilemap0->set_scrollx(
- (i + layer0_scrolly) % 1024,
+ (i + layer0_scrolly) & 0x3ff,
layer0_scrollx + x0 );
@@ -383,8 +383,9 @@ UINT32 dreamwld_state::screen_update_dreamwld(screen_device &screen, bitmap_ind1
tmptilemap1->set_scrollx(
- (i + layer1_scrolly) % 1024,
+ (i + layer1_scrolly) & 0x3ff,
layer1_scrollx + x1 );
+
}