diff options
author | 2017-04-26 16:01:59 +0200 | |
---|---|---|
committer | 2017-04-26 16:01:59 +0200 | |
commit | 12d84ac27a1605abfde7f635146affc572f3d43d (patch) | |
tree | 267445d054ceeb9c43a7b95474903cca9b09a131 /src/devices/bus/isa/ne1000.cpp | |
parent | ea4efc1e751fa1c6214ef261ce7d14037a9176db (diff) |
rand() corrections in src/devices/* (nw)
Diffstat (limited to 'src/devices/bus/isa/ne1000.cpp')
-rw-r--r-- | src/devices/bus/isa/ne1000.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/bus/isa/ne1000.cpp b/src/devices/bus/isa/ne1000.cpp index 9f4e61491a3..4fa63153c30 100644 --- a/src/devices/bus/isa/ne1000.cpp +++ b/src/devices/bus/isa/ne1000.cpp @@ -26,7 +26,7 @@ ne1000_device::ne1000_device(const machine_config &mconfig, const char *tag, dev void ne1000_device::device_start() { char mac[7]; - uint32_t num = rand(); + uint32_t num = machine().rand(); memset(m_prom, 0x57, 16); sprintf(mac+2, "\x1b%c%c%c", (num >> 16) & 0xff, (num >> 8) & 0xff, num & 0xff); mac[0] = 0; mac[1] = 0; // avoid gcc warning |