summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-07-19Merge pull request #694 from lioncash/warnbunnei
loader/{nro, nso}: Resolve compilation warnings
2018-07-19Merge pull request #709 from lioncash/thread-localbunnei
common/misc: Deduplicate code in GetLastErrorMsg()
2018-07-19Merge pull request #705 from lioncash/string-refbunnei
file_util: return string by const reference for GetExeDirectory()
2018-07-19Merge pull request #704 from lioncash/stringbunnei
string_util: Remove AsciiToHex()
2018-07-19Merge pull request #703 from lioncash/constbunnei
savedata_factory: Make SaveDataDescriptor's DebugInfo() function a const member function
2018-07-19Merge pull request #702 from lioncash/initializebunnei
partition_filesystem: Ensure all class members of PartitionFilesystem are initialized
2018-07-19Merge pull request #701 from lioncash/movingbunnei
content_archive: Minor changes
2018-07-19Merge pull request #699 from lioncash/vfsbunnei
vfs: Deduplicate accumulation code in VfsDirectory's GetSize()
2018-07-19Merge pull request #697 from bunnei/disable-depth-cullbunnei
gl_state: Temporarily disable culling and depth test.
2018-07-19common/misc: Deduplicate code in GetLastErrorMsg()Lioncash
Android and macOS have supported thread_local for quite a while, but most importantly is that we don't even really need it. Instead of using a thread-local buffer, we can just return a non-static buffer as a std::string, avoiding the need for that quality entirely.
2018-07-19file_util: return string by const reference for GetExeDirectory()Lioncash
This disallows modifying the internal string buffer (which shouldn't be modified anyhow).
2018-07-18string_util: Remove AsciiToHex()Lioncash
Easy TODO
2018-07-18Merge pull request #692 from lioncash/assignbunnei
address_arbiter: Correct assignment within an assertion statement in WakeThreads()
2018-07-18Merge pull request #690 from lioncash/movebunnei
core/memory, core/hle/kernel: Use std::move where applicable
2018-07-18savedata_factory: Make SaveDataDescriptor's DebugInfo() function a const ↵Lioncash
member function This function doesn't alter class state.
2018-07-18partition_filesystem: Ensure all class members of PartitionFilesystem are ↵Lioncash
initialized Previously is_hfs and pfs_header members wouldn't be initialized in the constructor, as they were stored in locals instead. This would result in things like GetName() and PrintDebugInfo() behaving incorrectly. While we're at it, initialize the members to deterministic values as well, in case loading ever fails.
2018-07-18gl_state: Temporarily disable culling and depth test.bunnei
2018-07-18content_archive: Make IsDirectoryExeFS() take a shared_ptr as a const referenceLioncash
There's no need to take this by value when it's possible to avoid unnecessary copies entirely like this.
2018-07-18content_archive: Add missing standard includesLioncash
2018-07-18content_archive: std::move VirtualFile in NCA's constructorLioncash
Gets rid of unnecessary atomic reference count incrementing and decrementing.
2018-07-18vfs: Deduplicate accumulation code in VfsDirectory's GetSize()Lioncash
We can just use a generic lambda to avoid writing the same thing twice.
2018-07-18Merge pull request #691 from lioncash/guardbunnei
service/prepo: Add missing header guard
2018-07-18Merge pull request #686 from lioncash/fmtbunnei
externals: update fmt to version 5.1.0
2018-07-18loader/nro: Resolve sign mismatch warningsLioncash
2018-07-18loader/nso: Remove unnecessary vector resizesLioncash
We can just initialize these vectors directly via their constructor.
2018-07-18loader/nso: Resolve sign mismatch warningsLioncash
2018-07-18Merge pull request #688 from lioncash/commabunnei
vm_manager: Add missing commas to string literal array elements in GetMemoryStateName()
2018-07-18Merge pull request #693 from lioncash/unusedbunnei
core/memory: Remove unused function GetSpecialHandlers() and an unused variable in ZeroBlock()
2018-07-18Merge pull request #687 from lioncash/instancebunnei
core: Don't construct instance of Core::System, just to access its live instance
2018-07-18Merge pull request #680 from bunnei/fix-swizzbunnei
decoders: Fix calc of swizzle image_width_in_gobs.
2018-07-18Merge pull request #684 from lioncash/nonmemberbunnei
game_list: Make ContainsAllWords an internally linked non-member function
2018-07-18decoders: Fix calc of swizzle image_width_in_gobs.bunnei
2018-07-18Virtual Filesystem 2: Electric Boogaloo (#676)Zach Hilman
* Virtual Filesystem * Fix delete bug and documentate * Review fixes + other stuff * Fix puyo regression
2018-07-18core/memory: Remove unused function GetSpecialHandlers() and an unused ↵Lioncash
variable in ZeroBlock()
2018-07-18address_arbiter: Correct assignment within an assertion statement in ↵Lioncash
WakeThreads() This was introduced within 4f81bc4e1bd12e4df7410c6790ba818d8dbba9c0, and considering there's no comment indicating that this is intentional, this is very likely a bug.
2018-07-18service/prepo: Add missing header guardLioncash
2018-07-18vm_manager: Add missing commas to string literal array elements in ↵Lioncash
GetMemoryStateName() Without these, this would perform concatenation, which is definitely not what we want here.
2018-07-18core/memory, core/hle/kernel: Use std::move where applicableLioncash
Avoids pointless copies
2018-07-18core: Make System's default constructor privateLioncash
This makes it a compilation error to construct additional instances of the System class directly, preventing accidental wasteful constructions over and over.
2018-07-18core: Don't construct instance of Core::System, just to access its live instanceLioncash
This would result in a lot of allocations and related object construction, just to toss it all away immediately after the call. These are definitely not intentional, and it was intended that all of these should have been accessing the static function GetInstance() through the name itself, not constructed instances.
2018-07-18externals: update fmt to version 5.1.0Lioncash
Previously, we were on 4.1.0, which was a major version behind.
2018-07-18game_list: Make ContainsAllWords an internally linked non-member functionLioncash
This function actually depends on no internal class state, so it doesn't even need to be a part of the class interface.
2018-07-18Fill in more fields in TouchScreenEntryTouchZach Hilman
2018-07-18Single touch supportZach Hilman
2018-07-18Merge pull request #681 from lioncash/constbunnei
game_list: Make containsAllWords a const member function
2018-07-18Merge pull request #682 from lioncash/telemetrybunnei
Telemetry: Minor changes
2018-07-17Merge pull request #679 from lioncash/ctorbunnei
game_list: Remove unnecessary QString initialization in KeyReleaseEater
2018-07-17Merge pull request #678 from lioncash/astcbunnei
astc: Minor changes
2018-07-18telemetry: Remove unnecessary Field constructorLioncash
We can just take the value parameter by value which allows both moving into it, and copies at the same time, depending on the calling code.
2018-07-18telemetry: Make operator== and operator!= const member functions of FieldLioncash
These operators don't modify internal class state, so they can be made const member functions. While we're at it, drop the unnecessary inline keywords. Member functions that are defined in the class declaration are already inline by default.