If the loop is never entered, then the jit is null.

This commit is contained in:
Robbie 2017-09-09 23:04:29 -05:00 committed by Ivan
parent b11f9e0405
commit 47685bef39
1 changed files with 3 additions and 3 deletions

View File

@ -1239,10 +1239,10 @@ extern void ppu_initialize(const ppu_module& info)
return; return;
} }
if (jit_mod.vars.empty()) // Jit can be null if the loop doesn't ever enter.
{ if (jit && jit_mod.vars.empty())
{
jit->fin(); jit->fin();
// Get and install function addresses // Get and install function addresses
for (const auto& func : info.funcs) for (const auto& func : info.funcs)
{ {