diff options
| author | xctan <xctan@cirno.icu> | 2024-08-13 02:11:19 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-12 20:11:19 +0200 |
| commit | f364c039646e5bb35c9508384f451e31360e65e3 (patch) | |
| tree | 80f09d7a2b8c050a31fb6649d72863b1aec2cdb8 /src/emu | |
| parent | 730eb1f472d823201f65fab41c6880cd2462ec7d (diff) | |
| download | box64-f364c039646e5bb35c9508384f451e31360e65e3.tar.gz box64-f364c039646e5bb35c9508384f451e31360e65e3.zip | |
[RV64_DYNAREC] More fixes (#1732)
* [RV64_DYNAREC] Fixed pending flag type in emit_sar16 * [RV64_DYNAREC] Fixed imm12 overflow in geted * [SYSCALL] Added fake sys_init_module
Diffstat (limited to 'src/emu')
| -rw-r--r-- | src/emu/x64syscall.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/x64syscall.c b/src/emu/x64syscall.c index 4142daf2..02b18598 100644 --- a/src/emu/x64syscall.c +++ b/src/emu/x64syscall.c @@ -720,6 +720,10 @@ void EXPORT x64Syscall(x64emu_t *emu) S_RAX = -errno; break; #endif + case 175: // sys_init_module + // huh? + S_RAX = -EPERM; + break; #ifndef __NR_time case 201: // sys_time R_RAX = (uintptr_t)time((void*)R_RDI); |