Zach Hilman 7 лет назад
Родитель
Сommit
4111971cbd
1 измененных файлов с 8 добавлено и 1 удалено
  1. 8 1
      src/core/tools/freezer.h

+ 8 - 1
src/core/tools/freezer.h

@@ -17,7 +17,14 @@ struct EventType;
 
 
 namespace Tools {
 namespace Tools {
 
 
-// A class that will effectively freeze memory values.
+/**
+ * This class allows the user to prevent an application from writing new values to certain memory
+ * locations. This has a variety of uses when attempting to reverse a game.
+ *
+ * One example could be a cheat to prevent Mario from taking damage in SMO. One could freeze the
+ * memory address that the game uses to store Mario's health so when he takes damage (and the game
+ * tries to write the new health value to memory), the value won't change.
+ */
 class Freezer {
 class Freezer {
 public:
 public:
     struct Entry {
     struct Entry {