From fad5451015810f5aeabc0684955f72d01fdeb60c Mon Sep 17 00:00:00 2001 From: chernandezba Date: Mon, 20 May 2024 09:21:17 +0200 Subject: [PATCH] fix audio sdl2 warning compilation --- src/TODO_this_version | 3 +-- src/audio/audiosdl2.h | 3 +++ src/machines/tbblue.c | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/TODO_this_version b/src/TODO_this_version index 1001fcbe..855a343f 100644 --- a/src/TODO_this_version +++ b/src/TODO_this_version @@ -874,14 +874,13 @@ O quiza que salte al menu con la linea de opcion seleccionada donde corresponde -comentar desensamblado copion9 --pendiente keyboard help +-keyboard help: chloe. completar teclas extendidas. ver que hacer con combinaciones de shift... -keyboard help no hace por ejemplo en cpc 664 teclas [ ] -carga cinta real: probar compilar sin pthreads sdl2 - -Incluir paquete de Haiku OS 64 bit diff --git a/src/audio/audiosdl2.h b/src/audio/audiosdl2.h index 7e2ac808..0497ce70 100644 --- a/src/audio/audiosdl2.h +++ b/src/audio/audiosdl2.h @@ -46,6 +46,9 @@ extern void audiosdl_get_device_name(char *destination); extern void audiosdl_next_device_capture(void); +extern void audiosdl_stop_record_input(void); +extern void audiosdl_start_record_input(void); + #define SDL2_MAX_DEVICE_NAME_LENGTH 40 #endif diff --git a/src/machines/tbblue.c b/src/machines/tbblue.c index 7165bbc4..099e53a7 100644 --- a/src/machines/tbblue.c +++ b/src/machines/tbblue.c @@ -318,7 +318,7 @@ z80_int tbblue_layer_sprites[TBBLUE_LAYERS_PIXEL_WIDTH]; //z80_int tbblue_copper_index_write=0; -z80_byte tbblue_machine_id=8; +z80_byte tbblue_machine_id=0x0a; /* 0x0F (15) => Board ID