diff options
author | R. Belmont <rb6502@users.noreply.github.com> | 2008-06-29 02:45:54 +0000 |
---|---|---|
committer | R. Belmont <rb6502@users.noreply.github.com> | 2008-06-29 02:45:54 +0000 |
commit | acaabbe09d66ad71cc956286512ca05107b235f6 (patch) | |
tree | 60e42928385184f871b5090c0b390cd65998ccd3 /src | |
parent | 6c957130955134cd8dbf70dd090dbe36de31e45b (diff) |
Fixed compile error: "random_r" is a system global on POSIX-y systems.
Diffstat (limited to 'src')
-rw-r--r-- | src/mame/drivers/koftball.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/drivers/koftball.c b/src/mame/drivers/koftball.c index ca8262b6aeb..70ccbd7b8f5 100644 --- a/src/mame/drivers/koftball.c +++ b/src/mame/drivers/koftball.c @@ -89,7 +89,7 @@ static READ16_HANDLER( bmc_RAMDAC_color_r ) return colorram[clr_offset]; } -static READ16_HANDLER(random_r) +static READ16_HANDLER(random_number_r) { return mame_rand(machine); } @@ -137,9 +137,9 @@ static ADDRESS_MAP_START( koftball_mem, ADDRESS_SPACE_PROGRAM, 16 ) AM_RANGE(0x280000, 0x28ffff) AM_RAM /* unused ? */ AM_RANGE(0x2a0000, 0x2a001f) AM_WRITENOP - AM_RANGE(0x2a0000, 0x2a001f) AM_READ(random_r) - AM_RANGE(0x2b0000, 0x2b0003) AM_READ(random_r) - AM_RANGE(0x2d8000, 0x2d8001) AM_READ(random_r) + AM_RANGE(0x2a0000, 0x2a001f) AM_READ(random_number_r) + AM_RANGE(0x2b0000, 0x2b0003) AM_READ(random_number_r) + AM_RANGE(0x2d8000, 0x2d8001) AM_READ(random_number_r) /*sound chip or mcu comm ? maybe just i/o (offset 0xe=lamps?)*/ AM_RANGE(0x2da000, 0x2da001) AM_WRITENOP /* offset ? */ AM_RANGE(0x2da002, 0x2da003) AM_WRITENOP /* data ? */ |