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
Andrea Ciliberti
d3134f68f6
Compilation error only if feature is set
2 years ago
TechiePi
696072adf6
Update ctru-sys version used at ctru-rs
2 years ago
TechiePi
34c896e78e
Improve clang_args of bindgen-ctru-sys
2 years ago
TechiePi
8eb3b1592d
Update ctru-sys version
2 years ago
TechiePi
57628db81b
Merge branch 'rust3ds:master' into docs/improve-docs-v3
2 years ago
TechiePi
27e636ed60
Update libctru to the latest version
2 years ago
Andrea Ciliberti
78ba904ac0
fmt
2 years ago
Andrea Ciliberti
8334221f52
Compilation error when romfs can't be found
2 years ago
Meziu
9098ad14a9
Merge pull request #114 from rust3ds/fix/renamed-dependency
...
Update for linker-fix-3ds rename
2 years ago
Meziu
8af343edc4
Merge pull request #115 from rust3ds/fix/channel-mutability
...
Fix mutability requirements
2 years ago
Andrea Ciliberti
f37ccaea13
Undo double flush in example
2 years ago
Andrea Ciliberti
ef074a66ad
Fmt and clippy
2 years ago
Andrea Ciliberti
31ad7cbf8e
Renamed SystemModel enum variants
2 years ago
Andrea Ciliberti
e06114d081
Use usize in RawFrameBuffer
2 years ago
Andrea Ciliberti
fe29c25c35
Derive traits and Screen changes
2 years ago
Andrea Ciliberti
5257d16aee
Renamed init functions to new
2 years ago
Andrea Ciliberti
8e3017b725
Fix examples
2 years ago
Andrea Ciliberti
1e4002604f
Fixed mutability for all modules
2 years ago
Andrea Ciliberti
12f3d8ad40
Ask for mut references in Channel
2 years ago
Andrea Ciliberti
ca3a2de6a6
fmt
2 years ago
Andrea Ciliberti
5ad6708bb6
Update for linker-fix-3ds rename
2 years ago
Meziu
02017316f3
Merge pull request #112 from rust3ds/fix/license
...
Fix licensing and credits
2 years ago
Meziu
d82ba96152
Restore copyright label
2 years ago
Andrea Ciliberti
27d8558274
Rename org
2 years ago
Andrea Ciliberti
a71e131849
Add license file
2 years ago
Andrea Ciliberti
581c62dd49
Fix licensing issues
2 years ago
TechiePi
16e40d0a16
Add `default-members` to Cargo.toml
2 years ago
TechiePi
025d60356d
Add `bindgen-ctru-sys` package and update bindings
...
- Added the `bindgen-ctru-sys` to be able to use `ParseCallbacks` when generating the bindings.
- Updated `doxygen-rs` to 0.4, which has a faster engine and more extensible internal (even though there are some regressions).
- Removes the `docstring-to-rustdoc` package because it is no longer needed.
2 years ago