mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-02 21:11:25 +12:00
aarch64: Fix compilation for windows-on-arm
This commit is contained in:
parent
23f9eb57e5
commit
a60eab6e36
8 changed files with 64 additions and 9 deletions
|
@ -510,15 +510,19 @@ class named_thread final : public Context, result_storage<Context>, thread_base
|
|||
|
||||
#if defined(ARCH_X64)
|
||||
static inline thread::native_entry trampoline = thread::make_trampoline(entry_point);
|
||||
#else
|
||||
#ifdef _WIN32
|
||||
static uint trampoline(void* arg)
|
||||
#else
|
||||
static void* trampoline(void* arg)
|
||||
#endif
|
||||
{
|
||||
if (const auto next = thread_base::finalize(entry_point(static_cast<thread_base*>(arg))))
|
||||
{
|
||||
return next(thread_ctrl::get_current());
|
||||
}
|
||||
|
||||
return nullptr;
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue