Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

Commit

Permalink
Fix linux x86 startup crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Flyinghead committed Sep 20, 2018
1 parent f355dda commit a742b53
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/rec-x86/rec_lin86_asm.S
Expand Up @@ -93,7 +93,7 @@ ngen_mainloop:
push ebp
push ebx

mov ecx,[eax-184] # PC - was 0xA0000000
mov ecx,[0xA0000000] # PC
mov dword ptr cycle_counter, 448 #SH4_TIMESLICE

lea eax, no_update
Expand Down
2 changes: 1 addition & 1 deletion core/rec-x86/rec_x86_asm.cpp
Expand Up @@ -71,7 +71,7 @@ naked void ngen_mainloop(void* cntx)
push ebp;
push ebx;

mov ecx,[eax-184]; //# PC - was #0xA0000000
mov ecx,0xA0000000;
mov [cycle_counter],SH4_TIMESLICE;

mov [loop_no_update],offset no_update;
Expand Down

0 comments on commit a742b53

Please sign in to comment.