Commit graph

39 commits

Author SHA1 Message Date
wheremyfoodat
65de2637ae More threading fixes 2023-08-01 23:45:43 +03:00
wheremyfoodat
fbc10bf3da Fix typo 2023-07-29 15:10:06 +03:00
wheremyfoodat
8dd5b990be Thread bonk part 1: Better rescheduling maybe 2023-07-28 19:49:11 +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
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
wheremyfoodat
74b06da6b2 [Kernel] Handle timeout errors properly 2023-04-30 14:41:57 +03:00
wheremyfoodat
5e0c4b76ac [WaitSyncN] r1 should be -1 on timeout 2023-04-30 01:22:43 +03:00
wheremyfoodat
1d06a31113 [Kernel::WaitSyncN] Panic on handleCount == 0 2023-04-30 01:02:35 +03:00
wheremyfoodat
3529c9bf67 [Kernel] Fix spontaneous r0 corruption 2023-04-24 23:10:04 +03:00
wheremyfoodat
3ed3729bb4 Reschedule threads on event signal (Required for FE:A FMV) 2023-04-24 00:53:46 +03:00
wheremyfoodat
908e1fc4fd [DSP] Add event stubs to fix games locking up 2023-04-22 20:59:34 +03:00
wheremyfoodat
91e008ad1d [Kernel] New event signalling, better Mootex 2023-04-21 21:39:59 +03:00
wheremyfoodat
5daade05d8 [GSP] Add interrupt relay event 2023-04-21 02:27:28 +03:00
wheremyfoodat
33158c7908 [Kernel] Make WaitSyncN better 2023-04-21 01:08:13 +03:00
wheremyfoodat
134d63c515 [Kernel] Moar threads 2023-04-20 22:00:51 +03:00
wheremyfoodat
920fd4cf0d [Kernel::WaitSync1] Instant timeout if ns == 0 2023-04-20 02:48:57 +03:00
wheremyfoodat
c6c45408fe Starting on sync object rewrite #3 2023-04-18 03:14:25 +03:00
wheremyfoodat
1730ab9734 Stub AM::GetDLCTitleInfo got PMD: Gates to Infinity 2023-01-13 23:41:20 +02:00
wheremyfoodat
400db8ef0a [APT] Some hacks 2023-01-05 21:10:35 +02:00
wheremyfoodat
ca4726aba1 More thread work 2022-12-07 02:08:18 +02:00
wheremyfoodat
7b8cac8d43 Semaphores v0.1 2022-11-17 22:14:56 +02:00
wheremyfoodat
3c55d88fab [Kernel & APT] Mutexes v0.1 2022-11-17 00:29:02 +02:00
wheremyfoodat
41e01bbdd4 Sync objects 0.1 2022-11-16 22:02:52 +02:00
wheremyfoodat
2a4709dcfa [Kernel] Implement thread sleeping 2022-10-11 22:45:25 +03:00
wheremyfoodat
e02ef8a213 [Kernel] Implement GetHeadphoneStatus, stub SignalEvent 2022-10-10 23:08:43 +03:00
wheremyfoodat
6c3acda34e [Kernel] Implement ArbitrationType::DecrementAndWaitIfLess 2022-10-10 16:57:33 +03:00
wheremyfoodat
81b0f3dde0 [Kernel] Much better arbiter & thread scheduling impl 2022-10-10 16:41:08 +03:00
wheremyfoodat
cd13ba6271 [Kernel/APT] Stub some APT and threading stuff to make OoT go further 2022-10-09 18:59:54 +03:00
wheremyfoodat
be4fae5104 Trongle 2022-09-24 02:45:57 +03:00
wheremyfoodat
2088b59f10 [GPU::GSP] Send VBlank1 alongside VBlank0 2022-09-21 00:33:05 +03:00
wheremyfoodat
3ccba6db40 [GSP::GPU] We can now request interrupts 2022-09-20 23:22:35 +03:00
wheremyfoodat
d3a2591d19 [Kernel] Implement ClearEvent, stub WaitSynchronization1 2022-09-20 19:02:52 +03:00
wheremyfoodat
11d8a43bd8 [Kernel] More address arbiter stuff 2022-09-20 01:30:45 +03:00
wheremyfoodat
8bfa29568a [Kernel] Start implementing address arbiters 2022-09-20 00:53:39 +03:00
wheremyfoodat
f100601caf [Kernel] More cleanup 2022-09-19 23:27:54 +03:00
wheremyfoodat
ad07c70772 [Kernel] Cleaning up 2022-09-19 22:19:36 +03:00
wheremyfoodat
a5384095df Fix GSP::GPU::RegisterInterruptRelayQueue and add ResetType defs 2022-09-18 19:08:16 +03:00
wheremyfoodat
a91035abf4 Initial impl for createEvent SVC 2022-09-18 18:17:41 +03:00