- Jul 24, 2018
- Jul 23, 2018
-
-
bunnei authored
string_util: Minor changes
-
bunnei authored
set: Amend return value of GetAvailableLanguageCodes()
-
Lioncash authored
This just returns the size of the language code buffer.
-
Lioncash authored
The return code should be 32-bit in size.
-
bunnei authored
shader_bytecode: Implement other TEXS masks.
-
- Jul 22, 2018
-
-
Lioncash authored
string_util: Get rid of separate resize() in CPToUTF16(), UTF16ToUTF8(), CodeToUTF8() and UTF8ToUTF16() There's no need to perform the resize separately here, since the constructor allows presizing the buffer. Also move the empty string check before the construction of the string to make the early out more straightforward.
-
Lioncash authored
This is equivalent to doing: push_back(std::string("")); which is likely not to cause issues, assuming a decent std::string implementation with small-string optimizations implemented in its design, however it's still a little unnecessary to copy that buffer regardless. Instead, we can use emplace_back() to directly construct the empty string within the std::vector instance, eliminating any possible overhead from the copy.
-
Lioncash authored
We can just use the variant of std::string's replace() function that can replace an occurrence with N copies of the same character, eliminating the need to allocate a std::string containing a buffer of spaces.
-
bunnei authored
Kernel/SVC: Perform atomic accesses in SignalProcessWideKey as per the real kernel.
-
bunnei authored
Frontend: Check for more required OpenGL extensions during startup.
-
bunnei authored
file_util, vfs: Use std::string_view where applicable
-
Subv authored
-
bunnei authored
gl_shader_decompiler: Remove redundant Subroutine construction in AddSubroutine()
-
Subv authored
-
Mat M authored
Implement exclusive monitor
-
Sebastian Valle authored
externals: Update dynarmic to fc6b73bd
-
MerryMage authored
Resolves issues: * 128-bit exclusive writes on Windows * Non-updating CNTPCT_EL0 fc6b73 a64_emit_x64: Ensure host has updated ticks in EmitA64GetCNTPCT 888c67 a64_emit_x64: Fix stack misalignment on Windows for 128-bit exclusive writes 352d53 emit_x64_aes: Eliminate extraneous usage of a scratch register in EmitAESInverseMixColumns() ab7fe7 A64: Implement SADDLV 09bd2b A64: Implement UADDLV 62e86d fp: Use forward declarations where applicable b3edb7 emit_x64_vector: Append 'v' prefix onto movq in AVX path
-
MerryMage authored
-
Lioncash authored
We don't need to toss away the Subroutine instance after the find() call and reconstruct another instance with the same data right after it. Particularly give Subroutine contains a std::set.
-
bunnei authored
-
Lioncash authored
ReplaceFileWithSubdirectory() takes a VirtualFile and a VirtualDir, but it was being passed a string as one of its arguments. The only reason this never caused issues is because this template isn't instantiated anywhere yet. This corrects an issue before it occurs.
-
Lioncash authored
Avoids unnecessary construction of std::string instances where applicable.
-
bunnei authored
file_util: Remove goto usages from Copy()
-
bunnei authored
gl_shader_decompiler: Remove unused state tracking and minor cleanup.
-
bunnei authored
gl_shader_decompiler: Implement SEL instruction.
-
bunnei authored
file_util: Minor changes to ScanDirectoryTree() and ForeachDirectoryEntry()
-
bunnei authored
-
bunnei authored
-
bunnei authored
Improvements to rasterizer cache
-
Lioncash authored
We can just leverage std::unique_ptr to automatically close these for us in error cases instead of jumping to the end of the function to call fclose on them.
-
Lioncash authored
This avoids a truncating cast on size. I doubt we'd ever traverse a directory this large, however we also shouldn't truncate sizes away.
-
Lioncash authored
Avoids unnecessary copies when building up the FST entries.
-
bunnei authored
-
bunnei authored
-
bunnei authored
-
bunnei authored
-
bunnei authored
-