Skip to content

Conversation

@originals1n
Copy link

Made a simple sprite drawing example based on different available resources. Requesting a review to make sure there were no unnecessary calls in the code (except the unreachable code at the end to make sure the user remembers to exit the context safely).

sceGuSwapBuffers();
}

sceGuTerm();
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the loop above never exits so this is unused code

}

#[allow(unreachable_code)]
unsafe fn psp_innermain() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not everything in this function is unsafe. It might also be wise to try to make some safe wrappers.

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.

2 participants