File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ set(PROJECT_NAME usbsidpico)
3030set (PROJECT_MANUFACTURER "LouD" )
3131set (PRODUCT_STRING "USBSID-Pico" )
3232string (TIMESTAMP MAGIC_SMOKE "%Y%m%d" ) # Auto generate dated version
33- set (PROJECT_VERSION "0.6.3 -BETA.${MAGIC_SMOKE} " ) # Generate compile version
33+ set (PROJECT_VERSION "0.6.4 -BETA.${MAGIC_SMOKE} " ) # Generate compile version
3434
3535### Want a cookie?
3636# NOTICE: ENABLING THESE DEBUGGING DEFINITIONS WILL HAVE SIGNIFICANT IMPACT AND WILL DELAY PLAYING!
Original file line number Diff line number Diff line change @@ -157,15 +157,15 @@ bool
157157 stopping_emulator ;
158158#endif /* ONBOARD_EMULATOR */
159159#if defined(ONBOARD_SIDPLAYER )
160- extern bool
160+ extern volatile bool
161161 sidplayer_init ,
162162 sidplayer_start ,
163163 sidplayer_playing ,
164164 sidplayer_stop ,
165165 sidplayer_next ,
166166 sidplayer_prev ;
167167/* SID player locals */
168- volatile uint8_t * sidfile = NULL ; /* Temporary buffer to store incoming data */
168+ uint8_t * sidfile = NULL ; /* Temporary buffer to store incoming data */
169169volatile int sidfile_size = 0 ;
170170volatile char tuneno = 0 ;
171171volatile bool is_prg = false; /* Default to SID file */
Original file line number Diff line number Diff line change @@ -138,9 +138,9 @@ volatile bool sidplayer_next = false;
138138volatile bool sidplayer_prev = false;
139139
140140extern uint8_t * sidfile ; /* Temporary buffer to store incoming data */
141- extern int sidfile_size ;
142- extern char tuneno ;
143- extern bool is_prg ;
141+ extern volatile int sidfile_size ;
142+ extern volatile char tuneno ;
143+ extern volatile bool is_prg ;
144144extern void load_prg (uint8_t * binary_ , size_t binsize_ , bool loop );
145145extern void load_sidtune (uint8_t * sidfile , int sidfilesize , char subt );
146146extern void init_sidplayer (void );
@@ -945,7 +945,7 @@ int main()
945945 enable_sid (false);
946946
947947 /* Clear the dirt */
948- #if !defined(ONBOARD_EMULATOR ) || !defined(ONBOARD_SIDPLAYER )
948+ #if !defined(ONBOARD_EMULATOR ) && !defined(ONBOARD_SIDPLAYER )
949949 memset (sid_memory , 0 , sizeof sid_memory );
950950#endif
951951
You can’t perform that action at this time.
0 commit comments