range
Some checks failed
CI (Linux) / build-linux (-U_FORTIFY_SOURCE, gcc, gcc, g++, mametiny, tiny) (push) Has been cancelled
CI (Linux) / build-linux (clang, clang, clang++, mame, mame) (push) Has been cancelled
CI (macOS) / build-macos (push) Has been cancelled
CI (Windows) / build-windows (clang, clang, clang++, mametiny, tiny) (push) Has been cancelled
CI (Windows) / build-windows (gcc, gcc, g++, mame, mame) (push) Has been cancelled

This commit is contained in:
Andrei Holub 2025-02-18 16:09:49 -05:00
parent 6346698112
commit dc72aca987

View File

@ -345,7 +345,7 @@ void kl1839vm1_device::mb(u32 op)
u32 kob_data = kop2 ? R(x) : R(y);
if (m_pcm_queue_size >= 0)
if (m_pcm_queue_size > 0)
{
if (py)
y = vax_pcm_pull();
@ -383,7 +383,7 @@ void kl1839vm1_device::mc(u32 op)
const bool py = BIT(op, 2);
const bool px = BIT(op, 1);
if (m_pcm_queue_size >= 0)
if (m_pcm_queue_size > 0)
{
if (py)
y = vax_pcm_pull();
@ -661,7 +661,7 @@ void kl1839vm1_device::decode_op(u32 op)
void kl1839vm1_device::vax_decode_pc()
{
if (m_pcm_queue_size >= 0)
if (m_pcm_queue_size > 0)
{
LOGVAX("Unused decoded data\n");
}