Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Oct 6, 2023
2 parents 15387cf + f34bfa6 commit bf7a59f
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 5 deletions.
10 changes: 8 additions & 2 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Changelog
## 1.0.1
- Fixed a bug preventing you from completing rated levels with the mod installed
## <cg>1.0.2</c> (2023-10-01)
- Added Android support

## <cg>1.0.1</c> (2023-08-30)
- Fixed a bug preventing you from completing rated levels with the mod installed

## <cg>1.0.0</c> (2023-08-24)
- Initial release
4 changes: 2 additions & 2 deletions mod.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"geode": "1.2.0",
"version": "v1.0.1",
"geode": "1.3.5",
"version": "v1.0.2",
"id": "cvolton.robtop_bot",
"name": "RobTop Bot",
"developer": "Cvolton",
Expand Down
6 changes: 5 additions & 1 deletion src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,14 @@ void loadExtras() {
extras = Mod::get()->patch(reinterpret_cast<void*>(base::get() + 0xAA8CE), { 0x1 }).unwrap();
#endif

#ifdef GEODE_IS_ANDROID
log::info("Performing Android specific loading steps");
extras = Mod::get()->patch(reinterpret_cast<void*>(base::get() + 0x2a88e4), { 0x01, 0x23 }).unwrap();
#endif

#ifdef GEODE_IS_MACOS
log::info("Performing Mac specific loading steps");
extras = Mod::get()->patch(reinterpret_cast<void*>(base::get() + 0x2C7E82), { 0x89, 0xE1 }).unwrap(); //mov ecx, esp ; (very good, yes)

#endif

if(!extras) log::error("Enabling extras failed");
Expand Down

0 comments on commit bf7a59f

Please sign in to comment.