Commit graph

3288 commits

Author SHA1 Message Date
Gwilym Inzani dc46cfef45 If r2 < 4 don't overwrite all memory 2023-08-22 20:15:26 +01:00
Gwilym Inzani 9a6f96b2ba
Update dependency ubuntu to v22 (#473)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [ubuntu](https://togithub.com/actions/runner-images) | github-runner |
major | `20.04` -> `22.04` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log [here](https://developer.mend.io/github/agbrs/agb).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi40MC4zIiwidXBkYXRlZEluVmVyIjoiMzYuNDAuMyIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
2023-08-13 13:12:55 +01:00
GBA bot c29ba6e9ec Update lockfiles 2023-08-13 10:36:46 +00:00
renovate[bot] 10da95b2e3
Update dependency ubuntu to v22 2023-08-13 10:36:09 +00:00
Gwilym Inzani ec7d1447d8
Replace mgba-test-runner with better bindings (#471)
- [ ] Changelog updated / no changelog update needed
2023-08-13 11:35:32 +01:00
Corwin 5eb240068a
video buffer using unsafe cell across ffi boundary 2023-08-09 21:06:54 +01:00
Corwin d9a0ab1a9f
make non rust trait parts of vfile private 2023-08-08 09:48:10 +01:00
Corwin ad1f70e6e5
use less specific versions of clap and anyhow 2023-08-08 09:48:10 +01:00
Corwin 29c7ee9929
change emulator directory notes 2023-08-08 09:48:10 +01:00
Corwin 246e4da99e
run tests for emulator workspace 2023-08-08 09:48:10 +01:00
Corwin 987928a9a8
initialise to the no logger iff no other logger has been loaded 2023-08-08 09:48:10 +01:00
Corwin 3430668bdd
change name of cycle measure function and remove from public api 2023-08-08 09:48:10 +01:00
Corwin d4c1dc1730
use same target for everything 2023-08-08 09:48:10 +01:00
Corwin 59efa29225
include mgba's include directory 2023-08-08 09:48:10 +01:00
Corwin f873ca2c6b
remove pointless ignore 2023-08-08 09:48:10 +01:00
Corwin c75ddf0942
fix path 2023-08-08 09:48:10 +01:00
Corwin 4acf98bcbd
replace mgba-test-runner with better bindings 2023-08-08 09:48:07 +01:00
Gwilym Inzani 5fb928adb8
Update Rust crate bilge to 0.2 (#467)
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [bilge](https://togithub.com/hecatia-elegua/bilge) | dependencies |
minor | `0.1` -> `0.2` |

---

### Configuration

📅 **Schedule**: Branch creation - At any time (no schedule defined),
Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log [here](https://developer.mend.io/github/agbrs/agb).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNi4yNC4yIiwidXBkYXRlZEluVmVyIjoiMzYuMjQuMiIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
2023-08-07 21:10:27 +01:00
Gwilym Inzani b8ceb26bff Also only git add if passed --commit 2023-08-06 21:06:29 +01:00
Gwilym Inzani 6607ea3f1f Update lockfiles 2023-08-06 21:06:12 +01:00
Gwilym Inzani b45668f5e9 Make it easier to run update-lockfiles locally 2023-08-06 21:04:58 +01:00
Gwilym Inzani 11f71371e2 Be less happy with what we allow 2023-08-06 21:02:15 +01:00
Gwilym Inzani 46c9ebb855 Derive default to make bilge 2.0 happy (and may as well) 2023-08-06 21:02:15 +01:00
renovate[bot] 24070fdd18 Update Rust crate bilge to 0.2 2023-08-06 21:02:15 +01:00
Gwilym Inzani 18a161269e
Envelopes (#469)
A combination of the previous PR (#468) and support for volume envelopes
in the tracker

- [x] Changelog updated / no changelog update needed
2023-08-06 20:48:35 +01:00
Gwilym Inzani 136f551a98 Add changelog entry for from_f32 and from_f64 2023-08-06 20:27:09 +01:00
Gwilym Inzani 2d69a4682b Should let the fadeout take over once the envelope has finished 2023-08-06 20:25:31 +01:00
Gwilym Inzani eda11073ed Introduce fixnum::from_f(32|64) 2023-08-06 20:24:59 +01:00
Corwin 9c96880a5f
Upload games as build outputs (#472)
- [x] no changelog update needed
2023-08-06 13:44:01 +02:00
Corwin 3be7dd91d6
upload artifacts from build process 2023-08-06 11:10:56 +01:00
Gwilym Inzani 4f7fb7125b Fix crash for some files 2023-08-05 23:51:26 +01:00
Gwilym Inzani 67de2d5833 Implement fadeout 2023-08-05 23:51:12 +01:00
Gwilym Inzani f6ed1c484b Implement global volume 2023-08-05 22:55:03 +01:00
Gwilym Inzani 3976fd93ea Correctly interpret F00 2023-08-05 22:29:31 +01:00
Corwin ddc925ca7e
Add example for saving (#470)
Adds a quick example for saving a some numbers in sram.

- [x] no changelog update needed
2023-08-05 12:07:05 +01:00
Corwin ba62aca590
add example for saving 2023-08-05 11:53:14 +01:00
Gwilym Inzani db75d8b048 Minor fixes when trying other tracks 2023-08-05 01:33:48 +01:00
Gwilym Inzani ff5d324356 Reuse envelopes if they are the same 2023-08-05 00:58:39 +01:00
Gwilym Inzani aabfb1b083 This sounds pretty decent now 2023-08-05 00:24:11 +01:00
Gwilym Inzani 47455a0377 First pass at implementing envelope playing 2023-08-05 00:02:50 +01:00
Gwilym Inzani ca4cb55b39 Add boilerplate for exporting the envelopes 2023-08-04 23:25:48 +01:00
Gwilym Inzani d29a641a44 Specify that it is the volume envelope 2023-08-04 23:19:07 +01:00
Gwilym Inzani 826fdd881a Add data structure 2023-08-04 23:17:59 +01:00
Gwilym Inzani 9d299f3e66 Fix out by one error with instrument samples 2023-08-04 23:07:19 +01:00
Gwilym Inzani fa4b2ebd5d Implement F command 2023-08-04 22:30:49 +01:00
Gwilym Inzani 43d7350c2f Remove some of the volume slides 2023-08-04 21:30:09 +01:00
Gwilym Inzani 0a851e296a Some music updates 2023-08-04 21:24:45 +01:00
Gwilym Inzani 6731fa88a0 I prefer this a bit slower 2023-08-02 17:18:27 +01:00
Gwilym Inzani 8177366c6b Remove dbg 2023-08-02 16:49:30 +01:00
Gwilym Inzani 4b145d3194 Try composing my own theme (with some bug fixes) 2023-08-02 16:48:41 +01:00