microVU: Clean up a few warnings.

This commit is contained in:
lightningterror 2021-07-28 21:48:39 +02:00
parent 34e779a654
commit ea759d7b68
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ __fi void mVUcheckIsSame(mV) {
// Sets up microProgram PC ranges based on whats been recompiled
void mVUsetupRange(microVU& mVU, s32 pc, bool isStartPC) {
std::deque<microRange>*& ranges = mVUcurProg.ranges;
pxAssertDev(pc <= mVU.microMemSize, pxsFmt("microVU%d: PC outside of VU memory PC=0x%04x", mVU.index, pc));
pxAssertDev(pc <= (s64)mVU.microMemSize, pxsFmt("microVU%d: PC outside of VU memory PC=0x%04x", mVU.index, pc));
if (isStartPC) { // Check if startPC is already within a block we've recompiled
std::deque<microRange>::const_iterator it(ranges->begin());
for ( ; it != ranges->end(); ++it) {

View File

@ -187,7 +187,7 @@ static void __fc mVUTBit() {
}
static void __fc mVUEBit() {
u32 old = vu1Thread.mtvuInterrupts.fetch_or(VU_Thread::InterruptFlagVUEBit, std::memory_order_release);
vu1Thread.mtvuInterrupts.fetch_or(VU_Thread::InterruptFlagVUEBit, std::memory_order_release);
}
static inline u32 branchAddrN(const mV)