Previous 15994 Revisions Next

r3818 Thursday 11th December, 2008 at 16:47:22 UTC by Wilbert Pol
[MAC] Removed unneeded cpu_push/pop_context calls. Updated mac_dasm_override to return the number of bytes instead of words.
[src/mess/machine]mac.c

src/mess/machine/mac.c
r3817r3818
19501950{
19511951   int scanline;
19521952
1953   cpu_push_context(machine->cpu[0]);
1954
19551953   mac_sh_updatebuffer();
19561954
19571955   scanline = video_screen_get_vpos(machine->primary_screen);
r3817r3818
19631961      mouse_callback(machine);
19641962
19651963   timer_adjust_oneshot(mac_scanline_timer, video_screen_get_time_until_pos(machine->primary_screen, (scanline+1) % MAC_V_TOTAL, 0), 0);
1966
1967   cpu_pop_context();
19681964}
19691965
19701966
r3817r3818
28082804      if (trap)
28092805      {
28102806         strcpy(buffer, trap);
2811         result = 1;
2807         result = 2;
28122808      }
28132809   }
28142810   return result;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team