mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-13 02:08:49 +12:00
VFS: move VFS settings to seperate file
This commit is contained in:
parent
8f1dc7a2d4
commit
269c4604aa
21 changed files with 209 additions and 156 deletions
|
@ -1,7 +1,7 @@
|
|||
#include "util/sysinfo.hpp"
|
||||
#include "Utilities/StrFmt.h"
|
||||
#include "Utilities/File.h"
|
||||
#include "Emu/system_config.h"
|
||||
#include "Emu/vfs_config.h"
|
||||
#include "Utilities/Thread.h"
|
||||
|
||||
#ifdef _WIN32
|
||||
|
@ -241,7 +241,7 @@ std::string utils::get_system_info()
|
|||
|
||||
std::string utils::get_firmware_version()
|
||||
{
|
||||
const std::string file_path = g_cfg.vfs.get_dev_flash() + "vsh/etc/version.txt";
|
||||
const std::string file_path = g_cfg_vfs.get_dev_flash() + "vsh/etc/version.txt";
|
||||
if (fs::file version_file{file_path})
|
||||
{
|
||||
const std::string version_str = version_file.to_string();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue