mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-06 08:30:42 -07:00
Create a class for deferred error logging (#390)
## Link to GitHub Issue, if one exists #388 ## Description of change Instead of setting flags in `signal` and logging when we crash, create a class for logging deferred semi-fatal messages, and dump them to the log immediately before crashing or shutting down. ## Testing Tested each failure case by injection.
This commit is contained in:
@@ -9,15 +9,6 @@ namespace launcher::signal {
|
||||
extern bool DISABLE;
|
||||
extern bool USE_VEH_WORKAROUND;
|
||||
|
||||
// error cases
|
||||
extern bool SUPERSTEP_SOUND_ERROR;
|
||||
extern bool AVS_DIR_CREATION_FAILURE;
|
||||
extern std::string AVS_XML_PATH;
|
||||
extern std::string AVS_SRC_PATH;
|
||||
extern bool D3D9_CREATE_DEVICE_FAILED;
|
||||
extern uint32_t D3D9_CREATE_DEVICE_FAILED_HRESULT;
|
||||
|
||||
//void print_stacktrace();
|
||||
void attach();
|
||||
void init();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user