avs: when nvram/raw folder creation fails, show a warning message when the game eventually crashes (#383)

## Link to GitHub Issue, if one exists
#345 

## Description of change
When the directory specified in the mounttable (in avs-config.xml) lead
to bad path, remember this and show a warning message block before the
game crashes.

## Testing
Tested with simulated bad mounttable set up.
This commit is contained in:
bicarus-dev
2025-09-27 18:16:20 -07:00
committed by GitHub
parent 5c3921a99c
commit 9f99b71112
3 changed files with 33 additions and 4 deletions
+5
View File
@@ -1,11 +1,16 @@
#pragma once
#include <string>
namespace launcher::signal {
// settings
extern bool DISABLE;
extern bool USE_VEH_WORKAROUND;
extern bool SUPERSTEP_SOUND_ERROR;
extern bool AVS_DIR_CREATION_FAILURE;
extern std::string AVS_XML_PATH;
extern std::string AVS_SRC_PATH;
//void print_stacktrace();
void attach();