aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle
AgeCommit message (Collapse)Author
2018-07-19fsp_srv: Remove unnecessary std::vector construction in IDirectory's Read() ↵Lioncash
function We were using a second std::vector as a buffer to convert another std::vector's data into a byte sequence, however we can just use pointers to the original data and use them directly with WriteBuffer, which avoids copying the data at all into a separate std::vector. We simply cast the pointers to u8* (which is allowed by the standard, given std::uint8_t is an alias for unsigned char on platforms that we support).
2018-07-19filesystem: std::move VirtualDir instance in VfsDirectoryServiceWrapper's ↵Lioncash
constructor Avoids unnecessary atomic reference count incrementing and decrementing
2018-07-19filesystem: Use std::string's empty() function instead of comparing against ↵Lioncash
a literal This is simply a basic value check as opposed to potentially doing string based operations (unlikely, but still, avoiding it is free).
2018-07-19filesystem: Remove pragma disabling global optimizationsLioncash
This was just an artifact missed during PR review.
2018-07-19fsp_srv: Make IStorage constructor explicitLioncash
Prevents implicit conversions.
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-18Merge pull request #691 from lioncash/guardbunnei
service/prepo: Add missing header guard
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 #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-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: 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-14Services/BSD: Corrected the return for StartMonitoring according to SwIPC.Subv
2018-07-14No need to use ASSERT_MSG with an empty messageDavid Marcec
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.
2018-07-10hid: Fix timestamps and controller type.bunnei
- This fixes user input in SMO.
2018-07-10NvOsGetConfigU32 production implDavid Marcec
Settings are only used when RMOS_SET_PRODUCTION_MODE is set to 0. If production mode is set, the error code 0x30006 is returned instead
2018-07-08nvhost_ctrl: Fix NvOsGetConfigU32 for Snipper Clips.bunnei
2018-07-07Revert "Virtual Filesystem (#597)"bunnei
This reverts commit 77c684c1140f6bf3fb7d4560d06d2efb1a2ee5e2.
2018-07-06Virtual Filesystem (#597)Zach Hilman
* Add VfsFile and VfsDirectory classes * Finish abstract Vfs classes * Implement RealVfsFile (computer fs backend) * Finish RealVfsFile and RealVfsDirectory * Finished OffsetVfsFile * More changes * Fix import paths * Major refactor * Remove double const * Use experimental/filesystem or filesystem depending on compiler * Port partition_filesystem * More changes * More Overhaul * FSP_SRV fixes * Fixes and testing * Try to get filesystem to compile * Filesystem on linux * Remove std::filesystem and document/test * Compile fixes * Missing include * Bug fixes * Fixes * Rename v_file and v_dir * clang-format fix * Rename NGLOG_* to LOG_* * Most review changes * Fix TODO * Guess 'main' to be Directory by filename
2018-07-03Update AudioRenderer Voice Sections (#614)David
* voice section updating * fixed slight offset miscalculation * fixed overflow
2018-07-02Update clang formatJames Rowe
2018-07-02Rename logging macro back to LOG_*James Rowe
2018-07-01GPU: Remove a surface from the cache when its backing memory is being ↵Subv
unmapped from the GPU's MMU.
2018-07-01nvmap: Return the address of the nvmap object when Freeing it for the last time.Subv
This behavior is confirmed by reverse engineering.