aboutsummaryrefslogtreecommitdiff
path: root/src/core
AgeCommit message (Collapse)Author
2018-07-19fsp_srv: Add missing includesLioncash
Gets rid of relying on indirect inclusions.
2018-07-19fsp_srv: Resolve sign-mismatch warnings in assertion comparisonsLioncash
2018-07-19fsp_srv: Respect write length in Write()Lioncash
Previously we were just copying the data whole-sale, even if the length was less than the total data size. This effectively makes the actual_data vector useless, which is likely not intended. Instead, amend this to only copy the given length amount of data. At the same time, we can avoid zeroing out the data before using it by passing iterators to the constructor instead of a size.
2018-07-18Merge pull request #692 from lioncash/assignbunnei
address_arbiter: Correct assignment within an assertion statement in WakeThreads()
2018-07-18Merge pull request #690 from lioncash/movebunnei
core/memory, core/hle/kernel: Use std::move where applicable
2018-07-18savedata_factory: Make SaveDataDescriptor's DebugInfo() function a const ↵Lioncash
member function This function doesn't alter class state.
2018-07-18partition_filesystem: Ensure all class members of PartitionFilesystem are ↵Lioncash
initialized Previously is_hfs and pfs_header members wouldn't be initialized in the constructor, as they were stored in locals instead. This would result in things like GetName() and PrintDebugInfo() behaving incorrectly. While we're at it, initialize the members to deterministic values as well, in case loading ever fails.
2018-07-18content_archive: Make IsDirectoryExeFS() take a shared_ptr as a const referenceLioncash
There's no need to take this by value when it's possible to avoid unnecessary copies entirely like this.
2018-07-18content_archive: Add missing standard includesLioncash
2018-07-18content_archive: std::move VirtualFile in NCA's constructorLioncash
Gets rid of unnecessary atomic reference count incrementing and decrementing.
2018-07-18vfs: Deduplicate accumulation code in VfsDirectory's GetSize()Lioncash
We can just use a generic lambda to avoid writing the same thing twice.
2018-07-18Merge pull request #691 from lioncash/guardbunnei
service/prepo: Add missing header guard
2018-07-18loader/nro: Resolve sign mismatch warningsLioncash
2018-07-18loader/nso: Remove unnecessary vector resizesLioncash
We can just initialize these vectors directly via their constructor.
2018-07-18loader/nso: Resolve sign mismatch warningsLioncash
2018-07-18Merge pull request #688 from lioncash/commabunnei
vm_manager: Add missing commas to string literal array elements in GetMemoryStateName()
2018-07-18Merge pull request #693 from lioncash/unusedbunnei
core/memory: Remove unused function GetSpecialHandlers() and an unused variable in ZeroBlock()
2018-07-18Merge pull request #687 from lioncash/instancebunnei
core: Don't construct instance of Core::System, just to access its live instance
2018-07-18Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
2018-07-18core/memory: Remove unused function GetSpecialHandlers() and an unused ↵Lioncash
variable in ZeroBlock()
2018-07-18address_arbiter: Correct assignment within an assertion statement in ↵Lioncash
WakeThreads() This was introduced within 4f81bc4e1bd12e4df7410c6790ba818d8dbba9c0, and considering there's no comment indicating that this is intentional, this is very likely a bug.
2018-07-18service/prepo: Add missing header guardLioncash
2018-07-18vm_manager: Add missing commas to string literal array elements in ↵Lioncash
GetMemoryStateName() Without these, this would perform concatenation, which is definitely not what we want here.
2018-07-18core/memory, core/hle/kernel: Use std::move where applicableLioncash
Avoids pointless copies
2018-07-18core: Make System's default constructor privateLioncash
This makes it a compilation error to construct additional instances of the System class directly, preventing accidental wasteful constructions over and over.
2018-07-18core: Don't construct instance of Core::System, just to access its live instanceLioncash
This would result in a lot of allocations and related object construction, just to toss it all away immediately after the call. These are definitely not intentional, and it was intended that all of these should have been accessing the static function GetInstance() through the name itself, not constructed instances.
2018-07-18Fill in more fields in TouchScreenEntryTouchZach Hilman
2018-07-18Single touch supportZach Hilman
2018-07-17vi: Change TransactionId::CancelBuffer to LOG_CRITICAL.bunnei
2018-07-17vi: Fix size for ListDisplays default display.bunnei
2018-07-17vi: Partially implement buffer crop parameters.bunnei
2018-07-17General Filesystem and Save Data Fixes (#670)Zach Hilman
2018-07-17Merge pull request #671 from MerryMage/clear-exclusive-statebunnei
scheduler: Clear exclusive state when switching contexts
2018-07-17Merge pull request #672 from SciresM/to_address_fixbunnei
svc:: Fix bug in svcWaitForAddress
2018-07-17nvflinger: Fix for BufferQueue event handling.bunnei
2018-07-16Kernel/Arbiter: Fix bug in WaitIfLessThanMichael Scire
2018-07-16scheduler: Clear exclusive state when switching contextsMerryMage
2018-07-15HID: Update controllers less oftenJames Rowe
2018-07-14Merge pull request #663 from Subv/bsdbunnei
Services/BSD: Corrected the return for StartMonitoring according to SwIPC
2018-07-14Merge pull request #662 from Subv/delete_filebunnei
FileSys: Append the requested path to the filesystem base path in DeleteFile
2018-07-14Services/BSD: Corrected the return for StartMonitoring according to SwIPC.Subv
2018-07-14FileSys: Append the requested path to the filesystem base path in DeleteFile.Subv
We were trying to delete things in the current directory instead of the actual filesystem directory. This may fix some savedata issues in some games.
2018-07-14No need to use ASSERT_MSG with an empty messageDavid Marcec
2018-07-12More improvements to GDBStub (#653)Hedges
* More improvements to GDBStub - Debugging of threads should work correctly with source and assembly level stepping and modifying registers and memory, meaning threads and callstacks are fully clickable in VS. - List of modules is available to the client, with assumption that .nro and .nso are backed up by an .elf with symbols, while deconstructed ROMs keep N names. - Initial support for floating point registers. * Tidy up as requested in PR feedback * Tidy up as requested in PR feedback
2018-07-13We only need to alert for memory pool changesDavid Marcec
2018-07-13initialized voice status and unused sizes in the update data headerDavid Marcec
2018-07-12Merge pull request #648 from ogniK5377/no-netbunnei
Let games/application know that we're offline
2018-07-12Audout "Auto" functionsDavid Marcec
Audout autos are identical to their counterpart except for the buffer type which yuzu already handles for us.
2018-07-12Added IsWirelessCommunicationEnabled, IsEthernetCommunicationEnabled, ↵David Marcec
IsAnyInternetRequestAccepted Since we have no socket implementation we should be returning 0 to indicate we're currently offline.
2018-07-11Merge pull request #559 from Subv/mount_savedatabunnei
Services/FS: Return the correct error code when trying to mount a nonexistent savedata.