Merge pull request #1369 from Sonicadvance1/enable-profiling
Enables block profiling in the UI on non x86 targets.
This commit is contained in:
commit
a9f0bd72d2
|
@ -134,7 +134,8 @@ namespace JitInterface
|
|||
void WriteProfileResults(const std::string& filename)
|
||||
{
|
||||
// Can't really do this with no jit core available
|
||||
#if _M_X86
|
||||
if (!jit)
|
||||
return;
|
||||
|
||||
std::vector<BlockStat> stats;
|
||||
stats.reserve(jit->GetBlockCache()->GetNumBlocks());
|
||||
|
@ -188,7 +189,6 @@ namespace JitInterface
|
|||
#endif
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
bool HandleFault(uintptr_t access_address, SContext* ctx)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue