mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
SPU LLVM Recompiler (preview)
This commit is contained in:
parent
a975ecdc4f
commit
1ca51a023c
6 changed files with 2311 additions and 10 deletions
|
@ -851,7 +851,18 @@ void Emulator::Load(bool add_only)
|
|||
|
||||
if (g_cfg.core.spu_debug)
|
||||
{
|
||||
fs::file log(Emu.GetCachePath() + "SPUJIT.log", fs::rewrite);
|
||||
fs::file log;
|
||||
|
||||
if (g_cfg.core.spu_decoder == spu_decoder_type::asmjit)
|
||||
{
|
||||
log.open(Emu.GetCachePath() + "SPUJIT.log", fs::rewrite);
|
||||
}
|
||||
|
||||
if (g_cfg.core.spu_decoder == spu_decoder_type::llvm)
|
||||
{
|
||||
log.open(Emu.GetCachePath() + "SPU.log", fs::rewrite);
|
||||
}
|
||||
|
||||
log.write(fmt::format("SPU JIT Log\n\nTitle: %s\nTitle ID: %s\n\n", Emu.GetTitle(), Emu.GetTitleID()));
|
||||
fs::create_dir(Emu.GetCachePath() + "SPU");
|
||||
fs::remove_all(Emu.GetCachePath() + "SPU", false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue