diff options
| -rw-r--r-- | src/core/tools/freezer.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/core/tools/freezer.h b/src/core/tools/freezer.h index 5edd049c1..b58de5472 100644 --- a/src/core/tools/freezer.h +++ b/src/core/tools/freezer.h | |||
| @@ -17,7 +17,14 @@ struct EventType; | |||
| 17 | 17 | ||
| 18 | namespace Tools { | 18 | namespace Tools { |
| 19 | 19 | ||
| 20 | // A class that will effectively freeze memory values. | 20 | /** |
| 21 | * This class allows the user to prevent an application from writing new values to certain memory | ||
| 22 | * locations. This has a variety of uses when attempting to reverse a game. | ||
| 23 | * | ||
| 24 | * One example could be a cheat to prevent Mario from taking damage in SMO. One could freeze the | ||
| 25 | * memory address that the game uses to store Mario's health so when he takes damage (and the game | ||
| 26 | * tries to write the new health value to memory), the value won't change. | ||
| 27 | */ | ||
| 21 | class Freezer { | 28 | class Freezer { |
| 22 | public: | 29 | public: |
| 23 | struct Entry { | 30 | struct Entry { |