mirror of
https://github.com/holub/mame
synced 2025-05-29 00:53:09 +03:00
Naomi: don't crash on games we don't have protection data for.
This commit is contained in:
parent
e48daa45ae
commit
87f2790ae0
@ -232,6 +232,7 @@ READ64_DEVICE_HANDLER( naomibd_r )
|
||||
if (!prot)
|
||||
{
|
||||
logerror("naomibd: reading protection data, but none was supplied\n");
|
||||
return 0;
|
||||
}
|
||||
|
||||
ret = (UINT64)(prot[byte_offset] | (prot[byte_offset+1]<<8));
|
||||
|
Loading…
Reference in New Issue
Block a user