mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 20:00:46 +02:00
This is a simple program to get a few configuration options that are necessary to expose for pressure-vessel
16 lines
522 B
C++
16 lines
522 B
C++
#pragma once
|
|
#include <string>
|
|
|
|
namespace FEX::RootFS {
|
|
// Updates the RootFS path in the case of squashfs
|
|
// Doesn't mount the rootfs if it doesn't exist
|
|
// Returns true if the rootfs is accessible regularly, mounted or folder
|
|
bool UpdateRootFSPath();
|
|
// Returns where the rootfs lock file lives even if the squashfs isn't mounted
|
|
std::string GetRootFSLockFile();
|
|
// Checks if the rootfs lock exists
|
|
bool CheckLockExists(std::string const &LockPath);
|
|
bool Setup(char **const envp);
|
|
void Shutdown();
|
|
}
|