summaryrefslogtreecommitdiff
path: root/src/core/loader/loader.cpp
diff options
context:
space:
mode:
authorGravatar Lioncash2019-05-19 02:39:00 -0400
committerGravatar Lioncash2019-05-19 02:46:44 -0400
commit683c4e523f55cef1f22263010f2c26ed0e277af1 (patch)
tree4d91452c88af708cc993952aad8b924885570aa2 /src/core/loader/loader.cpp
parentgl_shader_disk_cache: Make variable non-const in decompiled entry case (diff)
downloadyuzu-683c4e523f55cef1f22263010f2c26ed0e277af1.tar.gz
yuzu-683c4e523f55cef1f22263010f2c26ed0e277af1.tar.xz
yuzu-683c4e523f55cef1f22263010f2c26ed0e277af1.zip
gl_shader_disk_cache: Remove redundant code string construction in LoadDecompiledEntry()
We don't need to load the code into a vector and then construct a string over the data. We can just create a string with the necessary size ahead of time, and read the data directly into it, getting rid of an unnecessary heap allocation.
Diffstat (limited to 'src/core/loader/loader.cpp')
0 files changed, 0 insertions, 0 deletions