Minor fixups

This commit is contained in:
Nekotekina 2021-01-31 21:38:07 +03:00
parent d5f16ce272
commit aeeceb7d0b
2 changed files with 2 additions and 1 deletions

View File

@ -229,6 +229,7 @@ asmjit::Runtime& asmjit::get_global_runtime()
if (!p || m_pos > m_max) [[unlikely]]
{
*dst = nullptr;
jit_log.fatal("Out of memory (static asmjit)");
return asmjit::kErrorNoVirtualMemory;
}

View File

@ -188,7 +188,7 @@ void audio_ringbuffer::enqueue(const float* in_buffer)
const bool success = backend->AddData(buf, AUDIO_BUFFER_SAMPLES * cfg.audio_channels);
if (!success)
{
cellAudio.error("Could not enqueue buffer onto audio backend. Attempting to recover...");
cellAudio.warning("Could not enqueue buffer onto audio backend. Attempting to recover...");
flush();
return;
}