mirror of
https://github.com/holub/mame
synced 2025-06-05 20:33:45 +03:00
[COSMAC] R registers are supposed to contain random data on start-up (nw)
This commit is contained in:
parent
4f6c20fff8
commit
a7390ec3c9
@ -10,6 +10,7 @@
|
||||
#include "emu.h"
|
||||
#include "debugger.h"
|
||||
#include "cosmac.h"
|
||||
#include "coreutil.h"
|
||||
|
||||
|
||||
/*
|
||||
@ -307,7 +308,7 @@ void cosmac_device::device_reset()
|
||||
m_ie = 0;
|
||||
m_q = 0;
|
||||
m_df = 0;
|
||||
memset(m_r, 0, sizeof(m_r));
|
||||
rand_memory(m_r, sizeof(m_r));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user