Andrea Ciliberti
7ec095eca0
Add errno.h to the bindings
2 years ago
Andrea Ciliberti
4eeb09b631
fmt
2 years ago
Andrea Ciliberti
fbfe34605c
Update bindings to latest libctru
2 years ago
Meziu
9201f4d7d1
Merge pull request #110 from Techie-Pi/docs/improve-docs-v3
...
Add `bindgen-ctru-sys` package and update bindings
2 years ago
Meziu
f6d16d1554
Merge pull request #122 from DeltaF1/mii-selector-return
...
Handle empty Mii selector return
2 years ago
DeltaF1
b50bacff4c
Remove is_mii_selected entirely, formatting
2 years ago
DeltaF1
827f00314d
Fix missing use
2 years ago
DeltaF1
1e158191ff
Add documentation to LaunchError. Update mii-selector example.
2 years ago
DeltaF1
070de964be
Add an error code for when Mii selection is cancelled
2 years ago
Meziu
ca8f13d28c
Merge pull request #116 from rust3ds/improve/api
...
Second wave of API changes
2 years ago
Meziu
20a8094a07
Merge pull request #118 from rust3ds/feat/flush-swap-screen-traits
...
Create some traits for swapping/flushing screen buffers
2 years ago
Andrea Ciliberti
40e5cc9587
Readd trait imports
2 years ago
Andrea Ciliberti
76ef8e637e
Fix merge messages
2 years ago
Andrea Ciliberti
a3fc356d6a
Merge branch 'improve/api' into feat/flush-swap-screen-traits
2 years ago
Andrea Ciliberti
eb8eaa506f
HID Touch and Circlepad refactor + new example
2 years ago
Andrea Ciliberti
b47228fef1
Fix doctest
2 years ago
Andrea Ciliberti
09d52eac36
Fix doctest fmt
2 years ago
Andrea Ciliberti
97fce222dc
Rename MiiIndex to Index
2 years ago
Andrea Ciliberti
c7e6437278
Rename N3DS to Old3DS
2 years ago
Andrea Ciliberti
9b95c883e9
Renamed init functions to new
2 years ago
Ian Chamberlain
3e349f8591
Fix mutability issues after merge of master
2 years ago
Meziu
d8af910ed5
Update gfx.rs
2 years ago
Meziu
9a98f3233c
Update flush_buffer docs
...
Co-authored-by: Ian Chamberlain <ian-h-chamberlain@users.noreply.github.com>
2 years ago
Andrea Ciliberti
fcdb18449b
Explicit DPAD nomenclature
2 years ago
Andrea Ciliberti
d3808d05af
Undo double flush in example
2 years ago
Andrea Ciliberti
9eecd1796c
Fmt and clippy
2 years ago
Andrea Ciliberti
19349dbc83
Renamed SystemModel enum variants
2 years ago
Andrea Ciliberti
bc82d20a9d
Use usize in RawFrameBuffer
2 years ago
Andrea Ciliberti
ae90fc3e6e
Derive traits and Screen changes
2 years ago
Andrea Ciliberti
ff08dd9545
Renamed init functions to new
2 years ago
Meziu
7e74e2d5de
Merge pull request #109 from rust3ds/fix/build-doctests
...
Set up reusable CI workflow and add building doctests
2 years ago
Ian Chamberlain
7d70add8f3
Fix mutability issues after merge of master
2 years ago
Ian Chamberlain
a111268771
Merge branch 'master' into fix/build-doctests
2 years ago
Ian Chamberlain
3a8b05054f
Update cargo-3ds hash to latest
2 years ago
Ian Chamberlain
b239fb8d9f
Update doc comments and bitmap example
...
Clarify the behavior of `swap_buffers` for single buffering mode and
update bitmap example to prove that this is actually how it works.
2 years ago
Ian Chamberlain
a417218182
On second thought, it seems better to reuse traits
...
Rename to flush_buffers, and just have TopScreen3D's impl do both. This
still allows individual flushing of left and right if needed but most
people would probably just use `TopScreen3D::flush_buffers`.
2 years ago
Ian Chamberlain
0ef017cf4d
Do some cleanup and fix swap trait impls
...
Oops! The argument to `gfxScreenSwapBuffers` is gfxScreen_t, not
gfx3dSide_t ! Unfortunately they are both alias to libc::c_uint so we
didn't get any help from the Rust compiler when passing the screen side
into this function.
2 years ago
Ian Chamberlain
7ac47b8838
Merge branch 'improve/api' into feat/flush-swap-screen-traits
2 years ago
Ian Chamberlain
683fad4aee
Initial pass of Swap/Flush traits for screens
2 years ago
Meziu
71ad3e9462
Update gfx.rs
2 years ago
Meziu
80efa807b1
Update flush_buffer docs
...
Co-authored-by: Ian Chamberlain <ian-h-chamberlain@users.noreply.github.com>
2 years ago
Andrea Ciliberti
8821ed4326
Explicit DPAD nomenclature
2 years ago
Andrea Ciliberti
a0e36f3753
fmt
2 years ago
Andrea Ciliberti
ef4ea1797a
Compilation error only if feature is set
2 years ago
Andrea Ciliberti
93fdaffa6b
fmt
2 years ago
Andrea Ciliberti
a2a990b715
Compilation error when romfs can't be found
2 years ago
Andrea Ciliberti
bca9aa7918
fmt
2 years ago
Andrea Ciliberti
7aef0de46b
Update for linker-fix-3ds rename
2 years ago
Meziu
7eaf973f3f
Merge pull request #117 from rust3ds/feature/romfs-comp-error
...
Compilation error when romfs can't be found
2 years ago
Andrea Ciliberti
5a21920530
fmt
2 years ago