wheremyfoodat
dd6508eb26
Migrate shared font to cmrc
2023-08-21 14:53:50 +03:00
wheremyfoodat
8796440ae9
Add resource limit for threads to getResourceLimitLimitValues
2023-08-20 18:27:23 +03:00
wheremyfoodat
cce796ec0c
Make SendSyncRequest warn instead of panic on invalid handles
...
Some games like Arc Baseball use invalid handles...
2023-08-20 18:03:42 +03:00
wheremyfoodat
d4f074b231
Merge pull request #217 from wheremyfoodat/services
...
Add the GetThreadIdealProcessor SVC and fix UB
2023-08-20 03:58:07 +03:00
wheremyfoodat
434827e11e
Add svcGetThreadIdealProcessor
2023-08-20 03:43:26 +03:00
wheremyfoodat
574fe95bca
Add missing log
2023-08-20 02:21:05 +03:00
wheremyfoodat
8a435cc36b
Add note about default processor ID
2023-08-20 01:55:41 +03:00
wheremyfoodat
5b8bb12860
Make svcCreateThread panic with invalid IDs
2023-08-20 01:52:23 +03:00
wheremyfoodat
6895a1d9d6
Implement svcGetCurrentProcessorNumber
2023-08-20 01:51:24 +03:00
wheremyfoodat
51b2b8eee5
Make battery stuff configurable
2023-08-18 22:17:33 +03:00
wheremyfoodat
6552f2998c
OS timers part 1
2023-08-13 03:35:41 +03:00
wheremyfoodat
e2b82997ba
Add ConfigMem FIRM stuff and GetSystemInfo modes for DDLC
2023-08-11 16:37:51 +03:00
wheremyfoodat
01a7985324
[Kernel] ExitThread should release held mutexes
2023-08-10 15:11:54 +03:00
wheremyfoodat
fb8965942c
[Kernel] Implement APIs for detecting Citra & Panda
2023-08-03 11:32:51 +03:00
wheremyfoodat
8f8f442f0f
Comments
2023-08-02 19:47:13 +03:00
wheremyfoodat
3d5f1ea517
[Kernel] Add evalReschedule function
2023-08-02 19:18:15 +03:00
wheremyfoodat
60de6a65f5
Kernel: Don't idle on svcSleepThread(0)
2023-08-02 18:52:52 +03:00
wheremyfoodat
65de2637ae
More threading fixes
2023-08-01 23:45:43 +03:00
wheremyfoodat
7047bf6ec8
[Mutex[ Request reschedule when acquiring mutex
2023-07-29 15:37:34 +03:00
wheremyfoodat
fbc10bf3da
Fix typo
2023-07-29 15:10:06 +03:00
wheremyfoodat
2eb84e053b
[Kernel] Undo enormous, embarassing mistake no one must know about
2023-07-29 15:03:46 +03:00
wheremyfoodat
e082625002
Properly handle current thread in rescheduling
2023-07-28 20:05:26 +03:00
wheremyfoodat
8dd5b990be
Thread bonk part 1: Better rescheduling maybe
2023-07-28 19:49:11 +03:00
wheremyfoodat
ed1b0704d6
Merge pull request #111 from wheremyfoodat/dynapand
...
Filesystem bonking
2023-07-18 01:26:17 +03:00
wheremyfoodat
cdf01aaf43
[FS::Directory] Better attribute handling
2023-07-17 03:22:13 +03:00
wheremyfoodat
22bfb092b8
Fix 8.3 conversion derp
2023-07-17 03:11:21 +03:00
wheremyfoodat
f08fe10862
[FS::Dir] Fix command response headers
2023-07-17 02:58:55 +03:00
wheremyfoodat
50742f7bb1
[FS] Proper 8.3 filename conversion hopefully
2023-07-17 02:54:05 +03:00
wheremyfoodat
0b7e63c5b6
Fix resetting v2
2023-07-15 01:26:46 +03:00
wheremyfoodat
2cd03e905d
Fix resetting
2023-07-14 18:03:25 +03:00
Merry
bf93097d62
kernel: Delete object properly in deleteObjectData
...
delete-ing a void* is undefined behaviour
2023-07-14 15:00:54 +01:00
wheremyfoodat
f64c662ab9
Stop lying to people
2023-07-13 00:25:47 +03:00
wheremyfoodat
3a1a612e8b
Merge branch 'master' into dynapand
2023-07-12 21:34:29 +03:00
wheremyfoodat
42c86ac541
Better FS::ReadDirectory
2023-07-12 21:33:13 +03:00
wheremyfoodat
e958a360ae
typo
2023-07-12 01:27:42 +03:00
Wunkolo
37b75f0928
Fix C4267
/C4244
warnings
...
Address warnings involving lossy conversions from larger integer-types into smaller integer-types
2023-07-10 12:33:37 -07:00
wheremyfoodat
8b0a3e372e
Make unknown memory operations warn instead of panic
2023-07-04 01:39:46 +03:00
wheremyfoodat
0f64101ee5
Merge pull request #64 from wheremyfoodat/dynapica
...
Separate user and dev builds
2023-07-03 14:12:01 +03:00
wheremyfoodat
d5d8f869e4
Update idle_thread.cpp
2023-07-02 23:00:15 +03:00
wheremyfoodat
0b2ff6c5c8
Separate user and dev builds
2023-07-02 22:36:45 +03:00
Sky
e9b3b7c2a2
Add workaround helper for bit_cast and missing #include <bit>
...
Allows compilation on native macOS build system.
2023-06-18 12:33:34 -07:00
wheremyfoodat
d0ae5f0546
Merge pull request #37 from marysaka/feat/proper-hle-result
...
hle: Add proper type for result code
2023-06-17 18:39:36 +03:00
Mary
122b1b2727
hle: Add proper type for result code
...
This should clean up all HLE errorcode in the codebase.
I didn't removed Rust::Result as this should be a cleanup for another
iteration.
2023-06-16 20:09:37 +02:00
Wunkolo
fde93381a5
Use std::span
for CPU register-state
...
Following the trend of #33 : `std::span` provides some useful utility
functions like `size_bytes()` and `as_bytes()` and serves as a better
non-owning "chunk of data"-type over just passing around an
`std::array&`.
2023-06-16 07:24:37 -07:00
wheremyfoodat
0c213900bc
[FS] Actually add FlushFile
2023-06-11 23:24:12 +03:00
wheremyfoodat
7cc7dc09f4
[FS] Implement File::Flush and fix file function headers
2023-06-03 22:25:30 +03:00
wheremyfoodat
01d16fdfd1
[FS] Better DeleteFile, fclose when file session is closed
2023-05-20 02:32:36 +03:00
wheremyfoodat
09ba66ae60
[Kernel] Fully implement semaphores
2023-05-07 18:02:51 +03:00
wheremyfoodat
de537fedfb
[Kernel] Add proper WakeUpAllThreads
2023-05-06 00:06:31 +03:00
wheremyfoodat
3b98b6bd03
Moar
2023-05-01 00:28:41 +03:00