0.20.0
·
138 commits
to master
since this release
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 thebacktrace
feature. - Initial unicode support for font rendering.
- Kerning support for font rendering.
- Added
set_next
method toOamIterator
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 implementsWrite
. You're unlikely to notice asagb::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.