diff options
-rw-r--r-- | src/libui_sdl/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libui_sdl/main.cpp b/src/libui_sdl/main.cpp index 6cdfe7a..84bbb94 100644 --- a/src/libui_sdl/main.cpp +++ b/src/libui_sdl/main.cpp @@ -318,6 +318,7 @@ void FeedMicInput() { int type = Config::MicInputType; if ((type != 1 && MicCommand == 0) || + (type == 1 && MicBufferLength == 0) || (type == 3 && MicWavBuffer == NULL)) { type = 0; |