aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2018-07-24CMakeLists: Sort filenamesMerryMage
2018-07-24set_sys: Implement SetColorSetId()Lioncash
2018-07-24ipc_helper: Add helper member function for popping enum values to RequestParserLioncash
2018-07-23Merge pull request #793 from lioncash/privbunnei
ipc_helpers: Make member variables of ResponseBuilder private
2018-07-23Merge pull request #785 from lioncash/fsbunnei
partition_filesystem: Use std::move where applicable
2018-07-23arm_dynarmic: Make MakeJit() a const member functionLioncash
This functions doesn't modify instance state, so it can be a made a const member function.
2018-07-23core: Make converting constructors explicit where applicableLioncash
Avoids unwanted implicit conversions. Thankfully, given the large amount of cleanup in past PRs, only this tiny amount is left over to cover.
2018-07-23apm/interface: Remove redundant declaration of InstallInterfaces()Lioncash
This is already declared in apm/apm.h
2018-07-23mutex: Pass SharedPtr to GetHighestPriorityMutexWaitingThread() by referenceLioncash
The pointed to thread's members are simply observed in this case, so we don't need to copy it here.
2018-07-23VFS Regression and Accuracy Fixes (#776)Zach Hilman
* Regression and Mode Fixes * Review Fixes * string_view correction * Add operator& for FileSys::Mode * Return std::string from SanitizePath * Farming Simulator Fix * Use != With mode operator&
2018-07-23hle_ipc: Make constructors explicit where applicableLioncash
2018-07-23ipc_helpers: Make member variables of ResponseBuilder privateLioncash
These aren't used externally at all, so they can be made private.
2018-07-23Merge pull request #786 from lioncash/exclusivebunnei
exclusive_monitor: Use consistent type alias for u64
2018-07-23Merge pull request #784 from lioncash/loaderbunnei
loader: Minor cleanup
2018-07-23Merge pull request #783 from lioncash/linkerbunnei
linker: Remove unused parameter from WriteRelocations()
2018-07-23Merge pull request #782 from lioncash/filebunnei
loader/nro: Minor changes
2018-07-23Merge pull request #780 from lioncash/movebunnei
vi: Minor changes
2018-07-23Merge pull request #779 from lioncash/sharedbunnei
hle: Remove unused config_mem and shared_page source files
2018-07-23exclusive_monitor: Use consistent type alias for u64Lioncash
Uses the same type aliases we use for virtual addresses, and converts one lingering usage of std::array<uint64_t, 2> to u128 for consistency.
2018-07-23partition_filesystem: Use std::move where applicableLioncash
Avoids copying a std::string instance and avoids unnecessary atomic reference count incrementing and decrementing.
2018-07-23loader: Remove unnecessary constructor call in IdentifyFile()Lioncash
RealVfsFile inherits from VfsFile, the instance from std::make_shared is already compatible with the function argument type, making the copy constructor call unnecessary.
2018-07-23linker: Remove unused parameter from WriteRelocations()Lioncash
is_jump_relocation is never used within the function, so we can just remove it.
2018-07-23nro: Replace inclusion with a forward declarationLioncash
It's sufficient to use a forward declaration instead of a direct inclusion here.
2018-07-23nro: Make bracing consistentLioncash
Makes the code more uniform, and also braces cases where the body of an unbraced conditional travels more than one line.
2018-07-23nro: Make constructor explicitLioncash
Makes it consistent with the other Apploader constructors, and prevents implicit conversions.
2018-07-23nro: Remove unused forward declarationLioncash
This isn't used anywhere in the header.
2018-07-23Merge pull request #695 from DarkLordZach/nro-assetbunnei
NRO Assets and NACP File Format
2018-07-23vi: Add std::is_trivially_copyable checks to Read and Write functionsLioncash
It's undefined behavior to memcpy an object that isn't considered trivially copyable, so put a compile-time check in to make sure this doesn't occur.
2018-07-23vi: std::move std::vector in constructors where applicableLioncash
Allows avoiding unnecessary copies of the vector depending on the calling code. While we're at it, remove a redundant no-parameter base constructor call
2018-07-23hle: Remove config_mem.h/.cppLioncash
This is just an unused hold-over from citra, so we can get rid of this to trim off an exposed global, among other things.
2018-07-23hle: Remove shared_page.h/.cppLioncash
This is a holdover from citra that's essentially unused.
2018-07-23set: Add missing log call in GetAvailableLanguageCodeCount()Lioncash
Forgot to include this in 22f448b6327044076959e338811ee576f3dcf093
2018-07-23NRO Assets and NACP file formatZach Hilman
Cleanup Review fixes
2018-07-23Merge pull request #777 from lioncash/langbunnei
set: Amend return value of GetAvailableLanguageCodes()
2018-07-23set: Implement GetAvailableLanguageCodeCount()Lioncash
This just returns the size of the language code buffer.
2018-07-23set: Correct return code size of value in GetAvailableLanguageCodes()Lioncash
The return code should be 32-bit in size.
2018-07-22Merge pull request #774 from Subv/atomic_signalbunnei
Kernel/SVC: Perform atomic accesses in SignalProcessWideKey as per the real kernel.
2018-07-22Merge pull request #768 from lioncash/string-viewbunnei
file_util, vfs: Use std::string_view where applicable
2018-07-22Kernel/SVC: Perform atomic accesses in SignalProcessWideKey as per the real ↵Subv
kernel.
2018-07-22Implement exclusive monitorMerryMage
2018-07-22vfs: Correct file_p variable usage within InterpretAsDirectory()Lioncash
ReplaceFileWithSubdirectory() takes a VirtualFile and a VirtualDir, but it was being passed a string as one of its arguments. The only reason this never caused issues is because this template isn't instantiated anywhere yet. This corrects an issue before it occurs.
2018-07-22file_util, vfs: Use std::string_view where applicableLioncash
Avoids unnecessary construction of std::string instances where applicable.
2018-07-21file_util: Use a u64 to represent number of entriesLioncash
This avoids a truncating cast on size. I doubt we'd ever traverse a directory this large, however we also shouldn't truncate sizes away.
2018-07-21Merge pull request #760 from lioncash/pathbunnei
file_util: Use an enum class for GetUserPath()
2018-07-21GPU: Implement the NVGPU_IOCTL_CHANNEL_KICKOFF_PB ioctl2 command.Subv
This behaves quite similarly to the SubmitGPFIFO command. Referenced from Ryujinx. Many thanks to @gdkchan for investigating this!
2018-07-21file_util: Use an enum class for GetUserPath()Lioncash
Instead of using an unsigned int as a parameter and expecting a user to always pass in the correct values, we can just convert the enum into an enum class and use that type as the parameter type instead, which makes the interface more type safe. We also get rid of the bookkeeping "NUM_" element in the enum by just using an unordered map. This function is generally low-frequency in terms of calls (and I'd hope so, considering otherwise would mean we're slamming the disk with IO all the time) so I'd consider this acceptable in this case.
2018-07-21Merge pull request #754 from lioncash/partbunnei
partition_filesystem, vfs_real: Minor changes
2018-07-21Merge pull request #750 from lioncash/ctxbunnei
arm_interface: Remove unused tls_address member of ThreadContext
2018-07-21Merge pull request #755 from lioncash/ctorbunnei
file_sys/errors: Remove redundant object constructor calls
2018-07-21Merge pull request #751 from Subv/tpidr_el0bunnei
CPU: Save and restore the TPIDR_EL0 system register on every context switch