mirror of
https://github.com/holub/mame
synced 2025-07-01 08:18:59 +03:00
change the comment, to describe what effect machine().scheduler().synchronize() actually has (nw)
This commit is contained in:
parent
7d270026cf
commit
99a6e70646
@ -118,7 +118,7 @@ WRITE8_MEMBER( tc0140syt_device::master_port_w )
|
|||||||
|
|
||||||
WRITE8_MEMBER( tc0140syt_device::master_comm_w )
|
WRITE8_MEMBER( tc0140syt_device::master_comm_w )
|
||||||
{
|
{
|
||||||
machine().scheduler().synchronize(); // let slavecpu catch up before changing anything
|
machine().scheduler().synchronize(); // let slavecpu catch up (after we return and the main cpu finishes what it's doing)
|
||||||
data &= 0x0f; /* this is important, otherwise ballbros won't work */
|
data &= 0x0f; /* this is important, otherwise ballbros won't work */
|
||||||
|
|
||||||
switch (m_mainmode)
|
switch (m_mainmode)
|
||||||
@ -155,7 +155,7 @@ WRITE8_MEMBER( tc0140syt_device::master_comm_w )
|
|||||||
|
|
||||||
READ8_MEMBER( tc0140syt_device::master_comm_r )
|
READ8_MEMBER( tc0140syt_device::master_comm_r )
|
||||||
{
|
{
|
||||||
machine().scheduler().synchronize(); // let slavecpu catch up before changing anything
|
machine().scheduler().synchronize(); // let slavecpu catch up (after we return and the main cpu finishes what it's doing)
|
||||||
UINT8 res = 0;
|
UINT8 res = 0;
|
||||||
|
|
||||||
switch (m_mainmode)
|
switch (m_mainmode)
|
||||||
|
Loading…
Reference in New Issue
Block a user