mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-12 04:31:19 +00:00
[WiiU] Add build information to exception handler
This commit is contained in:
parent
79071bd11b
commit
8e1437ad86
@ -22,6 +22,8 @@
|
||||
#include <wiiu/os.h>
|
||||
#include "wiiu_dbg.h"
|
||||
#include "exception_handler.h"
|
||||
#include "version.h"
|
||||
#include "version_git.h"
|
||||
|
||||
/* Settings */
|
||||
#define NUM_STACK_TRACE_LINES 5
|
||||
@ -182,6 +184,11 @@ void __attribute__((__noreturn__)) exception_cb(OSContext* ctx, OSExceptionType
|
||||
else
|
||||
buf_add("Stack pointer invalid. Could not trace further.\n");
|
||||
|
||||
#ifdef HAVE_GIT_VERSION
|
||||
buf_add("RetroArch " PACKAGE_VERSION " (%s) built " __DATE__, retroarch_git_version);
|
||||
#else
|
||||
buf_add("RetroArch " PACKAGE_VERSION " built " __DATE__);
|
||||
#endif
|
||||
OSFatal(exception_msgbuf);
|
||||
for (;;) {}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user