Fix compile on raspberry pi 4/A72
Game runs pretty close to fine, needed to use system libpng and haven't attempted to use ffmpeg, however. I'm seeing in the 50fps range in gameplay with no performance tweaks but having set -mtune=cortex-a72. There's a lot of perf opportunities, so consistent 60 is certainly within reason without too much pain.
This commit is contained in:
@@ -398,6 +398,12 @@ void GetSignalBacktraceContext( BacktraceContext *ctx, const ucontext_t *uc )
|
||||
ctx->sp = (void *) uc->uc_mcontext.gregs[REG_RSP];
|
||||
ctx->pid = GetCurrentThreadId();
|
||||
}
|
||||
#elif defined(CPU_AARCH64)
|
||||
void GetSignalBacktraceContext( BacktraceContext *ctx, const ucontext_t *uc )
|
||||
{
|
||||
// NYI
|
||||
}
|
||||
|
||||
#else
|
||||
#error
|
||||
#endif
|
||||
@@ -740,6 +746,11 @@ void GetBacktrace( const void **buf, size_t size, const BacktraceContext *ctx )
|
||||
#warning Undefined BACKTRACE_METHOD_*
|
||||
void InitializeBacktrace() { }
|
||||
|
||||
void GetSignalBacktraceContext( BacktraceContext *ctx, const ucontext_t *uc )
|
||||
{
|
||||
// NYI
|
||||
}
|
||||
|
||||
void GetBacktrace( const void **buf, size_t size, const BacktraceContext *ctx )
|
||||
{
|
||||
buf[0] = BACKTRACE_METHOD_NOT_AVAILABLE;
|
||||
|
||||
Reference in New Issue
Block a user