Age | Commit message (Collapse) | Author |
|
linker: Remove unused parameter from WriteRelocations()
|
|
loader/nro: Minor changes
|
|
gl_shader_decompiler: Simplify GetCommonDeclarations()
|
|
vi: Minor changes
|
|
hle: Remove unused config_mem and shared_page source files
|
|
is_jump_relocation is never used within the function, so we can just
remove it.
|
|
It's sufficient to use a forward declaration instead of a direct
inclusion here.
|
|
Makes the code more uniform, and also braces cases where the body of an
unbraced conditional travels more than one line.
|
|
Makes it consistent with the other Apploader constructors, and prevents
implicit conversions.
|
|
This isn't used anywhere in the header.
|
|
NRO Assets and NACP File Format
|
|
|
|
It's undefined behavior to memcpy an object that isn't considered
trivially copyable, so put a compile-time check in to make sure this
doesn't occur.
|
|
Allows avoiding unnecessary copies of the vector depending on the
calling code.
While we're at it, remove a redundant no-parameter base constructor call
|
|
This is just an unused hold-over from citra, so we can get rid of this
to trim off an exposed global, among other things.
|
|
This is a holdover from citra that's essentially unused.
|
|
Forgot to include this in 22f448b6327044076959e338811ee576f3dcf093
|
|
string_util: Minor changes
|
|
Cleanup
Review fixes
|
|
set: Amend return value of GetAvailableLanguageCodes()
|
|
This just returns the size of the language code buffer.
|
|
The return code should be 32-bit in size.
|
|
shader_bytecode: Implement other TEXS masks.
|
|
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.
|
|
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.
|
|
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.
|
|
Kernel/SVC: Perform atomic accesses in SignalProcessWideKey as per the real kernel.
|
|
Frontend: Check for more required OpenGL extensions during startup.
|
|
file_util, vfs: Use std::string_view where applicable
|
|
kernel.
|
|
gl_shader_decompiler: Remove redundant Subroutine construction in AddSubroutine()
|
|
|
|
|
|
AddSubroutine()
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.
|
|
|
|
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.
|
|
Avoids unnecessary construction of std::string instances where
applicable.
|
|
file_util: Remove goto usages from Copy()
|
|
gl_shader_decompiler: Remove unused state tracking and minor cleanup.
|
|
gl_shader_decompiler: Implement SEL instruction.
|
|
file_util: Minor changes to ScanDirectoryTree() and ForeachDirectoryEntry()
|
|
|
|
|
|
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.
|
|
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.
|
|
Avoids unnecessary copies when building up the FST entries.
|
|
|
|
|
|
|
|
|