diff --git a/README.md b/README.md index 517d912..586d877 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,8 @@ [![crates.io](https://img.shields.io/crates/v/gba.svg)](https://crates.io/crates/gba) [![docs.rs](https://docs.rs/gba/badge.svg)](https://docs.rs/gba/latest/gba/) +* [![Built with cargo-make](https://sagiegurari.github.io/cargo-make/assets/badges/cargo-make.svg)](https://sagiegurari.github.io/cargo-make) + # gba A crate that helps you make GBA games diff --git a/book/src/ch01/volatile.md b/book/src/ch01/volatile.md index 92ce7e5..940e05b 100644 --- a/book/src/ch01/volatile.md +++ b/book/src/ch01/volatile.md @@ -22,9 +22,9 @@ operations are enforced to happen in the exact order that you specify them, but only relative to other volatile operations. So something like ```rust -c.volatile_write(5); +c.write_volatile(5); a += b; -d.volatile_write(7); +d.write_volatile(7); ``` might end up changing `a` either before or after the change to `c` (since the