1
0
Fork 0
forked from eden-emu/eden
ribbitvulkanadditions/src/core
Lioncash 6467b01de2 partition_data_manager: Reserve and insert data within output vector in DecryptPackage2()
We can just reserve the memory then perform successive insertions
instead of needing to use memcpy. This also avoids the need to zero out
the output vector's memory before performing the insertions.

We can also std::move the output std::vector into the destination so
that we don't need to make a completely new copy of the vector, getting
rid of an unnecessary allocation.

Additionally, we can use iterators to determine the beginning and end
ranges of the std::vector instances that comprise the output vector, as
the end of one range just becomes the beginning for the next successive
range, and since std::vector's iterator constructor copies data within
the range [begin, end), this is more straightforward and gets rid of the
need to have an offset variable that keeps getting incremented to
determine where to do the next std::memcpy.
2018-10-13 09:50:08 -04:00
..
arm kernel/thread: Use a regular pointer for the owner/current process 2018-10-10 02:04:55 -04:00
crypto partition_data_manager: Reserve and insert data within output vector in DecryptPackage2() 2018-10-13 09:50:08 -04:00
file_sys Merge pull request #1409 from DarkLordZach/key-derivation 2018-10-12 22:55:49 -04:00
frontend emu_window: Ensure WindowConfig members are always initialized 2018-08-14 19:36:43 -04:00
gdbstub kernel/thread: Make all instance variables private 2018-10-04 00:14:15 -04:00
hle Merge pull request #1483 from lioncash/codeset 2018-10-12 22:52:12 -04:00
loader kernel/process: Make CodeSet a regular non-inherited object 2018-10-12 12:07:32 -04:00
tracer Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
CMakeLists.txt crypto: Add PartitionDataManager 2018-10-07 13:15:11 -04:00
core.cpp kernel/thread: Use a regular pointer for the owner/current process 2018-10-10 02:04:55 -04:00
core.h kernel/thread: Use a regular pointer for the owner/current process 2018-10-10 02:04:55 -04:00
core_cpu.cpp core_cpu: Make arm_interface instances a std::unique_ptr 2018-09-25 16:04:56 -04:00
core_cpu.h core_cpu: Make arm_interface instances a std::unique_ptr 2018-09-25 16:04:56 -04:00
core_timing.cpp Core::CoreTiming: add UnscheduleEventThreadsafe 2018-08-13 13:56:41 +02:00
core_timing.h Core::CoreTiming: add UnscheduleEventThreadsafe 2018-08-13 13:56:41 +02:00
core_timing_util.cpp core_timing: Split off utility functions into core_timing_util 2018-07-24 11:03:24 +01:00
core_timing_util.h core_timing: Split off utility functions into core_timing_util 2018-07-24 11:03:24 +01:00
memory.cpp kernel/process: Make data member variables private 2018-09-30 02:30:01 -04:00
memory.h memory: Dehardcode the use of fixed memory range constants 2018-09-24 22:16:03 -04:00
memory_hook.cpp memory_hook: Default virtual destructor in the cpp file 2018-05-03 08:12:16 -04:00
memory_hook.h Port #4182 from Citra: "Prefix all size_t with std::" 2018-09-15 15:21:06 +02:00
memory_setup.h memory: Replace all memory hooking with Special regions 2018-01-27 15:16:39 +00:00
perf_stats.cpp core/core: Replace includes with forward declarations where applicable 2018-08-31 16:30:14 -04:00
perf_stats.h core/core: Replace includes with forward declarations where applicable 2018-08-31 16:30:14 -04:00
settings.cpp video_core; Get rid of global g_toggle_framelimit_enabled variable 2018-08-10 19:00:09 -04:00
settings.h settings: Add program_args string setting 2018-10-07 14:32:05 -04:00
telemetry_session.cpp telemetry_session: Add missing includes 2018-10-09 14:51:39 -04:00
telemetry_session.h telemetry_session: Remove doxygen comment for a non-existent parameter 2018-10-09 14:52:10 -04:00