summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2013-09-19 21:10:32 -0400
committercomex <comexk@gmail.com>2013-09-20 16:46:48 -0400
commitd334a9bc23a7641143937042658f64fc9c1b7a92 (patch)
tree655a7cd28b774195f8f06394a7035e283b5af458 /Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp
parent95aac4ff6841b6557e3d74fd161bc7e96ce2b61e (diff)
Fix stack misalignment issues.
- Call ABI_AlignStack even on x86-64. - Have ABI_AlignStack respect the difference in current alignment between the root JIT function, which has a prolog, and ProtectFunction thunks, which do not. This was causing many games to crash on start on OS X. Since this might otherwise mean changing the stack pointer before every call... - Have one prolog/epilog function rather than two (one of which definitely did not do what it was thought to do), and make it actually work like a normal one, so that the stack frame shows up properly in the debugger. There should be no performance impact.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/evdev/evdev.cpp')
0 files changed, 0 insertions, 0 deletions