Crash reports and a guard for burning bone particles without a device
- re/crash: unhandled exceptions write sacred_re_crash.txt (module+offset, registers, return addresses on the stack) and a minidump; the game's own filter is chained behind ours - guards: cParticleSystem_burningBone::Render (0x774e10) skips drawing when given a null device (crash at sacred.exe+0x374e39 after Esc while walking) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
e914bd1590
commit
5338527b49
5 files changed
+163
-1
No files matched your search
@@ -8,6 +8,7 @@
|
||||
#include <detours.h>
|
||||
|
||||
#include "re/config.h"
|
||||
#include "re/crash.h"
|
||||
#include "re/hook.h"
|
||||
#include "re/log.h"
|
||||
#include "re/patch.h"
|
||||
@@ -42,6 +43,7 @@ void Startup(HMODULE module) {
|
||||
re::OpenLog((dir + L"sacred_re.log").c_str());
|
||||
re::SetConfigPath(dir + L"sacred_re.ini");
|
||||
re::Log("sacred_re loaded");
|
||||
re::InstallCrashHandler(dir);
|
||||
|
||||
if (!IsSupportedGameBuild()) {
|
||||
re::Log("unsupported sacred.exe build, no hooks installed");
|
||||
|
||||
Reference in new issue
Block a user