The Gba struct is used to take advantage of rust's borrow checker, and lean on it to ensure that access to the Game Boy Advance hardware is done 'sensibly'.
You won't have to worry about 2 bits of your code modifying data in the wrong way!
Attempting to do so will result in a panic which by default crashes the game.
# How all agb games start
Replace the content of the `main` function with the following:
```rust,ignore
# #![no_std]
# #![no_main]
# #[agb::entry]
# fn main() -> ! {
loop {} // infinite loop for now
# }
```
and ignore warnings for now.
# Running your pong game
Although there isn't much to see at the moment (just a black screen), you can start the game by using `cargo run` or whatever worked for you in the introduction.
# What we did
This was a very simple but incredibly important part of any game using `agb`.