compile warnings. debug log. minor changes

This commit is contained in:
Flyinghead 2020-12-16 15:12:32 +01:00
parent 650c3ff8ae
commit 34d86500fa
3 changed files with 7 additions and 10 deletions

View File

@ -274,6 +274,7 @@ void FlushCache();
void arm_Reset()
{
DEBUG_LOG(AICA_ARM, "AICA ARM Reset");
#if FEAT_AREC != DYNAREC_NONE
FlushCache();
#endif

View File

@ -254,11 +254,7 @@ static void maple_DoDma()
{
u32 bus = (header_1 >> 16) & 3;
if (MapleDevices[bus][5])
{
occupy = MapleDevices[bus][5]->get_lightgun_pos();
verify(last);
}
addr += 1 * 4;
}
break;

View File

@ -1548,7 +1548,7 @@ private:
break;
default:
die("Invalid immediate size");
break;
return false;
}
if (rv != MMU_ERROR_NONE)
return false;
@ -1698,7 +1698,7 @@ private:
break;
default:
die("Invalid immediate size");
break;
return false;
}
if (rv != MMU_ERROR_NONE)
return false;
@ -2008,10 +2008,10 @@ private:
void GenCall(Ret(*function)(Params...), bool skip_floats = false)
{
#ifndef _WIN32
bool xmm8_mapped = !skip_floats && current_opid != -1 && regalloc.IsMapped(xmm8, current_opid);
bool xmm9_mapped = !skip_floats && current_opid != -1 && regalloc.IsMapped(xmm9, current_opid);
bool xmm10_mapped = !skip_floats && current_opid != -1 && regalloc.IsMapped(xmm10, current_opid);
bool xmm11_mapped = !skip_floats && current_opid != -1 && regalloc.IsMapped(xmm11, current_opid);
bool xmm8_mapped = !skip_floats && current_opid != (size_t)-1 && regalloc.IsMapped(xmm8, current_opid);
bool xmm9_mapped = !skip_floats && current_opid != (size_t)-1 && regalloc.IsMapped(xmm9, current_opid);
bool xmm10_mapped = !skip_floats && current_opid != (size_t)-1 && regalloc.IsMapped(xmm10, current_opid);
bool xmm11_mapped = !skip_floats && current_opid != (size_t)-1 && regalloc.IsMapped(xmm11, current_opid);
// Need to save xmm registers as they are not preserved in linux/mach
int offset = 0;