Update src/Util/log.cpp
Co-authored-by: GPUCode <47210458+GPUCode@users.noreply.github.com>
This commit is contained in:
parent
2f0fec806a
commit
ff2a9dd37a
|
@ -22,7 +22,7 @@ void flush() { spdlog::details::registry::instance().flush_all(); }
|
|||
#ifdef _WIN64
|
||||
|
||||
static LONG WINAPI exception_handler(PEXCEPTION_POINTERS pExp) noexcept {
|
||||
const unsigned ec = pExp->ExceptionRecord->ExceptionCode;
|
||||
const u32 ec = pExp->ExceptionRecord->ExceptionCode;
|
||||
switch (ec) {
|
||||
case EXCEPTION_ACCESS_VIOLATION:
|
||||
LOG_CRITICAL_IF(log_file_exceptions,"Exception EXCEPTION_ACCESS_VIOLATION ({}). ", log_hex(ec));
|
||||
|
|
Loading…
Reference in New Issue