Fix SPRX building on AppImage builds
This commit is contained in:
@@ -530,6 +530,12 @@ spu_runtime::spu_runtime()
|
|||||||
|
|
||||||
// Clear LLVM output
|
// Clear LLVM output
|
||||||
m_cache_path = Emu.PPUCache();
|
m_cache_path = Emu.PPUCache();
|
||||||
|
|
||||||
|
if (m_cache_path.empty())
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
fs::create_dir(m_cache_path + "llvm/");
|
fs::create_dir(m_cache_path + "llvm/");
|
||||||
fs::remove_all(m_cache_path + "llvm/", false);
|
fs::remove_all(m_cache_path + "llvm/", false);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user