Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vm_native.cpp: change rpcs3_vm name/location priority (Win32) #10442

Merged
merged 1 commit into from Jun 11, 2021

Conversation

Nekotekina
Copy link
Member

  • Prefer temp dir over RPCS3 cache dir
  • Rename to rpcs3_vm_sparse.tmp

Prefer temp directory, rename to rpcs3_vm_sparse.tmp
Try to remove archive attribute (doesn't work well).
@Nekotekina Nekotekina merged commit dfbd63d into RPCS3:master Jun 11, 2021
{
ensure(f.open(fs::get_temp_dir() + "rpcs3_vm", fs::read + fs::write + fs::create));
goto check;
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't like the go-to. Can't you just add a bool instead?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like neither, need to refactor this crap anyway to search for various locations where temp file could be placed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants