3
0
Fork 0
forked from suyu/suyu
suyu/src/core/hle/service
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
..
acc Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
am Virtual Filesystem 2: Electric Boogaloo (#676) 2018-07-18 18:07:11 -07:00
aoc Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
apm Update clang format 2018-07-02 21:45:47 -04:00
audio We only need to alert for memory pool changes 2018-07-13 10:36:28 +10:00
bcat Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
fatal Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
filesystem fsp_srv: Remove unnecessary std::vector construction in IDirectory's Read() function 2018-07-19 10:46:54 -04:00
friend Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
hid Fill in more fields in TouchScreenEntryTouch 2018-07-18 16:33:11 -04:00
lm Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
mm Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
nfp Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
nifm Added IsWirelessCommunicationEnabled, IsEthernetCommunicationEnabled, IsAnyInternetRequestAccepted 2018-07-12 16:40:17 +10:00
ns Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
nvdrv vi: Partially implement buffer crop parameters. 2018-07-17 20:13:17 -04:00
nvflinger vi: Partially implement buffer crop parameters. 2018-07-17 20:13:17 -04:00
pctl Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
prepo service/prepo: Add missing header guard 2018-07-18 19:43:28 -04:00
set Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
sm Update clang format 2018-07-02 21:45:47 -04:00
sockets Services/BSD: Corrected the return for StartMonitoring according to SwIPC. 2018-07-14 12:34:07 -05:00
spl Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
ssl Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
time Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
vi vi: Change TransactionId::CancelBuffer to LOG_CRITICAL. 2018-07-17 22:47:35 -04:00
service.cpp Rename logging macro back to LOG_* 2018-07-02 21:45:47 -04:00
service.h core: Relocate g_service_manager to the System class 2018-04-20 19:44:32 -04:00