filesystem: use std for PathExists
Remove custom platform implementation of `PathExists` and replace uses with `std::filesystem::exists`.
This commit is contained in:
committed by
Rick Gibbed
parent
a9fa38c88b
commit
c8e64da4eb
@@ -121,7 +121,7 @@ X_STATUS SDLInputDriver::Setup() {
|
||||
sdl_gamecontroller_initialized_ = true;
|
||||
|
||||
if (!cvars::mappings_file.empty()) {
|
||||
if (!filesystem::PathExists(cvars::mappings_file)) {
|
||||
if (!std::filesystem::exists(cvars::mappings_file)) {
|
||||
XELOGW("SDL GameControllerDB: file '{}' does not exist.",
|
||||
xe::path_to_utf8(cvars::mappings_file));
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user