| 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 |
| r3817 | r3818 | |
|---|---|---|
| 1950 | 1950 | { |
| 1951 | 1951 | int scanline; |
| 1952 | 1952 | |
| 1953 | cpu_push_context(machine->cpu[0]); | |
| 1954 | ||
| 1955 | 1953 | mac_sh_updatebuffer(); |
| 1956 | 1954 | |
| 1957 | 1955 | scanline = video_screen_get_vpos(machine->primary_screen); |
| r3817 | r3818 | |
| 1963 | 1961 | mouse_callback(machine); |
| 1964 | 1962 | |
| 1965 | 1963 | 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(); | |
| 1968 | 1964 | } |
| 1969 | 1965 | |
| 1970 | 1966 | |
| r3817 | r3818 | |
| 2808 | 2804 | if (trap) |
| 2809 | 2805 | { |
| 2810 | 2806 | strcpy(buffer, trap); |
| 2811 | result = | |
| 2807 | result = 2; | |
| 2812 | 2808 | } |
| 2813 | 2809 | } |
| 2814 | 2810 | return result; |
| Previous | 15994 Revisions | Next |