naomigd: Eliminate get_read_ptr (nw)

This commit is contained in:
AJR 2020-05-02 19:04:05 -04:00
parent 0894eb27f7
commit 1daa2a1f24

View File

@ -918,8 +918,9 @@ void naomi_gdrom_board::device_start()
netpic = picdata[0x6ee];
// set data for security pic rom
address_space &ps = m_securitycpu->space(AS_PROGRAM);
memcpy((uint8_t*)ps.get_read_ptr(0), picdata, 0x1000);
uint8_t *picrom = static_cast<uint8_t*>(m_securitycpu->memregion(DEVICE_SELF)->base());
for(offs_t b=0;b<0x1000;b++)
picrom[BYTE_XOR_LE(b)] = picdata[b];
} else {
// use extracted pic data
// printf("This PIC key hasn't been converted to a proper PIC binary yet!\n");