Skip to content

0.20.0

Compare
Choose a tag to compare
@github-actions github-actions released this 14 May 22:01
· 57 commits to master since this release
737b547

Added

  • Added a new crash screen which provides a mechanism for seeing a full stack trace of your program when it panics. This requires a change to your .cargo/config.toml. You must add the rust flag "-Cforce-frame-pointers=yes" to your rustflags field. This can also be disabled by removing the backtrace feature.
  • Initial unicode support for font rendering.
  • Kerning support for font rendering.
  • Added set_next method to OamIterator to avoid repeated boilerplate when dealing with unmanaged objects.

Fixed

  • Export the dma module correctly so you can write the types from it and use it in more complex cases.

Changed

  • Many macros now emit statics rather than consts OR can be used as statics OR have had examples changed to use statics. You should use statics where possible for assets as consts can lead to them being included multiple times in the ROM.
  • Fixnums are now implemented with num_traits trait definitions.
  • Rather than having our own sync with Statics, use the standard portable atomics crate. These are reexported for convenience.
  • Mgba no longer implements Write. You're unlikely to notice as agb::println! is unchanged.
  • Writes of long messages to mgba are split over multiple log messages if they overflow mgba's buffer. On a panic, only the final message will be Fatal with the preceding ones (if needed) being Info.