mirror of
https://github.com/flyinghead/flycast.git
synced 2026-11-08 08:06:48 -10:00
Name all threads to help debugging and improve crash reports (windows only) Add ^C handler for clean exit on linux
19 lines
222 B
C
19 lines
222 B
C
#pragma once
|
|
#include "nswitch.h"
|
|
|
|
typedef struct
|
|
{
|
|
uint64_t regs[29];
|
|
uint64_t pc;
|
|
} mcontext_t;
|
|
|
|
typedef struct ucontext_t
|
|
{
|
|
mcontext_t uc_mcontext;
|
|
} ucontext_t;
|
|
|
|
typedef struct
|
|
{
|
|
void* si_addr;
|
|
} switch_siginfo_t;
|