mirror of
https://github.com/Oibaf66/fbzx-wii.git
synced 2024-11-24 09:09:20 +01:00
Updated V14 text in the old menu, sleep 1ms when wait for new sound data
This commit is contained in:
parent
7a2440ad22
commit
e0c62da7a6
@ -336,7 +336,7 @@ void help_menu() {
|
|||||||
|
|
||||||
clean_screen();
|
clean_screen();
|
||||||
|
|
||||||
print_string(fbuffer,"FBZX Wii (11.0)",-1,20,15,0,ancho);
|
print_string(fbuffer,"FBZX Wii (14.0)",-1,20,15,0,ancho);
|
||||||
print_string(fbuffer,"Available keys",-1,50,14,0,ancho);
|
print_string(fbuffer,"Available keys",-1,50,14,0,ancho);
|
||||||
print_string(fbuffer,"Shift:Caps Shift Ctrl:Symbol Shift",-1,95,11,0,ancho);
|
print_string(fbuffer,"Shift:Caps Shift Ctrl:Symbol Shift",-1,95,11,0,ancho);
|
||||||
|
|
||||||
|
@ -605,7 +605,7 @@ void sound_play() {
|
|||||||
started_sound_asnd = 1;
|
started_sound_asnd = 1;
|
||||||
}
|
}
|
||||||
//Double buffer
|
//Double buffer
|
||||||
while (!ASND_TestVoiceBufferReady(1)){}; //Wait for one buffer to be free
|
while (!ASND_TestVoiceBufferReady(1)){usleep(1000);}; //Wait for one buffer to be free
|
||||||
if (!ASND_TestPointer (1, sound[0]))
|
if (!ASND_TestPointer (1, sound[0]))
|
||||||
{ASND_AddVoice(1,sound[0],ordenador.buffer_len*ordenador.increment);
|
{ASND_AddVoice(1,sound[0],ordenador.buffer_len*ordenador.increment);
|
||||||
ordenador.current_buffer = sound[0]; }
|
ordenador.current_buffer = sound[0]; }
|
||||||
|
Loading…
Reference in New Issue
Block a user