gsdx: separate dump directory for 32/64 bits

This commit is contained in:
Gregory Hainaut 2016-11-16 20:24:42 +01:00
parent 82d12691e1
commit 43b4cfc215
2 changed files with 9 additions and 4 deletions

View File

@ -65,8 +65,8 @@ GSState::GSState()
m_dump_root = "";
#if defined(__unix__)
if (s_dump) {
GSmkdir("/tmp/GS_HW_dump");
GSmkdir("/tmp/GS_SW_dump");
GSmkdir(root_hw.c_str());
GSmkdir(root_sw.c_str());
}
#endif

View File

@ -472,6 +472,11 @@ struct GLAutoPop {
const std::string root_sw("c:\\temp1\\_");
const std::string root_hw("c:\\temp2\\_");
#else
const std::string root_sw("/tmp/GS_SW_dump/");
const std::string root_hw("/tmp/GS_HW_dump/");
#ifdef _M_AMD64
const std::string root_sw("/tmp/GS_SW_dump64/");
const std::string root_hw("/tmp/GS_HW_dump64/");
#else
const std::string root_sw("/tmp/GS_SW_dump32/");
const std::string root_hw("/tmp/GS_HW_dump32/");
#endif
#endif