mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-29 03:00:54 +01:00
Syscalls: Add a wrapping class for better backtrace
This commit is contained in:
1 parent
8e95d502f3
commit
4e515abb33
1 file changed
+2
-1
+2
-1
@@ -105,7 +105,8 @@ bool RegisterSyscall(int num, const char *name, F f){
|
||||
}
|
||||
|
||||
// Helper to register a syscall implementation
|
||||
#define REGISTER_SYSCALL_IMPL(name, lambda) do { RegisterSyscall(x64::SYSCALL_x64_##name, #name, lambda); } while(0)
|
||||
|
||||
#define REGISTER_SYSCALL_IMPL(name, lambda) struct impl_##name { impl_##name() { RegisterSyscall(x64::SYSCALL_x64_##name, #name, lambda); } } impl_##name
|
||||
|
||||
|
||||
/////
|
||||
|
||||
Reference in new issue
Block a user