本文整理汇总了C++中address_space::direct方法的典型用法代码示例。如果您正苦于以下问题:C++ address_space::direct方法的具体用法?C++ address_space::direct怎么用?C++ address_space::direct使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类address_space
的用法示例。
在下文中一共展示了address_space::direct方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1:
void m68307_cpu_device::init16_m68307(address_space &space)
{
m_space = &space;
m_direct = &space.direct();
opcode_xor = 0;
readimm16 = m68k_readimm16_delegate(&m68307_cpu_device::simple_read_immediate_16_m68307, this);
read8 = m68k_read8_delegate(&m68307_cpu_device::read_byte_m68307, this);
read16 = m68k_read16_delegate(&m68307_cpu_device::read_word_m68307, this);
read32 = m68k_read32_delegate(&m68307_cpu_device::read_dword_m68307, this);
write8 = m68k_write8_delegate(&m68307_cpu_device::write_byte_m68307, this);
write16 = m68k_write16_delegate(&m68307_cpu_device::write_word_m68307, this);
write32 = m68k_write32_delegate(&m68307_cpu_device::write_dword_m68307, this);
}