Skip to content

Commit

Permalink
v1.0.2 - Wrong range start value in debug message has been fixed (tha…
Browse files Browse the repository at this point in the history
…nks to nms42)
  • Loading branch information
lvs1974 committed Nov 15, 2018
1 parent 59ceaff commit beb3401
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@ RTCMemoryFixup Changelog

#### v1.0.1
- Bug fix: prevent kext unloading

#### v1.0.2
- Wrong range start value in debug message has been fixed (thanks to nms42)
4 changes: 2 additions & 2 deletions RTCMemoryFixup.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@
HEADER_SEARCH_PATHS = "${PROJECT_DIR}/Lilu.kext/Contents/Resources";
INFOPLIST_FILE = RTCMemoryFixup/Info.plist;
MODULE_NAME = as.lvs1974.RTCMemoryFixup.RTCMemoryFixup;
MODULE_VERSION = 1.0.1;
MODULE_VERSION = 1.0.2;
PRODUCT_BUNDLE_IDENTIFIER = as.lvs1974.RTCMemoryFixup;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -326,7 +326,7 @@
HEADER_SEARCH_PATHS = "${PROJECT_DIR}/Lilu.kext/Contents/Resources";
INFOPLIST_FILE = RTCMemoryFixup/Info.plist;
MODULE_NAME = as.lvs1974.RTCMemoryFixup.RTCMemoryFixup;
MODULE_VERSION = 1.0.1;
MODULE_VERSION = 1.0.2;
PRODUCT_BUNDLE_IDENTIFIER = as.lvs1974.RTCMemoryFixup;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
Binary file not shown.
4 changes: 2 additions & 2 deletions RTCMemoryFixup/RTCMemoryFixup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ bool RTCMemoryFixup::init(OSDictionary *propTable)
break;
}

for (; soffset <= eoffset; ++soffset)
emulated_flag[soffset] = true;
for (unsigned int i = soffset; i <= eoffset; ++i)
emulated_flag[i] = true;
DBGLOG("RTCFX", "rtc range from offset %02X to offset %02X is marked as emulated", soffset, eoffset);
}
else
Expand Down

0 comments on commit beb3401

Please sign in to comment.