|
4 | 4 | Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010, 2012, 2014 Lawrence Sebald
|
5 | 5 |
|
6 | 6 | CrabEmu is free software; you can redistribute it and/or modify
|
7 |
| - it under the terms of the GNU General Public License version 2 |
| 7 | + it under the terms of the GNU General Public License version 2 |
8 | 8 | as published by the Free Software Foundation.
|
9 | 9 |
|
10 | 10 | CrabEmu is distributed in the hope that it will be useful,
|
@@ -103,18 +103,18 @@ colecovision_t colecovision_cons = {
|
103 | 103 | &tms9918a_vdp_activeframe,
|
104 | 104 | NULL, /* save_cheats */
|
105 | 105 | #ifndef _arch_dreamcast
|
106 |
| - &coleco_scanline, |
107 |
| - &coleco_single_step, |
108 |
| - &coleco_finish_frame, |
109 |
| - &coleco_finish_scanline, |
| 106 | + &coleco_scanline, |
| 107 | + &coleco_single_step, |
| 108 | + &coleco_finish_frame, |
| 109 | + &coleco_finish_scanline, |
110 | 110 | #else
|
111 | 111 | NULL,
|
112 | 112 | NULL,
|
113 | 113 | NULL,
|
114 | 114 | NULL,
|
115 | 115 | #endif
|
116 |
| - &coleco_current_scanline, |
117 |
| - &coleco_cycles_left, |
| 116 | + &coleco_current_scanline, |
| 117 | + &coleco_cycles_left, |
118 | 118 | NULL /* set_control */
|
119 | 119 | }
|
120 | 120 | };
|
@@ -148,7 +148,7 @@ int coleco_init(int video_system) {
|
148 | 148 |
|
149 | 149 | for(i = 0; i < PAL_LINES_PER_FRAME; ++i) {
|
150 | 150 | psg_samples[i] = (uint32) (tmp * (i + 1)) -
|
151 |
| - (uint32) (tmp * i); |
| 151 | + (uint32) (tmp * i); |
152 | 152 | }
|
153 | 153 |
|
154 | 154 | /* We need 882 samples per frame @ 44100 Hz, 50fps. */
|
@@ -308,7 +308,7 @@ void coleco_button_released(int player, int button) {
|
308 | 308 | }
|
309 | 309 |
|
310 | 310 | #ifndef _arch_dreamcast
|
311 |
| -static __INLINE__ int update_sound(int16 buf[], int start, int line) { |
| 311 | +static __INLINE__ int update_sound(int16 buf[], int start, int line) { |
312 | 312 | if(sms_psg_enabled)
|
313 | 313 | sn76489_execute_samples(&psg, buf + start, psg_samples[line]);
|
314 | 314 | else
|
|
0 commit comments