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
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
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
Meziu
474cb2e0c9
Merge pull request #107 from rust3ds/improve/api
...
Improve general API
2 years ago
Ian Chamberlain
855dc46a92
Merge pull request #101 from rust3ds/feature/check-libctru-version
2 years ago
Andrea Ciliberti
294284ef65
Better swkbd names
2 years ago
Andrea Ciliberti
bae2cc6488
Better names for cam service
2 years ago
Andrea Ciliberti
1383e753ee
Inequivocable From impls
2 years ago
Meziu
0b295ce0f6
Merge pull request #104 from rust3ds/improve/ndsp
...
Improve Ndsp API
2 years ago
Andrea Ciliberti
9cd9c1eec4
Standardise SWKBD to C-NO-OUT
2 years ago
Andrea Ciliberti
6a5b01d1ad
Revert swkbd changes
2 years ago
Andrea Ciliberti
082d9933b9
Fixed file-explorer example
2 years ago
Andrea Ciliberti
a6a184a412
SWKBD adheres to Rust standards
2 years ago
Andrea Ciliberti
da23524d7b
Remove get_ from getters
2 years ago
Andrea Ciliberti
d20f395c04
fmt
2 years ago
Andrea Ciliberti
55ed7cc5f8
Fix enum conversion
2 years ago
Andrea Ciliberti
9dcae23c23
Finish working on applets
2 years ago
Andrea Ciliberti
fd7afb6e3c
Fixed enums in SWKBD
2 years ago
Andrea Ciliberti
bcfd0fd84c
Update CAM example
2 years ago
Andrea Ciliberti
2e6039c1b8
Fixed ArchiveID struct
2 years ago
Andrea Ciliberti
ad11818d1f
Fixed compiler errors for CAM
2 years ago
Andrea Ciliberti
7688644fe1
CAM renaming/fixing with build problems
2 years ago
Andrea Ciliberti
43b83b5356
More modules starndardised
2 years ago
Andrea Ciliberti
c3df8af69f
Folder restructuring and slight changes to gspgpu
2 years ago
Andrea Ciliberti
d33c39b57d
Percentiles
2 years ago