Previous 199869 Revisions Next

r25350 Monday 16th September, 2013 at 16:39:02 UTC by hap
fix compiler warning
[src/emu/cpu/cubeqcpu]cubeqcpu.c

trunk/src/emu/cpu/cubeqcpu/cubeqcpu.c
r25349r25350
10991099    LINE DRAWER CORE EXECUTION LOOP
11001100***************************************************************************/
11011101
1102#define VISIBLE_FIELD   !m_field
1103
11041102enum line_spf
11051103{
11061104   LSPF_UNUSED  = 0,
r25349r25350
11691167
11701168UINT8 cquestlin_cpu_device::cubeqcpu_get_ptr_ram_val(int i)
11711169{
1172   return m_ptr_ram[(VISIBLE_FIELD * 256) + i];
1170   return m_ptr_ram[((m_field^1) * 256) + i];
11731171}
11741172
11751173
11761174UINT32* cquestlin_cpu_device::cubeqcpu_get_stack_ram()
11771175{
1178   if (VISIBLE_FIELD == ODD_FIELD)
1176   if (m_field != ODD_FIELD)
11791177      return m_o_stack;
11801178   else
11811179      return m_e_stack;

Previous 199869 Revisions Next


© 1997-2024 The MAME Team