dolphin/Source/Core
Lioncash 4b25538f2f CachedInterpreter: Factor function hooking code out of Jit()
Extracts the self-contained code into its own function to clean up the
flow of Jit() a little more.

This also introduces a helper function to HLE.h that will be used to
reduce the boilerplate here and in the interpreter and Jit64 in the
following commits.

This function performs all of the preliminary checks required prior to
attempting to hook/replace a function at a given address. The function then
calls a provided object that satisfies the FunctionObject concept in the
C++ standard library. This can be a lambda, a regular function pointer,
an object with an overloaded function call operator, etc. The only
requirement is that the function return a bool, indicating whether or
not the function was replaced, and that it can take parameters in the
form: fn(u32 function, HLE::HookType type)
2018-05-16 18:55:49 -04:00
..
AudioCommon Reformat all the things! 2018-04-12 21:28:39 +02:00
Common Common/Hash: Namespace code under the Common namespace 2018-05-16 15:39:23 -04:00
Core CachedInterpreter: Factor function hooking code out of Jit() 2018-05-16 18:55:49 -04:00
DiscIO Common/Hash: Namespace code under the Common namespace 2018-05-16 15:39:23 -04:00
DolphinNoGUI UICommon: Avoid including Xrandr.h 2018-04-14 17:14:38 +02:00
DolphinQt2 Fix "Show Input Display" 2018-05-16 21:07:15 +02:00
DolphinWX PatchEngine: Make PatchType an enum class 2018-05-13 15:46:51 -04:00
InputCommon THis fixes issue #08 and #16, the rumble test and slider 2018-04-19 17:48:55 -04:00
UICommon Copy Wii NAND data to user NAND in WiiRoot 2018-05-12 17:08:50 +02:00
Updater Updater: Show error when trying to launch directly 2018-05-05 23:32:08 +02:00
VideoBackends Merge pull request #6825 from leoetlino/onion-types 2018-05-12 21:59:43 +02:00
VideoCommon Common/Hash: Namespace code under the Common namespace 2018-05-16 15:39:23 -04:00
CMakeLists.txt