mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-19 04:26:52 -04:00
Changes to SHA logging
This commit is contained in:
parent
2acb32c1cd
commit
859bec6844
@ -76,10 +76,6 @@ typedef struct Bitmap_ { uint8_t* Scan0; int Width, Height; } Bitmap;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef CC_COMMIT_SHA
|
||||
#define CC_COMMIT_SHA "Unknown"
|
||||
#endif
|
||||
|
||||
#ifdef CC_BUILD_D3D9
|
||||
typedef void* GfxResourceID;
|
||||
#define GFX_NULL NULL
|
||||
|
@ -641,7 +641,10 @@ static void ErrorHandler_FailCommon(ReturnCode result, const char* raw_msg, void
|
||||
String msg = String_NT_Array(msgBuffer);
|
||||
|
||||
String_Format3(&msg, "ClassiCube crashed.%cMessage: %c%c", Platform_NewLine, raw_msg, Platform_NewLine);
|
||||
|
||||
#ifdef CC_COMMIT_SHA
|
||||
String_Format2(&msg, "Commit SHA: %c%c", CC_COMMIT_SHA, Platform_NewLine);
|
||||
#endif
|
||||
|
||||
if (result) {
|
||||
String_Format2(&msg, "%h%c", &result, Platform_NewLine);
|
||||
|
Loading…
x
Reference in New Issue
Block a user