summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/TextureDecoder_x64.cpp
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2014-09-11 00:24:22 -0400
committercomex <comexk@gmail.com>2014-09-17 19:57:06 -0400
commit755bd2c445488709a9c2b7d283ca5e6e56fdc56e (patch)
tree586624a1f3d431524a961a72878bb08da825a0c0 /Source/Core/VideoCommon/TextureDecoder_x64.cpp
parent7b0fdb52cdf40ed4310fd61e10f37e66f17c3bd5 (diff)
Reorganize backpatching a bit. Untested on ARM.
Rather than *MemTools.cpp checking whether the address is in the emulated range itself (which, as of the next commit, doesn't cover every kind of access the JIT might want to intercept) and doing PC replacement, they just pass the access address and context to jit->HandleFault, which does the rest itself. Because SContext is now in JitInterface, I wanted JitBackpatch.h (which defines it) to be lightweight, so I moved TrampolineCache and associated x64{Analyzer,Emitter} dependencies into its own file. I hate adding new files in three places, two of which are MSVC... While I'm at it, edit a misleading comment.
Diffstat (limited to 'Source/Core/VideoCommon/TextureDecoder_x64.cpp')
0 files changed, 0 insertions, 0 deletions