![]() |
Moonlight-XboxOG latest
Moonlight Xbox OG is a port of the Moonlight Game Streaming client to the original Xbox console.
|
Declares persistent storage path helpers. More...
#include <string>#include <string_view>Go to the source code of this file.
Functions | |
| std::string | startup::default_storage_path (std::string_view entryName) |
| Return the default storage path for a file or directory under Moonlight-managed storage. | |
| std::string | startup::title_scoped_storage_root () |
| Return the title-scoped storage root used for Xbox save data. | |
Declares persistent storage path helpers.
| std::string startup::default_storage_path | ( | std::string_view | entryName | ) |
Return the default storage path for a file or directory under Moonlight-managed storage.
On nxdk builds this prefixes the supplied entry with the title-scoped save root. On host-native builds it returns the entry unchanged so tests can use relative paths.
| entryName | File or directory name stored under the Moonlight data root. |
| std::string startup::title_scoped_storage_root | ( | ) |
Return the title-scoped storage root used for Xbox save data.
On nxdk builds this resolves the current title ID under E:\UDATA\ and mounts the backing drive when needed. On host-native builds it returns an empty string.