Ian Chamberlain
e3277a1e3c
Minor CI fixups
...
- Add a helper for local testing with https://github.com/nektos/act
- Don't deny clippy warnings, they can change too easily and break CI
- Add minimum rust version just for completeness' sake
2 years ago
Ian Chamberlain
7718269b19
Address more comments
...
Use symmetric left/right top screen types, but keep the public API the
same. Switch const -> static where feasible in the example.
2 years ago
Ian Chamberlain
df14df484e
Add some more docs, re-expose Side in trait method
2 years ago
Andrea Ciliberti
8594268fc2
Cargo fmt
2 years ago
Andrea Ciliberti
c2c14b949b
Fixed deallocate types
2 years ago
Andrea Ciliberti
4d196760ee
Fix alignment and follow suggestions
2 years ago
Andrea Ciliberti
e2dd1335d4
Fix issues of the CI
2 years ago
Andrea Ciliberti
be858ff6ae
Cargo fmt
2 years ago
Andrea Ciliberti
39467960ef
Add LINEAR allocator module
2 years ago
Ian Chamberlain
6c7a74f5f6
Implement a TopScreen3D type for 3d mode
...
This type sets 3d mode on construction, and unsets it on drop, while
keeping a copy of the RefCell to the top screen.
I don't think this is perfect, but it seems like a decent option that
should still prevent any concurrent access to the top screen's buffer.
2 years ago
TechiePi
42345d10a8
Rename a few variables and document skipped bits
2 years ago
TechiePi
01e9c70629
Address comments
2 years ago
TechiePi
accf99b2bb
Apply cargo check suggestions
...
Apply nightly lints
I updated my toolchain to 1.66-nightly to fix all the files
2 years ago
TechiePi
16f8de4376
Address comments
...
- Make ``MiiSelectorReturn`` ``non_exhaustive``
- Remove ``checksum`` from ``MiiSelectorReturn``
- Change ``From`` impl for ``MiiSelectorReturn``
- Rename ``OriginConsole`` members
- Fix ranges
2 years ago
TechiePi
7c2440432a
Move some styles inside the their details struct for consistency
2 years ago
TechiePi
4d88ba9901
Fix rustdoc link
2 years ago
TechiePi
1310507fcb
Document ``set_title`` input and NUL bytes
2 years ago
TechiePi
f8baff0819
Cargo fmt
2 years ago
TechiePi
441ab930cf
Document values sometimes not being straight forward
2 years ago
TechiePi
91f65a0a55
Add docs
2 years ago
TechiePi
dd5b9f72a6
Fix issue related to endianness and improve wording
2 years ago
TechiePi
d7a6843633
Clippy & cargo fmt
2 years ago
TechiePi
a9569b5e5a
Improve ``mii-selector`` example and a few fixes
2 years ago
TechiePi
7ca152a02a
Apply some suggestions
2 years ago
TechiePi
be87134b40
Fix ``RegionLock::None`` refactor
2 years ago
TechiePi
fe0d03cbb7
Fix Mii Selector example
2 years ago
TechiePi
1d92f0f48c
Apply suggestions
2 years ago
TechiePi
4b99e92b19
Cargo fmt & clippy
2 years ago
TechiePi
1dbb576651
Remove comment
2 years ago
TechiePi
0a6654aa55
Clippy
2 years ago
TechiePi
19ebd494d3
Add MiiData example
2 years ago
TechiePi
e6cc659ba3
Rename Mii Selector example
2 years ago
TechiePi
3c9bd8f2fe
Implement MiiData parsing
2 years ago
TechiePi
de51d97d1c
Cargo fmt
2 years ago
TechiePi
4b435614b4
Add ``mii_selector`` example
2 years ago
TechiePi
b33411f8ac
Fix bug with author and impl ``From`` for ``MiiConfigIndex``
2 years ago
TechiePi
32db2c6dbe
Initial mii selector implementation
2 years ago
TechiePi
088ff85cff
use ``ctru_sys::Result`` instead of ``i32``
2 years ago
Meziu
6cf43bd974
Update manifest with current repo links
2 years ago
TechiePi
f896871b73
Improve implementation and improve wording
...
Co-Authored-By: Ian Chamberlain <11131775+ian-h-chamberlain@users.noreply.github.com>
2 years ago
Ian Chamberlain
223ade4543
First attempt at splitting top screen types
2 years ago
TechiePi
06f27a35eb
Derive some traits
2 years ago
TechiePi
103355515a
Improve ``type Residual`` comment
2 years ago
TechiePi
0d31a1970a
Remove unnecesary condition and explain the ``type Residual``
2 years ago
TechiePi
1376417aec
Change the name of ``LibCtruError`` to ``LibCtruResult``
...
Not everything wrapped in this struct is an error
2 years ago
TechiePi
9ef0a7dcd6
Fix ``camera-image.rs`` example (III)
2 years ago
TechiePi
0dc83d03f1
Fix ``camera-image.rs`` example (II)
2 years ago
TechiePi
8b4b8ef395
Fix ``camera-image.rs`` example
2 years ago
TechiePi
c3e24358b7
Remove ``synchronize_vsync_timing`` function
...
[ref](https://github.com/Meziu/ctru-rs/pull/74#issuecomment-1272454085 )
2 years ago
TechiePi
a3297aebd0
Fix ``FromResidual`` logic
2 years ago