Skip to content

cellGemPrepareCamera: reduce cellCamera log spam by setting some camera features#16662

Merged
Megamouse merged 1 commit into
RPCS3:masterfrom
Megamouse:cellGemPrepare
Feb 4, 2025
Merged

cellGemPrepareCamera: reduce cellCamera log spam by setting some camera features#16662
Megamouse merged 1 commit into
RPCS3:masterfrom
Megamouse:cellGemPrepare

Conversation

@Megamouse
Copy link
Copy Markdown
Contributor

  • cellGemPrepareCamera: Deactivate some camera attributes (it's what's actually happening on real hardware)
  • cellGemPrepareCamera: Set some other camera attributes (kinda RE'd, but no 100% accurately)

This reduces a lot of cellGemPrepareCamera spam in combination with cellCameraGetAttribute in LBP3.
The game calls cellGemPrepareCamera and checks with cellCameraGetAttribute if one of the attributes is disabled.
The game repeats this indefinitely if the attribute is not disabled as expected.

I don't know if this improves performance or if this fixes any other camera issues in the game.

@Megamouse Megamouse merged commit 85f2886 into RPCS3:master Feb 4, 2025
@Megamouse Megamouse deleted the cellGemPrepare branch February 4, 2025 02:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant