comparison src/xs_sidplay2.cc @ 702:b5b6b13a6d85

Renamed some types.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 25 May 2008 01:38:48 +0300
parents e2800b15ec0f
children a6283cf95c99
comparison
equal deleted inserted replaced
701:f2037b4d2c23 702:b5b6b13a6d85
92 92
93 /* Check if we can play the given file 93 /* Check if we can play the given file
94 */ 94 */
95 gboolean xs_sidplay2_probe(xs_file_t *f) 95 gboolean xs_sidplay2_probe(xs_file_t *f)
96 { 96 {
97 gchar tmpBuf[4]; 97 gchar tmpBuf[5];
98 98
99 if (!f) return FALSE; 99 if (!f) return FALSE;
100 100
101 if (xs_fread(tmpBuf, sizeof(gchar), 4, f) != 4) 101 if (xs_fread(tmpBuf, sizeof(gchar), 4, f) != 4)
102 return FALSE; 102 return FALSE;
113 gboolean xs_sidplay2_init(xs_status_t * myStatus) 113 gboolean xs_sidplay2_init(xs_status_t * myStatus)
114 { 114 {
115 gint tmpFreq, i; 115 gint tmpFreq, i;
116 xs_sidplay2_t *myEngine; 116 xs_sidplay2_t *myEngine;
117 sid_filter_t tmpFilter; 117 sid_filter_t tmpFilter;
118 t_xs_sid2_filter *f; 118 xs_sid2_filter_t *f;
119 assert(myStatus); 119 assert(myStatus);
120 120
121 /* Allocate internal structures */ 121 /* Allocate internal structures */
122 myEngine = new xs_sidplay2_t(); 122 myEngine = new xs_sidplay2_t();
123 myStatus->sidEngine = myEngine; 123 myStatus->sidEngine = myEngine;