summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-07-23Merge pull request #783 from lioncash/linkerbunnei
linker: Remove unused parameter from WriteRelocations()
2018-07-23Merge pull request #782 from lioncash/filebunnei
loader/nro: Minor changes
2018-07-23Merge pull request #781 from lioncash/declbunnei
gl_shader_decompiler: Simplify GetCommonDeclarations()
2018-07-23Merge pull request #780 from lioncash/movebunnei
vi: Minor changes
2018-07-23Merge pull request #779 from lioncash/sharedbunnei
hle: Remove unused config_mem and shared_page source files
2018-07-23linker: Remove unused parameter from WriteRelocations()Lioncash
is_jump_relocation is never used within the function, so we can just remove it.
2018-07-23nro: Replace inclusion with a forward declarationLioncash
It's sufficient to use a forward declaration instead of a direct inclusion here.
2018-07-23nro: Make bracing consistentLioncash
Makes the code more uniform, and also braces cases where the body of an unbraced conditional travels more than one line.
2018-07-23nro: Make constructor explicitLioncash
Makes it consistent with the other Apploader constructors, and prevents implicit conversions.
2018-07-23nro: Remove unused forward declarationLioncash
This isn't used anywhere in the header.
2018-07-23Merge pull request #695 from DarkLordZach/nro-assetbunnei
NRO Assets and NACP File Format
2018-07-23gl_shader_decompiler: Simplify GetCommonDeclarations()Lioncash
2018-07-23vi: Add std::is_trivially_copyable checks to Read and Write functionsLioncash
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.
2018-07-23vi: std::move std::vector in constructors where applicableLioncash
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
2018-07-23hle: Remove config_mem.h/.cppLioncash
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.
2018-07-23hle: Remove shared_page.h/.cppLioncash
This is a holdover from citra that's essentially unused.
2018-07-23set: Add missing log call in GetAvailableLanguageCodeCount()Lioncash
Forgot to include this in 22f448b6327044076959e338811ee576f3dcf093
2018-07-23Merge pull request #775 from lioncash/strbunnei
string_util: Minor changes
2018-07-23NRO Assets and NACP file formatZach Hilman
Cleanup Review fixes
2018-07-23Merge pull request #777 from lioncash/langbunnei
set: Amend return value of GetAvailableLanguageCodes()
2018-07-23set: Implement GetAvailableLanguageCodeCount()Lioncash
This just returns the size of the language code buffer.
2018-07-23set: Correct return code size of value in GetAvailableLanguageCodes()Lioncash
The return code should be 32-bit in size.
2018-07-22Merge pull request #769 from bunnei/shader-mask-fixesbunnei
shader_bytecode: Implement other TEXS masks.
2018-07-22string_util: Get rid of separate resize() in CPToUTF16(), UTF16ToUTF8(), ↵Lioncash
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.
2018-07-22string_util: Use emplace_back() in SplitString() instead of push_back()Lioncash
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.
2018-07-22string_util: Remove unnecessary std::string instance in TabsToSpaces()Lioncash
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.
2018-07-22Merge pull request #774 from Subv/atomic_signalbunnei
Kernel/SVC: Perform atomic accesses in SignalProcessWideKey as per the real kernel.
2018-07-22Merge pull request #773 from Subv/gl_ext_checkbunnei
Frontend: Check for more required OpenGL extensions during startup.
2018-07-22Merge pull request #768 from lioncash/string-viewbunnei
file_util, vfs: Use std::string_view where applicable
2018-07-22Kernel/SVC: Perform atomic accesses in SignalProcessWideKey as per the real ↵Subv
kernel.
2018-07-22Merge pull request #770 from lioncash/constructbunnei
gl_shader_decompiler: Remove redundant Subroutine construction in AddSubroutine()
2018-07-22Frontend: Check for more required OpenGL extensions during startup.Subv
2018-07-22Implement exclusive monitorMerryMage
2018-07-22gl_shader_decompiler: Remove redundant Subroutine construction in ↵Lioncash
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.
2018-07-22shader_bytecode: Implement other TEXS masks.bunnei
2018-07-22vfs: Correct file_p variable usage within InterpretAsDirectory()Lioncash
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.
2018-07-22file_util, vfs: Use std::string_view where applicableLioncash
Avoids unnecessary construction of std::string instances where applicable.
2018-07-22Merge pull request #765 from lioncash/filebunnei
file_util: Remove goto usages from Copy()
2018-07-22Merge pull request #767 from bunnei/shader-cleanupbunnei
gl_shader_decompiler: Remove unused state tracking and minor cleanup.
2018-07-21Merge pull request #766 from bunnei/shader-selbunnei
gl_shader_decompiler: Implement SEL instruction.
2018-07-21Merge pull request #764 from lioncash/movebunnei
file_util: Minor changes to ScanDirectoryTree() and ForeachDirectoryEntry()
2018-07-22gl_shader_decompiler: Remove unused state tracking and minor cleanup.bunnei
2018-07-22gl_shader_decompiler: Implement SEL instruction.bunnei
2018-07-21file_util: Remove goto usages from Copy()Lioncash
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.
2018-07-21file_util: Use a u64 to represent number of entriesLioncash
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.
2018-07-21file_util: std::move FST entries in ScanDirectoryTree()Lioncash
Avoids unnecessary copies when building up the FST entries.
2018-07-21gl_rasterizer_cache: Blit surfaces on recreation instead of flush and load.bunnei
2018-07-21gl_rasterizer_cache: Use GPUVAddr as cache key, not parameter set.bunnei
2018-07-21gl_rasterizer_cache: Use zeta_width and zeta_height registers for depth buffer.bunnei
2018-07-21gl_rasterizer: Use zeta_enable register to enable depth buffer.bunnei