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 d245eda5..80a96b2c 100755
--- a/src/emu/x64run.c
+++ b/src/emu/x64run.c
@@ -472,6 +472,11 @@ x64emurun:
                 ED->dword[0] = F32;
             break;
 
+        case 0xC9:                      /* LEAVE */
+            R_RSP = R_RBP;
+            R_RBP = Pop(emu);
+            break;
+
         case 0xCC:                      /* INT 3 */
             x64Int3(emu);
             if(emu->quit) goto fini;