2
1
Fork 0
mirror of https://github.com/yuzu-emu/yuzu.git synced 2024-07-04 23:31:19 +01:00
yuzu/src/core/hle/service
Lioncash ff500a7b68 hle_ipc: Introduce generic WriteBuffer overload for multiple container types
This introduces a slightly more generic variant of WriteBuffer().
Notably, this variant doesn't constrain the arguments to only accepting
std::vector instances. It accepts whatever adheres to the
ContiguousContainer concept in the C++ standard library.

This essentially means, std::array, std::string, and std::vector can be
used directly with this interface. The interface no longer forces you to
solely use containers that dynamically allocate.

To ensure our overloads play nice with one another, we only enable the
container-based WriteBuffer if the argument is not a pointer, otherwise
we fall back to the pointer-based one.
2018-07-19 17:05:12 -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 hle_ipc: Introduce generic WriteBuffer overload for multiple container types 2018-07-19 17:05:12 -04: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 Merge pull request #712 from lioncash/fsp 2018-07-19 12:31:33 -07: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 hle_ipc: Introduce generic WriteBuffer overload for multiple container types 2018-07-19 17:05:12 -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