Use platform-specific user directory to store content. Create a file named portable.txt next to xenia.exe to restore previous behavior.
This commit is contained in:
@@ -47,12 +47,16 @@ namespace xe {
|
||||
// This is responsible for initializing and managing all the various subsystems.
|
||||
class Emulator {
|
||||
public:
|
||||
explicit Emulator(const std::wstring& command_line);
|
||||
explicit Emulator(const std::wstring& command_line,
|
||||
const std::wstring& content_root);
|
||||
~Emulator();
|
||||
|
||||
// Full command line used when launching the process.
|
||||
const std::wstring& command_line() const { return command_line_; }
|
||||
|
||||
// Folder content is stored in.
|
||||
const std::wstring& content_root() const { return content_root_; }
|
||||
|
||||
// Title of the game in the default language.
|
||||
const std::wstring& game_title() const { return game_title_; }
|
||||
|
||||
@@ -154,6 +158,8 @@ class Emulator {
|
||||
const std::string& module_path);
|
||||
|
||||
std::wstring command_line_;
|
||||
std::wstring content_root_;
|
||||
|
||||
std::wstring game_title_;
|
||||
|
||||
ui::Window* display_window_;
|
||||
|
||||
Reference in New Issue
Block a user