1
0
Fork 0
yuzu-mirror/src/core/hle
Lioncash 3e9b79e088 fsp_srv: Remove unnecessary std::vector construction in IDirectory's Read() 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-19 10:46:54 -04:00
..
kernel Merge pull request #692 from lioncash/assign 2018-07-18 20:56:28 -07:00
service fsp_srv: Remove unnecessary std::vector construction in IDirectory's Read() function 2018-07-19 10:46:54 -04:00
config_mem.cpp Format: Run the new clang format on everything 2018-01-20 16:45:11 -07:00
config_mem.h Format: Run the new clang format on everything 2018-01-20 16:45:11 -07:00
ipc.h add IPC CommandType & Some HID FunctionInfo (#487) 2018-05-30 14:09:21 -04:00
ipc_helpers.h ipc: Add support for PopIpcInterface() method. 2018-05-01 21:57:44 -04:00
lock.cpp Fix build on macOS and linux 2018-01-13 22:38:52 +00:00
lock.h Use recursive_mutex instead of mutex to fix #2902 2017-08-29 20:39:55 +12:00
result.h Add & correct some error modules 2018-05-23 14:22:42 +02:00
romfs.cpp
romfs.h
shared_page.cpp core_timing: Namespace all functions and constants in core_timing's header 2018-04-30 03:32:59 -04:00
shared_page.h Format: Run the new clang format on everything 2018-01-20 16:45:11 -07:00