Ian Chamberlain
c2827aa269
Add `os` module for querying OS and hardware state
...
Most of these are dead simple and don't require any service
initialization etc., so all we need is a simple wrapper. I didn't
implement everything in <3ds/os.h> yet, but got most of the basic ones
which seemed like likely use cases to me.
1 year ago
Andrea Ciliberti
ce8fc4ef83
Squash down camera functions
1 year ago
Andrea Ciliberti
2453499d58
Trimming works, finally
1 year ago
Andrea Ciliberti
0067d55abf
More CAM changes and WIP trimming
1 year ago
Andrea Ciliberti
b17bed0aeb
More CAM changes and WIP trimming
1 year ago
Andrea Ciliberti
45468d3aa5
WIP camera service overhaul
1 year ago
Ian Chamberlain
a187a503cc
Update references to point at rust3ds/test-runner
1 year ago
Ian Chamberlain
33268566c8
Revert accidental formatting changes
1 year ago
Ian Chamberlain
ce2023307d
Fix some small bugs / workarounds for CI
1 year ago
Ian Chamberlain
6881dce541
Don't run NDSP doctests
1 year ago
Ian Chamberlain
baa415156d
Merge branch 'master' into ci/reusable-actions
1 year ago
Ian Chamberlain
ee68d9d806
Enable running all tests and fix issues
...
We had a couple `fs` examples unwrapping expected errors, but mostly
everything passed!
1 year ago
Ian Chamberlain
1905c0ca1b
More cleanup after updates to test-runner-3ds
1 year ago
Andrea Ciliberti
c3021fe39d
Translate impls to static inline
1 year ago
Andrea Ciliberti
b577a39323
Fixed doc lints
1 year ago
Andrea Ciliberti
a84d2045f2
Fixed Screen unsafety on VRAM
1 year ago
Andrea Ciliberti
64d9777497
Fixed docs and typos
1 year ago
Andrea Ciliberti
d71774b6bf
Less panics, more errors
1 year ago
Andrea Ciliberti
1a704b0006
Restructure ServiceReference and wip Hid
1 year ago
Andrea Ciliberti
c3576c73be
Better GSPGPU docs
1 year ago
Andrea Ciliberti
45617265fe
Safely wrap Console::set_window
1 year ago
Andrea Ciliberti
18924dfcf4
Rename functions to allowlist/blocklist
1 year ago
Meziu
53154c5d1a
Merge pull request #133 from FenrirWolf/static-inline-fns
...
Support static inline functions in ctru-sys
1 year ago
Meziu
ac505801fc
Merge branch 'master' into static-inline-fns
1 year ago
Ian Chamberlain
685ea7f168
Bump toolchain version by 1 day
...
The old `cargo-3ds` we were using didn't care about the commit date being 05-30, but the new one used by the `test-runner` action does.
Since the rustc version is one day older than the toolchain date, we should be able to work with just the 06-01 toolchain instead.
1 year ago
Ian Chamberlain
318c341271
Fix test failures from running tests
...
These mostly have to do with the test environment itself, so we might
not want to keep these changes, if they are fixed in the runner.
1 year ago
Ian Chamberlain
7cd4ae0deb
Fix link error with multiply-defined stack size
...
We don't want to define __stacksize__ more than once, since the linker
will reject it even if the definition is the same.
For some reason this seems to link fine with devkitARM release 62, but
not 61 (which is the version in the latest upstream docker images). This
is probably safer anyway, since there are technically two copies of
`ctru-rs` at play here.
1 year ago
Ian Chamberlain
3a74c5bcaf
Use actions from test-runner-3ds repo
...
Actually run tests now!!!
1 year ago
Ian Chamberlain
ff12bd0818
Add test-runner as a dependency and fix build errs
...
Luckily, Cargo doesn't mind circular dev-dependencies and we can patch
to ensure it's using the same version. We can also leave this as a
`git = "..."` dependency if we want, since it's a dev dependency.
1 year ago
Meziu
3e89922f9f
Merge pull request #134 from rust3ds/improve/docs
...
Improve documentation and examples
1 year ago
Andrea Ciliberti
869cd50d06
Fixed romfs suggestions
1 year ago
Andrea Ciliberti
00f264be8c
Module doc aliases
1 year ago
Andrea Ciliberti
414b760bd7
Easy fixes to review suggestions
1 year ago
Meziu
fde132a111
Apply suggestions from code review
...
Co-authored-by: Ian Chamberlain <ian-h-chamberlain@users.noreply.github.com>
1 year ago
Meziu
f260e943a3
Update ctru-rs/examples/gfx-3d-mode.rs
...
Co-authored-by: Ian Chamberlain <ian-h-chamberlain@users.noreply.github.com>
1 year ago
Meziu
79e0d04da6
Update ctru-rs/examples/file-explorer.rs
...
Co-authored-by: Ian Chamberlain <ian-h-chamberlain@users.noreply.github.com>
1 year ago
Meziu
47e3a73e14
Fix typo in play_shutter_sound docs
...
Co-authored-by: FenrirWolf <fenrirwolf@gmail.com>
1 year ago
Fenrir
073ebd767b
Generate ctru-sys bindings at build-time
1 year ago
Andrea Ciliberti
354b9e3cdd
Change Actions minimum nightly
1 year ago
Andrea Ciliberti
8328721b5b
Fmt
1 year ago
Andrea Ciliberti
1640e201e9
Finishing touches after complete revision
1 year ago
Andrea Ciliberti
99d1b9128c
Fixed clippy warnings
1 year ago
Andrea Ciliberti
2af0268f89
Fix examples after thorough testing
1 year ago
Andrea Ciliberti
9c955441dc
Finalize examples
1 year ago
Andrea Ciliberti
a184e7a159
Finalize Console docs
1 year ago
Fenrir
35d299f6be
Support static inline functions in ctru-sys
1 year ago
Andrea Ciliberti
acb1d3fbb8
Finalize Mii module
1 year ago
Andrea Ciliberti
ccb0676f3c
More generic doc changes
1 year ago
Andrea Ciliberti
3d3a59a084
Finalize CAM service
1 year ago
Andrea Ciliberti
ef4860cf69
Finalize NDSP and Wave
1 year ago