summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/leapster.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/leapster.cpp')
-rw-r--r--src/mame/drivers/leapster.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/leapster.cpp b/src/mame/drivers/leapster.cpp
index 2f7d04b67a4..1bd115ffa9f 100644
--- a/src/mame/drivers/leapster.cpp
+++ b/src/mame/drivers/leapster.cpp
@@ -234,7 +234,7 @@ private:
uint32_t screen_update_leapster(screen_device &screen, bitmap_rgb32 &bitmap, const rectangle &cliprect);
DECLARE_DEVICE_IMAGE_LOAD_MEMBER(cart_load);
- DECLARE_READ32_MEMBER(leapster_random_r)
+ uint32_t leapster_random_r()
{
return machine().rand() | (machine().rand()<<16); // there is a loop checking that this is above a certain value
}