There was an error fetching the commit references. Please try again later.
Core/Memory: Give every emulated thread it's own TLS area.
The TLS area for thread T with id Ti is located at TLS_AREA_VADDR + (Ti - 1) * 0x200. This allows some games like Mario Kart 7 to continue further.
Showing
- src/core/arm/arm_interface.h 2 additions, 1 deletionsrc/core/arm/arm_interface.h
- src/core/arm/dyncom/arm_dyncom.cpp 4 additions, 1 deletionsrc/core/arm/dyncom/arm_dyncom.cpp
- src/core/arm/dyncom/arm_dyncom.h 1 addition, 1 deletionsrc/core/arm/dyncom/arm_dyncom.h
- src/core/core.cpp 0 additions, 4 deletionssrc/core/core.cpp
- src/core/core.h 2 additions, 0 deletionssrc/core/core.h
- src/core/hle/kernel/session.h 7 additions, 3 deletionssrc/core/hle/kernel/session.h
- src/core/hle/kernel/thread.cpp 9 additions, 1 deletionsrc/core/hle/kernel/thread.cpp
- src/core/hle/kernel/thread.h 6 additions, 0 deletionssrc/core/hle/kernel/thread.h
Loading
Please register or sign in to comment