
Gameshark cheat codes ps2 code#
Once the Code Handler is finished executing, it returns the flow of programming back to the point of hijacking. What the hook actually does is redirect the flow of programming to the Code Handler the enhancer left behind.

(because SDKs are used, this makes finding hooks that work in all games for a system much easier) Specific locations in a game's programming that get executed roughly every frame (like reading the controller data) are where "hooks" will be placed. In doing so, it leaves behind a Code Handler in the system RAM and " hooks" the game's programming. When GameShark (and other game enhancer products/homebrew) gets loaded by the console, the enhancer is what launches the actual game.
