My actor.rpg avatar walking around on a GBA game
3
fork

Configure Feed

Select the types of activity you want to include in your feed.

Update to v0.14.0

GBA bot 1ec0c30e 9231b93c

+15 -7
+3 -2
Cargo.toml
··· 2 2 name = "agb_template" 3 3 version = "0.1.0" 4 4 authors = [""] 5 - edition = "2018" 5 + edition = "2021" 6 6 7 7 # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html 8 8 9 9 [dependencies] 10 - agb = "0.13.0" 10 + agb = "0.14.0" 11 11 12 12 [profile.dev] 13 13 opt-level = 2 ··· 17 17 panic = "abort" 18 18 lto = true 19 19 debug = true 20 + codegen-units = 1
+3 -4
README.md
··· 22 22 `println!` support via `agb::println!` but any emulator should work. You'll get the best experience if 23 23 `mgba-qt` is in your `PATH`. 24 24 25 - If you want to run your game on real hardware, you will also need to install `gbafix` which you can do after installing 26 - rust with the following: `cargo install gbafix`. This is not required if you are only running your game in an emulator. 25 + If you want to run your game on real hardware, you will also need to install `agb-gbafix` which you can do after installing 26 + rust with the following: `cargo install agb-gbafix`. This is not required if you are only running your game in an emulator. 27 27 28 28 ### Running in an emulator 29 29 ··· 68 68 First build the binary in release mode using the instructions above, then do the following: 69 69 70 70 ```sh 71 - arm-none-eabi-objcopy -O binary target/thumbv4t-none-eabi/release/<your game> <your game>.gba 72 - gbafix <your game>.gba 71 + agb-gbafix target/thumbv4t-none-eabi/release/<your game> -o <your game>.gba 73 72 ```
+4
gba.ld
··· 74 74 __ewram_rom_length_bytes = __ewram_data_end - __ewram_data_start; 75 75 __ewram_rom_length_halfwords = (__ewram_rom_length_bytes + 1) / 2; 76 76 77 + .shstrtab : { 78 + *(.shstrtab) 79 + } 80 + 77 81 /* debugging sections */ 78 82 /* Stabs */ 79 83 .stab 0 : { *(.stab) }
+4
gba_mb.ld
··· 72 72 __ewram_rom_length_bytes = __ewram_data_end - __ewram_data_start; 73 73 __ewram_rom_length_halfwords = (__ewram_rom_length_bytes + 1) / 2; 74 74 75 + .shstrtab : { 76 + *(.shstrtab) 77 + } 78 + 75 79 /* debugging sections */ 76 80 /* Stabs */ 77 81 .stab 0 : { *(.stab) }
+1 -1
rust-toolchain.toml
··· 1 1 [toolchain] 2 2 channel = "nightly" 3 - components = ["rust-src", "clippy"] 3 + components = ["rust-src", "clippy", "rustfmt"]