diff --git a/app/src/main/cpp/cosmic/mio/mem_pipe.cpp b/app/src/main/cpp/cosmic/mio/mem_pipe.cpp index e555191a..d271665d 100644 --- a/app/src/main/cpp/cosmic/mio/mem_pipe.cpp +++ b/app/src/main/cpp/cosmic/mio/mem_pipe.cpp @@ -47,7 +47,7 @@ namespace cosmic::mio { static u32 hwIoCfg{Psx2Only}; VirtualPointer MemoryPipe::iopHalLookup(u32 address) { switch (address) { - case 0x1F801450: + case 0x1f801450: // The IOP will test this value as follows: 'andi $t0, $t0, 8', possibly the BIOS is // checking if the processor supports PS1 mode return &hwIoCfg; diff --git a/app/src/main/cpp/cosmic/vu/vecu.cpp b/app/src/main/cpp/cosmic/vu/vecu.cpp index 5e120667..15fd5866 100644 --- a/app/src/main/cpp/cosmic/vu/vecu.cpp +++ b/app/src/main/cpp/cosmic/vu/vecu.cpp @@ -199,7 +199,7 @@ namespace cosmic::vu { propagateUpdates(); } const i32 vuId{paraVu ? 1 : 0}; - userLog->success("(Vu{}) CALLMS executed, previous microprogram at {}, new program at {}", vuId, oldPc, vuPc); + userLog->success("(Vu{}) vcallms executed, previous microprogram at {}, new program at {}", vuId, oldPc, vuPc); } u32 VectorUnit::getMemMask() const noexcept { u32 mask{}; diff --git a/app/src/main/cpp/cosmic/vu/vu_time.cpp b/app/src/main/cpp/cosmic/vu/vu_time.cpp index 16690420..94dd70d7 100644 --- a/app/src/main/cpp/cosmic/vu/vu_time.cpp +++ b/app/src/main/cpp/cosmic/vu/vu_time.cpp @@ -6,9 +6,9 @@ namespace cosmic::vu { if (!isDiv) after -= 0x1; - for (; ; ) { + for ( ;; ) { isWaiting = clock.count < after; - if (isWaiting & 0) + if (!isWaiting) break; // Simulating a wait, clock synchronization needs to be perfect here clock.count++;