diff --git a/src/services/AchievementRuntimeExports.cpp b/src/services/AchievementRuntimeExports.cpp index 5afc5311..25ede0a8 100644 --- a/src/services/AchievementRuntimeExports.cpp +++ b/src/services/AchievementRuntimeExports.cpp @@ -718,7 +718,7 @@ class AchievementRuntimeExports : private AchievementRuntime { if (s_callbacks.read_memory_handler) { - uint8_t value; + uint8_t value = 0; if (s_callbacks.read_memory_handler(address, &value, 1, s_callbacks.read_memory_client) == 1) return value;