overdrivenpotato / rust-psp

Rust on PSP. Panic and allocation support. Access PSP system libraries.
Other
589 stars 31 forks source link

Fix paint mode example #106

Closed doodlewind closed 2 years ago

doodlewind commented 2 years ago

Upgrading embedded_graphics in #104 breaks the paint mode example, this PR fixes it according to the migration guide. Since the positioning of some primitives are changed (e.g. circle), some number literals are also tweaked to keep the same behavior.