mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-10 08:08:11 +00:00
manaleg fixes for dynarmic common context
This commit is contained in:
parent
6a366beb40
commit
bb4f4ece27
3
externals/ffmpeg/CMakeLists.txt
vendored
3
externals/ffmpeg/CMakeLists.txt
vendored
|
|
@ -168,7 +168,8 @@ if (PLATFORM_PS4)
|
|||
--extra-libs="${FFmpeg_CROSS_COMPILE_LIBS}"
|
||||
)
|
||||
elseif (PLATFORM_MANAGARM)
|
||||
# Required for proper stuff
|
||||
# Required for proper stuff, otherwise truncf and cosf won't get detected
|
||||
list(APPEND FFmpeg_CROSS_COMPILE_LIBS -lm)
|
||||
list(APPEND FFmpeg_CROSS_COMPILE_FLAGS
|
||||
--disable-pthreads
|
||||
--extra-libs="${FFmpeg_CROSS_COMPILE_LIBS}"
|
||||
|
|
|
|||
|
|
@ -121,6 +121,9 @@
|
|||
# elif defined(__DragonFly__)
|
||||
# define CTX_RIP (mctx.mc_rip)
|
||||
# define CTX_RSP (mctx.mc_rsp)
|
||||
# elif defined(__managarm__)
|
||||
# define CTX_RIP (mctx.__pollution(gregs)[REG_RIP])
|
||||
# define CTX_RSP (mctx.__pollution(gregs)[REG_RSP])
|
||||
# else
|
||||
# error "unknown platform"
|
||||
# endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue