summaryrefslogtreecommitdiff
path: root/src/core (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | Merge pull request #955 from lioncash/viewGravatar bunnei2018-08-072-3/+10
|\ \ \ | | | | | | | | nvflinger: Use std::string_view in OpenDisplay()
| * | | nvflinger: Get rid of indirect inclusionsGravatar Lioncash2018-08-072-1/+7
| | | |
| * | | nvflinger: Use std::string_view in OpenDisplay()Gravatar Lioncash2018-08-072-2/+3
| |/ / | | | | | | | | | | | | | | | We don't need to use a std::string here, given all that's done is comparing the character sequence against another. This allows passing regular const char* without needing to heap allocate.
* | | Merge pull request #953 from lioncash/timeGravatar bunnei2018-08-071-2/+2
|\ \ \ | | | | | | | | service/time: Amend command IDs of ToPosixTime() and ToPosixTimeWithMyRule()
| * | | service/time: Amend command IDs of ToPosixTime() and ToPosixTimeWithMyRule()Gravatar Lioncash2018-08-071-2/+2
| |/ / | | | | | | | | | Updates the ID of these based off the information on Switch Brew.
* | | Merge pull request #956 from lioncash/nvGravatar bunnei2018-08-0713-16/+18
|\ \ \ | | | | | | | | nvdrv: Get rid of indirect inclusions
| * | | nvdrv: Make Ioctl()'s definition match its prototypeGravatar Lioncash2018-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | The only reason this wasn't a compilation error is because we use little-endian systems.
| * | | nvdrv: Get rid of indirect inclusionsGravatar Lioncash2018-08-0712-15/+17
| |/ /
* | | Merge pull request #952 from lioncash/usbGravatar bunnei2018-08-074-0/+257
|\ \ \ | | | | | | | | service: Add usb services
| * | | service: Add usb servicesGravatar Lioncash2018-08-074-0/+257
| |/ / | | | | | | | | | Adds basic skeleton for the usb services based off the information provided by Switch Brew.
* | | Merge pull request #949 from lioncash/privGravatar bunnei2018-08-073-7/+21
|\ \ \ | | | | | | | | client_port: Make all data members private
| * | | client_port: Make all data members privateGravatar Lioncash2018-08-063-7/+21
| |/ / | | | | | | | | | | | | | | | | | | | | | These members don't need to be entirely exposed, we can instead expose an API to operate on them without directly needing to mutate them We can also guard against overflow/API misuse this way as well, given active_sessions is an unsigned value.
* / / loader: Fix scope error in DeconstructedRomDirectoryGravatar Zach Hilman2018-08-071-1/+1
|/ /
* | Merge pull request #931 from DarkLordZach/nca-as-drdGravatar bunnei2018-08-064-37/+24
|\ \ | | | | | | loader: Make AppLoader_NCA rely on directory loading code
| * | loader: Make AppLoader_NCA rely on directory loading codeGravatar Zach Hilman2018-08-054-37/+24
| | | | | | | | | Eliminates duplicate code shared between their Load methods, after all the only difference is how the romfs is handled.
* | | GDBStub works with both Unicorn and Dynarmic now (#941)Gravatar Hedges2018-08-064-2/+26
| | | | | | | | | | | | | | | | | | * GDBStub works with both Unicorn and Dynarmic now * Tidy up
* | | Merge pull request #940 from lioncash/privateGravatar bunnei2018-08-061-4/+8
|\ \ \ | | | | | | | | kernel/event: Make data members private
| * | | kernel/event: Make data members privateGravatar Lioncash2018-08-061-4/+8
| | | | | | | | | | | | | | | | | | | | Instead we can simply provide accessors to the required data instead of giving external read/write access to the variables directly.
* | | | Merge pull request #934 from lioncash/chronoGravatar bunnei2018-08-064-16/+16
|\ \ \ \ | |/ / / |/| | | core_timing: Make GetGlobalTimeUs() return std::chrono::microseconds
| * | | perf_stats: Correct literal used for MAX_LAG_TIME_USGravatar Lioncash2018-08-051-2/+2
| | | | | | | | | | | | | | | | | | | | ms is shorthand for milliseconds, not microseconds, and given there's no comment indicating that this was intentional, it probably wasn't.
| * | | core_timing: Make GetGlobalTimeUs() return std::chrono::microsecondsGravatar Lioncash2018-08-054-14/+14
| |/ / | | | | | | | | | | | | Enforces the time unit being returned and also allows using the standard time utilities to manipulate it.
* | | Merge pull request #933 from lioncash/memoryGravatar bunnei2018-08-061-12/+11
|\ \ \ | | | | | | | | memory: Correct prototype of ZeroBlock
| * | | memory: Make prototype parameter names match their definitionsGravatar Lioncash2018-08-051-5/+5
| | | | | | | | | | | | | | | | Keeps the code consistent.
| * | | memory: Correct prototype of ZeroBlockGravatar Lioncash2018-08-051-1/+1
| | | | | | | | | | | | | | | | | | | | Previously, the prototype wasn't matching the definition, which has a Processor parameter before the destination address.
| * | | memory: Remove unnecessary const qualifiers in prototypesGravatar Lioncash2018-08-051-9/+8
| |/ / | | | | | | | | | | | | These aren't necessary, as value-wise const only matters in the definition.
* | | Service/Audio: audout_a.cpp: remove pragma onceGravatar mailwl2018-08-061-2/+0
| | |
* | | Merge pull request #932 from lioncash/funcGravatar bunnei2018-08-052-9/+9
|\ \ \ | | | | | | | | core_timing: Use transparent functors where applicable
| * | | core_timing: Convert typedef into a type aliasGravatar Lioncash2018-08-051-4/+4
| | | | | | | | | | | | | | | | Makes the alias a little more readable from left-to-right.
| * | | core_timing: Use transparent functors where applicableGravatar Lioncash2018-08-051-5/+5
| |/ / | | | | | | | | | | | | | | | Gets rid of the need to hardcode the type in multiple places. This will now be deduced automatically, based off the elements in the container being provided to the algorithm.
* | | Merge pull request #929 from lioncash/addrGravatar bunnei2018-08-052-83/+89
|\ \ \ | | | | | | | | gdbstub: Minor changes
| * | | gdbstub: Use type alias for breakpoint mapsGravatar Lioncash2018-08-051-37/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than having to type out the full std::map type signature, we can just use a straightforward alias. While we're at it, rename GetBreakpointList to GetBreakpointMap, which makes the name more accurate. We can also get rid of unnecessary u64 static_casts, since VAddr is an alias for a u64.
| * | | gdbstub: Move all file-static variables into the GDBStub namespaceGravatar Lioncash2018-08-051-35/+36
| | | | | | | | | | | | | | | | | | | | Keeps everything under the same namespace. While we're at it, enclose them all within an inner anonymous namespace.
| * | | gdbstub: Replace PAddr alias with VAddrGravatar Lioncash2018-08-052-14/+14
| | | | | | | | | | | | | | | | In all cases, a virtual address is being passed in, not a physical one.
* | | | Merge pull request #930 from lioncash/threadGravatar bunnei2018-08-051-15/+15
|\ \ \ \ | | | | | | | | | | address_arbiter: Return by value from GetThreadsWaitingOnAddress()
| * | | | address_arbiter: Return by value from GetThreadsWaitingOnAddress()Gravatar Lioncash2018-08-051-15/+15
| |/ / / | | | | | | | | | | | | | | | | In all cases the vector being supplied is empty, so we can just return by value in these instances.
* | | | Merge pull request #925 from bunnei/audrenGravatar bunnei2018-08-054-233/+16
|\ \ \ \ | |_|/ / |/| | | Implement audren audio output
| * | | audio_core: Implement audren_u audio playback.Gravatar bunnei2018-08-042-218/+9
| | | |
| * | | audio_core: Use s16 where possible for audio samples.Gravatar bunnei2018-08-041-3/+3
| | | |
| * | | audio_core: Port codec code from Citra for ADPCM decoding.Gravatar bunnei2018-08-042-11/+3
| | | |
| * | | audio_core: Streams need unique names for CoreTiming.Gravatar bunnei2018-08-041-1/+1
| | |/ | |/|
* | | Merge pull request #912 from lioncash/global-varGravatar bunnei2018-08-057-27/+57
|\ \ \ | |_|/ |/| | video_core: Eliminate the g_renderer global variable
| * | renderer_base: Make Rasterizer() return the rasterizer by referenceGravatar Lioncash2018-08-043-7/+7
| | | | | | | | | | | | | | | | | | | | | 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().
| * | video_core: Eliminate the g_renderer global variableGravatar Lioncash2018-08-047-24/+54
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #924 from lioncash/arpGravatar bunnei2018-08-044-0/+95
|\ \ \ | | | | | | | | service: Add arp services
| * | | service: Add arp servicesGravatar Lioncash2018-08-044-0/+95
| | |/ | |/| | | | | | | | | | Adds the basic skeleton of the arp services based off the information provided by Switch Brew.
* | | Merge pull request #921 from lioncash/viewGravatar bunnei2018-08-045-35/+35
|\ \ \ | | | | | | | | core/crypto: Minor changes
| * | | aes_util: Add static assertion to Transcode() and XTSTranscode() to ensure ↵Gravatar Lioncash2018-08-041-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | well-defined behavior These functions should only be given trivially-copyable types.
| * | | aes_util: Make CalculateNintendoTweak() an internally linked functionGravatar Lioncash2018-08-042-12/+10
| | | | | | | | | | | | | | | | | | | | This function doesn't directly depend on class state, so it can be hidden entirely from the interface in the cpp file.
| * | | aes_util: Make Transcode() a const member functionGravatar Lioncash2018-08-042-8/+9
| | | | | | | | | | | | | | | | This doesn't modify member state, so it can be made const.
| * | | core/crypto: Remove unnecessary includesGravatar Lioncash2018-08-044-5/+5
| | | |