bunnei
048ac77adc
core: Implement separate A32/A64 ARM interfaces.
6 years ago
Morph
055ebfc2e7
AM/ICommonStateGetter: Stub SetLcdBacklighOffEnabled ( #3454 )
* Stub SetLcdBacklighOffEnabled
Used by Super Smash Bros. Ultimate
We require backlight services to be implemented to turn on/off the backlight.
* Address feedback
6 years ago
Fernando Sahmkow
d0b12c793d
Scheduler: Inline global scheduler in Scheduler Lock.
6 years ago
Fernando Sahmkow
d6584d988f
Kernel: Correct pending feedback.
6 years ago
Fernando Sahmkow
78f01601d0
Kernel: Address Feedback.
6 years ago
Fernando Sahmkow
7c2b72bcef
Kernel: Implement Scheduler locks
6 years ago
Fernando Sahmkow
fe53ac3e33
Kernel: Implement Time Manager.
6 years ago
Fernando Sahmkow
e6cc0a48e0
Kernel: Rename ThreadCallbackHandleTable and Setup Thread Ids on Kernel.
6 years ago
Fernando Sahmkow
f5da504663
Kernel: Make global scheduler depend on KernelCore
6 years ago
Brian Clinkenbeard
050a4362ad
httplib compatibility
6 years ago
CJBok
7ec4bd7793
analog_from_button get direction implementation
6 years ago
Nguyen Dac Nam
2807020c01
IUserLocalCommunicationService: add function Initialize2
6 years ago
Nguyen Dac Nam
c4e8f9589a
HLE: correct function name of IUserLocalCommunicationService
402: function name should be Initialize2 (7.0.0+) not SetOperationMode
Follow by: https://switchbrew.org/wiki/LDN_services#IUserLocalCommunicationService
6 years ago
namkazy
8bb64da7ac
nvhost_gpu: implement ChannelSetTimeslice
6 years ago
Fernando Sahmkow
0d2a459fae
Core: Address Feedback
6 years ago
Lioncash
5c0742bb94
address_arbiter: Collapse loops in InsertThread() and RemoveThread()
Same behavior, but without the need to explicitly loop through
everything manually.
6 years ago
Lioncash
3105b7864c
address_arbiter: Simplify GetThreadsWaitingOnAddress()
Simplifies the overall function and also allows for it to become a
const-qualified member function.
6 years ago
Lioncash
d5435df964
bcat/backend: Make formatting of passphrase consistent in NullBackend::SetPassphrase()
Aligns the '=' to be consistent with the rest of the logs within this
source file.
6 years ago
Lioncash
8792d4562c
bcat/backend: Prevent fmt exception in debug log within NullBackend::Clear()
A formatting specifier within Clear wasn't being used, which will cause
fmt to throw an exception. This fixes that.
6 years ago
Lioncash
750c48af18
kernel/thread: Remove trivial usages of the global system accessor
We can just use the kernel member variable directly instead of going
through the system to obtain the same thing.
6 years ago
Fernando Sahmkow
6fc0790f3a
Core: Set all hardware emulation constants in a single file.
6 years ago
Fernando Sahmkow
1ee7a4d926
Kernel: Refactor synchronization to better match RE
6 years ago
makigumo
b71b872e74
update hwopus DecodeInterleaved for FW 7.0.0+
trivial change,
see https://switchbrew.org/wiki/Audio_services#IHardwareOpusDecoder
6 years ago
Fernando Sahmkow
3a7f539463
Kernel: Change WaitObject to Synchronization object. In order to better reflect RE.
6 years ago
bunnei
3edec585bc
hle: services: Use std::shared_ptr instead of copy by value.
6 years ago
bunnei
9ffdef96d9
kernel: transfer_memory: Properly reserve and reset memory region.
6 years ago
Zach Hilman
a0400ebc19
wait_object: Make wait behavior only require one object to signal.
- This was holdover from citra.
7 years ago
bunnei
900b370e13
am: Correct IPC object count mismatch.
6 years ago
bunnei
141c06ca8b
services: am: Clear events on PopOutData and PopInteractiveOutData.
6 years ago
bunnei
b10a96347f
am: Refactor IStorage interface.
6 years ago
bunnei
0d376ae49e
applets: software_keyboard: Signal state change on end of interactive session.
6 years ago
bunnei
b1bd8d852a
applets: software_keyboard: Minor cleanup.
6 years ago
bunnei
7bdaae11ac
services: prepo: Fix IPC interface with SaveReport/SaveReportWithUser.
6 years ago
bunnei
bc76fe3100
hle_ipc: Add error checking to read/write buffer access.
6 years ago
Lioncash
371f3ecf5d
kernel/physical_core: Make use of std::unique_ptr
shared_ptr was used in 8eb175481c due to a
misunderstanding of how the language generates move constructors and
move assignment operators.
If a destructor is user-provided, then the compiler won't generate the
move constructor and move assignment operators by default--they must be
explicitly opted into.
The reason for the compilation errors is due to the fact that the
language will fall back to attempting to use the copy constructor/copy
assignment operators if the respective move constructor or move
assignment operator is unavailable.
Given that we explicitly opt into them now, the the move constructor and
move assignment operators will be generated as expected.
6 years ago
Lioncash
379194237d
kernel/physical_core: Remove unused kernel reference member variable
This isn't used within the class, so it can be removed to simplify the
overall interface.
While we're in the same area, we can simplify a unique_ptr reset() call.
6 years ago
Fernando Sahmkow
8eb175481c
System: Address Feedback
6 years ago
Fernando Sahmkow
3230cfebb7
Kernel: Remove a few global instances from the kernel.
6 years ago
Fernando Sahmkow
0a5e0d4777
Core: Refactor CpuCoreManager to CpuManager and Cpu to Core Manager.
This commit instends on better naming the new purpose of this classes.
6 years ago
Fernando Sahmkow
fb17429a0b
ArmInterface: Delegate Exclusive monitor factory to exclusive monitor interfasce.
6 years ago
Fernando Sahmkow
1c2981f6da
Core: Refactor CPU Management.
This commit moves ARM Interface and Scheduler handling into the kernel.
6 years ago
bunnei
ebb840daaf
bsd: Stub several more functions.
- Required for Little Town Hero to boot further.
6 years ago
Fernando Sahmkow
a402d6e870
Kernel: Implement Physical Core.
6 years ago
bunnei
dcd1617ee2
service: time: Implement ToPosixTimeWithMyRule.
- Used by Pokemon Mystery Dungeon.
6 years ago
bunnei
c0a7b5ee4c
time: Fix month off-by-one error.
- Fixes timestamp in ZLA and Astral Chain saves.
6 years ago
Markus Wick
4042bd107b
core/memory: Create a special MapMemoryRegion for physical memory.
This allows us to create a fastmem arena within the memory.cpp helpers.
6 years ago
Markus Wick
b18f6d19e2
core/hle: Simplify PhysicalMemory usage in vm_manager.
6 years ago
CJBok
be576083dd
Moved analog direction logic to sdl_impl
6 years ago
CJBok
5af2a8b2f6
Corrected directional states sensitivity
6 years ago
Markus Wick
2049ebc50e
core/kernel: Fix GetTotalPhysicalMemoryUsed.
module._memory was already moved over to a new shared_ptr.
So code_memory_size was not increased at all.
This lowers the heap space and so saves a bit of memory, usually between 50 to 100 MB.
This fixes a regression of b8ccd49d77
6 years ago