1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 12:12:50 +01:00

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]] if (!p || m_pos > m_max) [[unlikely]]
{ {
*dst = nullptr; *dst = nullptr;
jit_log.fatal("Out of memory (static asmjit)");
return asmjit::kErrorNoVirtualMemory; 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); const bool success = backend->AddData(buf, AUDIO_BUFFER_SAMPLES * cfg.audio_channels);
if (!success) 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(); flush();
return; return;
} }