diff options
| author | magumagu9 <magumagu9@gmail.com> | 2008-12-20 07:13:38 +0000 |
|---|---|---|
| committer | magumagu9 <magumagu9@gmail.com> | 2008-12-20 07:13:38 +0000 |
| commit | a2a8be006a5abddaca1aa5fe11efb6af32268fe9 (patch) | |
| tree | f38c16cafaa4dea3368f51806f2c2014b358face /Source/Core | |
| parent | 7ad6b0b5bbceee2eaa179497c80179b6ad0b3f5c (diff) | |
A couple of minor Linux compile fixes.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1599 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/Core/Src/MemTools.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/Core/Src/MemTools.cpp b/Source/Core/Core/Src/MemTools.cpp index 6a936da136..e217fb52e3 100644 --- a/Source/Core/Core/Src/MemTools.cpp +++ b/Source/Core/Core/Src/MemTools.cpp @@ -198,7 +198,7 @@ void sigsegv_handler(int signal, siginfo_t *info, void *raw_context) #else u8 *fault_instruction_ptr = (u8 *)CREG_EIP(ctx); #endif - if (!jit.IsInCodeSpace((const u8 *)fault_instruction_ptr)) { + if (!jit.IsInCodeSpace(fault_instruction_ptr)) { // Let's not prevent debugging. return; } @@ -225,7 +225,7 @@ void sigsegv_handler(int signal, siginfo_t *info, void *raw_context) fake_ctx.Eax = CREG_EAX(ctx); fake_ctx.Eip = CREG_EIP(ctx); #endif - u8 *new_rip = jit.BackPatch(fault_instruction_ptr, access_type, em_address, &fake_ctx); + const u8 *new_rip = jit.BackPatch(fault_instruction_ptr, access_type, em_address, &fake_ctx); if (new_rip) { #ifdef _M_X64 CREG_RAX(ctx) = fake_ctx.Rax; |
