forked from ShuriZma/suyu
1
0
Fork 0
Zuma/src
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
..
audio_core EffectOutStatus padding is now in hex 2018-10-09 11:20:54 +11:00
common Merge pull request #1424 from DarkLordZach/ips-witch 2018-10-08 12:30:33 -04:00
core partition_data_manager: Reserve and insert data within output vector in DecryptPackage2() 2018-10-13 09:50:08 -04:00
input_common Port #4141 from citra: Joystick hotplug support (#1275) 2018-09-10 21:29:59 -04:00
tests kernel/thread: Use a regular pointer for the owner/current process 2018-10-10 02:04:55 -04:00
video_core Implemented helper function to correctly calculate a texture's size 2018-10-12 14:21:53 -04:00
web_service Review comments - part 5 2018-10-02 16:04:10 +02:00
yuzu Merge pull request #1409 from DarkLordZach/key-derivation 2018-10-12 22:55:49 -04:00
yuzu_cmd implemented touch in Qt and SDL 2018-10-09 20:26:57 +02:00
.clang-format Remove special rules for Windows.h and library includes 2016-09-21 00:16:33 -07:00
CMakeLists.txt Port web_service from Citra 2018-10-02 15:30:48 +02:00