mirror of
https://github.com/jessicanataliagta/PSPRecomp
synced 2026-09-26 16:49:34 -04:00
37e5469cbd
initial release
20 lines
516 B
C++
20 lines
516 B
C++
#pragma once
|
|
|
|
#include <filesystem>
|
|
|
|
namespace vcs {
|
|
|
|
struct BootstrapPaths {
|
|
std::filesystem::path psp_executable;
|
|
std::filesystem::path game_root;
|
|
bool discovered_from_psp_data{};
|
|
};
|
|
|
|
// Explicit command-line paths retain the old behavior. With no arguments,
|
|
// discover both the decrypted EBOOT and assets below <exe_dir>/PSP_DATA.
|
|
[[nodiscard]] BootstrapPaths resolve_bootstrap_paths(
|
|
int argc, const char *const *argv,
|
|
const std::filesystem::path &executable_directory);
|
|
|
|
} // namespace vcs
|