mirror of
https://github.com/spice2x/spice2x.github.io.git
synced 2026-08-06 08:30:42 -07:00
Detect D3D9 CreateDevice / CreateDeviceEx failures (#388)
## Link to GitHub Issue, if one exists #345 ## Description of change Show a block of warning text if the game crashes after CreateDevice(Ex) fails. ## Testing Tested by injecting invalid resolution into spicecfg.
This commit is contained in:
@@ -1,16 +1,21 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <cstdint>
|
||||
|
||||
namespace launcher::signal {
|
||||
|
||||
// settings
|
||||
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();
|
||||
|
||||
Reference in New Issue
Block a user