Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaMKW committed Aug 27, 2023
1 parent 0df5e4a commit b6e6f10
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/patches/fps.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ SMS_PATCH_BL(SMS_PORT_REGION(0x800066E4, 0x800066E4, 0, 0), setBoidSpeed);
static f32 getAnimalBirdSpeed() {
return BetterSMS::getFrameRate() / SMS_PORT_REGION(30.0f, 25.0f, 30.0f, 30.0f);
}
SMS_PATCH_BL(SMS_PORT_REGION(0x8000ceb0, 0, 0, 0), getAnimalBirdSpeed);
SMS_PATCH_BL(SMS_PORT_REGION(0x8000d1d8, 0, 0, 0), getAnimalBirdSpeed);
SMS_PATCH_BL(SMS_PORT_REGION(0x8000d1f8, 0, 0, 0), getAnimalBirdSpeed);
SMS_PATCH_BL(SMS_PORT_REGION(0x8000CEB0, 0, 0, 0), getAnimalBirdSpeed);
SMS_PATCH_BL(SMS_PORT_REGION(0x8000D1D8, 0, 0, 0), getAnimalBirdSpeed);
SMS_PATCH_BL(SMS_PORT_REGION(0x8000D1F8, 0, 0, 0), getAnimalBirdSpeed);

// Sandbird has the same problem
SMS_PATCH_BL(SMS_PORT_REGION(0x801f76a8, 0, 0, 0), getAnimalBirdSpeed);
SMS_PATCH_BL(SMS_PORT_REGION(0x801f76c4, 0, 0, 0), getAnimalBirdSpeed);
SMS_PATCH_BL(SMS_PORT_REGION(0x801F76A8, 0, 0, 0), getAnimalBirdSpeed);
SMS_PATCH_BL(SMS_PORT_REGION(0x801F76C4, 0, 0, 0), getAnimalBirdSpeed);

0 comments on commit b6e6f10

Please sign in to comment.