about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/emu/x64run.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/emu/x64run.c b/src/emu/x64run.c
index 9421c249..abd60cd1 100755
--- a/src/emu/x64run.c
+++ b/src/emu/x64run.c
@@ -357,6 +357,11 @@ x64emurun:
                 GD->dword[0] = (uint32_t)(uintptr_t)ED;
             break;
 
+        case 0xC3:                      /* RET */
+            R_RIP = Pop(emu);
+            STEP
+            break;
+
         case 0xCC:                      /* INT 3 */
             x64Int3(emu);
             if(emu->quit) goto fini;