File tree 2 files changed +18
-0
lines changed
BasiliskII/src/CrossPlatform
SheepShaver/src/CrossPlatform
2 files changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -1018,6 +1018,15 @@ static bool ix86_skip_instruction(SIGSEGV_REGISTER_TYPE * regs)
1018
1018
transfer_size = SIZE_WORD;
1019
1019
}
1020
1020
1021
+ #if defined(__x86_64__) || defined(_M_X64)
1022
+ // Address size override
1023
+ if (*eip == 0x67 ) {
1024
+ // 32-bit address
1025
+ eip++;
1026
+ len++;
1027
+ }
1028
+ #endif
1029
+
1021
1030
// REX prefix
1022
1031
#if defined(__x86_64__) || defined(_M_X64)
1023
1032
struct rex_t {
Original file line number Diff line number Diff line change @@ -1018,6 +1018,15 @@ static bool ix86_skip_instruction(SIGSEGV_REGISTER_TYPE * regs)
1018
1018
transfer_size = SIZE_WORD;
1019
1019
}
1020
1020
1021
+ #if defined(__x86_64__) || defined(_M_X64)
1022
+ // Address size override
1023
+ if (*eip == 0x67 ) {
1024
+ // 32-bit address
1025
+ eip++;
1026
+ len++;
1027
+ }
1028
+ #endif
1029
+
1021
1030
// REX prefix
1022
1031
#if defined(__x86_64__) || defined(_M_X64)
1023
1032
struct rex_t {
You can’t perform that action at this time.
0 commit comments