mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
Loader: Make executable analyzation not halt UI when launching games
This commit is contained in:
parent
17e6ad1fe8
commit
0e388639cc
8 changed files with 51 additions and 29 deletions
|
|
@ -3200,7 +3200,7 @@ extern void ppu_precompile(std::vector<std::string>& dir_queue, std::vector<ppu_
|
|||
|
||||
extern void ppu_initialize()
|
||||
{
|
||||
if (!g_fxo->is_init<ppu_module>())
|
||||
if (!g_fxo->is_init<main_ppu_module>())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
@ -3210,9 +3210,20 @@ extern void ppu_initialize()
|
|||
return;
|
||||
}
|
||||
|
||||
auto& _main = g_fxo->get<ppu_module>();
|
||||
auto& _main = g_fxo->get<main_ppu_module>();
|
||||
|
||||
scoped_progress_dialog progr = "Scanning PPU modules...";
|
||||
scoped_progress_dialog progr = "Analyzing PPU Executable...";
|
||||
|
||||
// Analyse executable
|
||||
if (!_main.analyse(0, _main.elf_entry, _main.seg0_code_end, _main.applied_pathes, [](){ return Emu.IsStopped(); }))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
// Validate analyser results (not required)
|
||||
_main.validate(0);
|
||||
|
||||
g_progr = "Scanning PPU Modules...";
|
||||
|
||||
bool compile_main = false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue