PPU Analyzer: Utilize exported functions

This commit is contained in:
Elad Ashkenazi 2024-06-08 12:44:23 +03:00
parent 6d280c5f3c
commit 6fff22391c
5 changed files with 60 additions and 19 deletions

View file

@ -1681,7 +1681,7 @@ game_boot_result Emulator::Load(const std::string& title_id, bool is_disc_patch,
{
if (auto& _main = *ensure(g_fxo->try_get<main_ppu_module>()); !_main.path.empty())
{
if (!_main.analyse(0, _main.elf_entry, _main.seg0_code_end, _main.applied_patches, [](){ return Emu.IsStopped(); }))
if (!_main.analyse(0, _main.elf_entry, _main.seg0_code_end, _main.applied_patches, std::vector<u32>{}, [](){ return Emu.IsStopped(); }))
{
return;
}