Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@fjtrujy
Copy link
Member

@fjtrujy fjtrujy commented May 4, 2025

Description

This PR just keeps doing some clean-ups and tiny improvements around the sceGu code.

  • Fix sceGuBreak
  • Fix sceGuContinue
  • Remove magic numbers in sceGuDrawArrayN
  • Remove magic numbers in sceGuMorphWeight
  • Remove magic numbers in sceGuMaterial
  • Remove magic numbers in sceGuSetMatrix
  • Remove magic numbers in sceGuSignal
  • Remove unnecessary 0xffffff as it is done by sendCommandi
  • Improve the names of some parameters
  • Create and use GU_MAX_STATUS

Cheers

@fjtrujy fjtrujy marked this pull request as ready for review May 4, 2025 18:10
@fjtrujy fjtrujy force-pushed the improve_scgeu branch 4 times, most recently from 339ae4c to 550ce73 Compare May 4, 2025 20:02
- Fix sceGuBreak
- Fix sceGuContinue
- Fix sceGuDrawArrayN
- Fix sceGuMorphWeight
- Remove unnecessary 0xffffff as it is done by sendCommandi
- Improve the name of some parameters
- Create and use GU_MAX_STATUS
- Remove magic numbers in `sceGuMaterial`
- Remove magic numbers in `sceGuMorphWeight`
- Remove magic numbers in `sceGuSetMatrix`
- Remove magic numbers in `sceGuSignal`
@sharkwouter
Copy link
Member

I tested OceanPop with this change and it does not seem to have any impact. The code does look much cleaner, though.

@sharkwouter sharkwouter merged commit 95da2b3 into pspdev:master May 6, 2025
1 check passed
@fjtrujy fjtrujy deleted the improve_scgeu branch May 8, 2025 15:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants