Ian Chamberlain
0326e9ea9d
Address review comments for Debug impl
3 years ago
Meziu
9f0984a455
Merge pull request #37 from AzureMarker/fix/unused-screen
3 years ago
AzureMarker
aebf347a00
Fix clippy warning about unused screen field
3 years ago
AzureMarker
5c5ac7ef66
Ignore IDE files
3 years ago
AzureMarker
4dd2196971
Add a basic futures example
3 years ago
Ian Chamberlain
92c37b00b7
Add translations of result macros + debug impl
3 years ago
Meziu
b0e73b98ef
Merge pull request #33 from AzureMarker/update/libc
3 years ago
Meziu
8ba1bb28fd
Merge pull request #29 from ian-h-chamberlain/example/graphics-bitmap
3 years ago
AzureMarker
1402dacc5f
Update libc to the upstream
...
Our PR merged.
3 years ago
Ian Chamberlain
9aac807407
Address review comments
...
Keep RawFrameBuffer alive as long as the Screen is, to ensure the Gfx is
not dropped while the FrameBuffer is alive.
3 years ago
Meziu
e98b0a97aa
Merge pull request #28 from Meziu/fix/new-panic-exit
3 years ago
Ian Chamberlain
98e026373e
Use a struct to represent the raw frame buffer
...
I chose the name RawFrameBuffer in case we'd like to provide a "safer"
alternative API at some point.
3 years ago
Andrea Ciliberti
9ea0232902
Removed ANSI formatting from panic hook
3 years ago
Meziu
038ed7b248
Merge pull request #30 from AzureMarker/tweak/file-explorer-improvements
3 years ago
Ian Chamberlain
be94b04d1d
Use better image conversion command
...
This looks more correct on the device to my eye and is a bit simpler.
3 years ago
AzureMarker
d3df72e22f
Prevent popping the last segment of a path (ex. / or romfs:/)
3 years ago
AzureMarker
f87e2ad0f7
Move romfs folder into examples folder
3 years ago
Ian Chamberlain
be4784e3bc
Use bottom-only framebuffer API for "left"
3 years ago
Ian Chamberlain
793a95073b
First pass of graphics bitmap example
3 years ago
Andrea Ciliberti
ea80b57880
Added check for Console existence on panic
3 years ago
Meziu
1b743711d8
Update ctru-rs/src/lib.rs
...
Co-authored-by: Ian Chamberlain <ian-h-chamberlain@users.noreply.github.com>
3 years ago
Andrea Ciliberti
aa2ca2c486
Fixed merge conflict
3 years ago
Andrea Ciliberti
32d17e552a
Distinct behaviour for main and non-main threads
3 years ago
Andrea Ciliberti
85f901f36e
Alternative panic hook exit
3 years ago
Meziu
1eedd96ea0
Merge pull request #27 from ian-h-chamberlain/example/time-rtc
...
Update time_rtc example to use `time` crate
3 years ago
Ian Chamberlain
71f1d2fc83
Merge branch 'master' into example/time-rtc
3 years ago
Ian Chamberlain
5d86cfb007
Update time_rtc example to use `time` crate
3 years ago
Andrea Ciliberti
5bdb0a4db1
Added thread-basic example
3 years ago
Andrea Ciliberti
fe7dd31294
Renamed time-rtc example
3 years ago
Meziu
09bfe7aa61
Merge pull request #14 from AzureMarker/feature/file-system
3 years ago
Meziu
04eb6a5848
Merge pull request #23 from ian-h-chamberlain/example/time-rtc
3 years ago
AzureMarker
1c66a1c770
Use cfg-if
3 years ago
AzureMarker
4b95068fac
Remove the sdmc module
...
The SD card is automatically mounted by libctru on startup, so this
isn't needed anymore.
3 years ago
Ian Chamberlain
7913f83935
Merge branch 'example/time-rtc' of github.com:ian-h-chamberlain/ctru-rs into example/time-rtc
3 years ago
Ian Chamberlain
03678e0e95
Update example for Console API change
3 years ago
Ian Chamberlain
aaca346f38
Merge branch 'master' into example/time-rtc
3 years ago
Ian Chamberlain
b504b6f988
Address PR comments
3 years ago
AzureMarker
39de31a662
Support conditional compilation of RomFS
...
If the user tries to open the RomFS when one has not been added, it will
result in a segfault (libctru doesn't verify the RomFS actually is
configured). This avoids that scenario when used in conjunction with
cargo-3ds.
An alternative approach would be to do as libctru does and read the 3dsx
file header, and use that to determine if RomFS is enabled at runtime.
This would require more code, but it would be more accurate and
compatible (wouldn't require a tool like cargo-3ds to ensure the RomFS
is added).
3 years ago
AzureMarker
1e7326b32b
Add RomFS support to the file-explorer example (by jumping to romfs:/)
3 years ago
AzureMarker
07ed1dc196
Add basic RomFS support
...
Seems to crash the 3DS if there is no actual RomFS data in the 3dsx
file, so there's room for improvement.
3 years ago
AzureMarker
ea4410a0c4
Make standard gfx calls on every frame in file-explorer
3 years ago
AzureMarker
a2b646a4b8
Merge branch 'master' into feature/file-system
3 years ago
Meziu
9a0b2b4255
Merge pull request #22 from Meziu/mut-gfx
3 years ago
Andrea Ciliberti
366db9e046
Fixed clippy suggestions
3 years ago
AzureMarker
564d75e518
Add file-explorer example to test file system via std
...
Note: there's some issue in release mode causing a segfault.
Currently investigating.
3 years ago
Andrea Ciliberti
2bc475db68
Formatting
3 years ago
Andrea Ciliberti
29b7a7d08d
Added network-sockets example
3 years ago
Andrea Ciliberti
46a615cae5
Substituted hello-world example
3 years ago
Andrea Ciliberti
4a48926ee6
gfx-wide-mode example working
3 years ago
Andrea Ciliberti
38fef16309
Simple examples working with new Screen impl
3 years ago