aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle
AgeCommit message (Collapse)Author
2018-08-07nvflinger: Correct typo in name of composition eventLioncash
2018-08-06kernel/event: Make data members privateLioncash
Instead we can simply provide accessors to the required data instead of giving external read/write access to the variables directly.
2018-08-06Service/Audio: audout_a.cpp: remove pragma oncemailwl
2018-08-05Merge pull request #930 from lioncash/threadbunnei
address_arbiter: Return by value from GetThreadsWaitingOnAddress()
2018-08-05Merge pull request #925 from bunnei/audrenbunnei
Implement audren audio output
2018-08-05Merge pull request #912 from lioncash/global-varbunnei
video_core: Eliminate the g_renderer global variable
2018-08-05address_arbiter: Return by value from GetThreadsWaitingOnAddress()Lioncash
In all cases the vector being supplied is empty, so we can just return by value in these instances.
2018-08-04audio_core: Implement audren_u audio playback.bunnei
2018-08-04Merge pull request #924 from lioncash/arpbunnei
service: Add arp services
2018-08-04audio_core: Use s16 where possible for audio samples.bunnei
2018-08-04audio_core: Port codec code from Citra for ADPCM decoding.bunnei
2018-08-04service: Add arp servicesLioncash
Adds the basic skeleton of the arp services based off the information provided by Switch Brew.
2018-08-04service: Remove redundant #pragma once directivesLioncash
These don't do anything within .cpp files (we don't include cpp files, so...)
2018-08-04audio_core: Streams need unique names for CoreTiming.bunnei
2018-08-04renderer_base: Make Rasterizer() return the rasterizer by referenceLioncash
All calling code assumes that the rasterizer will be in a valid state, which is a totally fine assumption. The only way the rasterizer wouldn't be is if initialization is done incorrectly or fails, which is checked against in System::Init().
2018-08-04video_core: Eliminate the g_renderer global variableLioncash
We move the initialization of the renderer to the core class, while keeping the creation of it and any other specifics in video_core. This way we can ensure that the renderer is initialized and doesn't give unfettered access to the renderer. This also makes dependencies on types more explicit. For example, the GPU class doesn't need to depend on the existence of a renderer, it only needs to care about whether or not it has a rasterizer, but since it was accessing the global variable, it was also making the renderer a part of its dependency chain. By adjusting the interface, we can get rid of this dependency.
2018-08-04Merge pull request #914 from lioncash/codesetbunnei
kernel/process: Use accessors instead of class members for referencing segment array
2018-08-03kernel/thread: Fix potential crashes introduced in ↵Lioncash
26de4bb521b1ace7af76eff4f6956cb23ac0d58c This amends cases where crashes can occur that were missed due to the odd way the previous code was set up (using 3DS memory regions that don't exist).
2018-08-03kernel/process: Use std::array where applicableLioncash
2018-08-03kernel/process: Use accessors instead of class members for referencing ↵Lioncash
segment array Using member variables for referencing the segments array increases the size of the class in memory for little benefit. The same behavior can be achieved through the use of accessors that just return the relevant segment.
2018-08-03Merge pull request #908 from lioncash/memorybunnei
core/memory: Get rid of 3DS leftovers
2018-08-03core/memory: Get rid of 3DS leftoversLioncash
Removes leftover code from citra that isn't needed.
2018-08-03Added ability to change username & language code in the settings ui. Added ↵David
IProfile::Get and SET::GetLanguageCode for libnx tests (#851)
2018-08-03Merge pull request #898 from lioncash/migbunnei
service: Add migration services
2018-08-03Merge pull request #894 from lioncash/objectbunnei
kernel: Move object class to its own source files
2018-08-03Merge pull request #904 from lioncash/staticbunnei
kernel/thread: Minor changes
2018-08-02Merge pull request #905 from lioncash/vmabunnei
kernel/vm_manager: Minor changes
2018-08-02Merge pull request #891 from lioncash/nsbunnei
service/ns: Add missing ns services
2018-08-02kernel/vm_manager: Convert loop into std::any_of()Lioncash
2018-08-02kernel/vm_manager: Use const where applicableLioncash
Makes our immutable state explicit.
2018-08-02kernel/vm_manager: Use the VAddr type alias in CarveVMA()Lioncash
These two variables correspond to address ranges.
2018-08-02kernel/thread: Make GetFreeThreadLocalSlot()'s loop indices size_tLioncash
Avoids using a u32 to compare against a range of size_t, which can be a source of warnings. While we're at it, compress a std::tie into a structured binding.
2018-08-02kernel/thread: Make GetFreeThreadLocalSlot() reference parameter a const ↵Lioncash
reference This function only reads the data being referenced, it doesn't modify it, so we can turn the reference into a const reference.
2018-08-02kernel/thread: Make GetFreeThreadLocalSlot() internally linkedLioncash
This function isn't used outside of this translation unit, so we can make it internally linked.
2018-08-02service: Add migration servicesLioncash
Adds the basic skeleton for the mig:usr service based off information provided by Switch Brew.
2018-08-01kernel: Move object class to its own source filesLioncash
General moving to keep kernel object types separate from the direct kernel code. Also essentially a preliminary cleanup before eliminating global kernel state in the kernel code.
2018-08-01service: Add psc servicesLioncash
Adds the basic skeleton for the psc services based off the information provided by Switch Brew.
2018-08-01Merge pull request #888 from lioncash/capsbunnei
service: Add capture services
2018-08-01Merge pull request #890 from lioncash/loggerbunnei
lm: Amend name of ILogger
2018-08-01Merge pull request #889 from lioncash/fspbunnei
service/filesystem: Add fsp:ldr and fsp:pr services
2018-08-01service/ns: Add missing ns servicesLioncash
Implements the basic skeleton of ns:am2, ns:ec, ns:rid, ns:rt, ns:su, ns:vm, and ns:web based off the information provided by Switch Brew and SwIPC.
2018-08-01lm: Amend name of ILoggerLioncash
Previously this was being registered with the name "Logger". While we're at it, also change the name of the class to match it.
2018-08-01service/filesystem: Add fsp:ldr and fsp:pr servicesLioncash
Adds the basic skeleton for the remaining fsp services based off information provided by Switch Brew.
2018-08-01service: Add capture servicesLioncash
Adds the basic skeleton for the capture services based off information provided by Switch Brew.
2018-08-01service: Add bpc and pcv servicesLioncash
Adds the basic skeleton for the remaining pcv-related services based off information on Switch Brew.
2018-07-31kernel/thread: Remove unimplemented function prototypeLioncash
Given there's no implementation, we may as well remove the code entirely.
2018-07-31Merge pull request #877 from lioncash/removebunnei
kernel: Remove unused object_address_table.cpp/.h
2018-07-31Merge pull request #880 from lioncash/audiobunnei
service/audio: Add missing services
2018-07-31Merge pull request #876 from lioncash/includebunnei
kernel: Remove unnecessary includes
2018-07-31service/audio: Add missing servicesLioncash
Adds the missing audctl service, as well as the :a and :d services for audin, audout, audrec, and audren.