Try it this way

This commit is contained in:
arcadez2003 2024-11-01 13:21:07 +00:00 committed by GitHub
parent 9511d7fa8f
commit 6052f9e4d3
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6249,13 +6249,18 @@ DRIVER_INIT( sonic2mb )
} }
int prot_cmd; int prot_cmd;
/*
WRITE_HANDLER( sonic3mb_prot_w ) WRITE_HANDLER( sonic3mb_prot_w )
{ {
UINT8 data; UINT8 data;
prot_cmd = data; prot_cmd = data;
} }
*/
static void sonic3mb_prot_w( UINT8 data )
{
prot_cmd = data;
}
READ16_HANDLER( sonic3mb_prot_r ) READ16_HANDLER( sonic3mb_prot_r )
{ {