Lioncash
c95cc86b63
externals: Update catch to v2.2.3
Keeps the unit-testing library up to date.
8 years ago
Lioncash
ba015f825f
file_util: return string by const reference for GetExeDirectory()
This disallows modifying the internal string buffer (which shouldn't be
modified anyhow).
8 years ago
bunnei
49881ebe2c
Merge pull request #700 from bunnei/update-dynarmic
externals: Update dynarmic to 5a91c94.
8 years ago
Lioncash
7ad7ee1411
string_util: Remove AsciiToHex()
Easy TODO
8 years ago
bunnei
25c34badfa
Merge pull request #692 from lioncash/assign
address_arbiter: Correct assignment within an assertion statement in WakeThreads()
8 years ago
bunnei
90042f35a5
Merge pull request #690 from lioncash/move
core/memory, core/hle/kernel: Use std::move where applicable
8 years ago
Lioncash
f92bb43138
savedata_factory: Make SaveDataDescriptor's DebugInfo() function a const member function
This function doesn't alter class state.
8 years ago
Lioncash
a9b596c444
partition_filesystem: Ensure all class members of PartitionFilesystem are 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.
8 years ago
bunnei
9a4fa973c8
gl_state: Temporarily disable culling and depth test.
8 years ago
Lioncash
9eb43dc910
content_archive: Make IsDirectoryExeFS() take a shared_ptr as a const reference
There's no need to take this by value when it's possible to avoid
unnecessary copies entirely like this.
8 years ago
Lioncash
701bdfd753
content_archive: Add missing standard includes
8 years ago
bunnei
37d9478e38
externals: Update dynarmic to 5a91c94.
8 years ago
Lioncash
bff53f234d
content_archive: std::move VirtualFile in NCA's constructor
Gets rid of unnecessary atomic reference count incrementing and
decrementing.
8 years ago
Lioncash
47858aed98
vfs: Deduplicate accumulation code in VfsDirectory's GetSize()
We can just use a generic lambda to avoid writing the same thing twice.
8 years ago
bunnei
f6f77b403e
Merge pull request #691 from lioncash/guard
service/prepo: Add missing header guard
8 years ago
bunnei
35b7d6ec37
Merge pull request #686 from lioncash/fmt
externals: update fmt to version 5.1.0
8 years ago
Lioncash
d0f53d27e0
loader/nro: Resolve sign mismatch warnings
8 years ago
Lioncash
b20bac710d
loader/nso: Remove unnecessary vector resizes
We can just initialize these vectors directly via their constructor.
8 years ago
Lioncash
0a48b45954
loader/nso: Resolve sign mismatch warnings
8 years ago
bunnei
6f120be510
Merge pull request #688 from lioncash/comma
vm_manager: Add missing commas to string literal array elements in GetMemoryStateName()
8 years ago
bunnei
8387313266
Merge pull request #693 from lioncash/unused
core/memory: Remove unused function GetSpecialHandlers() and an unused variable in ZeroBlock()
8 years ago
bunnei
5ab4dc3e1e
Merge pull request #687 from lioncash/instance
core: Don't construct instance of Core::System, just to access its live instance
8 years ago
bunnei
c2109ba58e
Merge pull request #680 from bunnei/fix-swizz
decoders: Fix calc of swizzle image_width_in_gobs.
8 years ago
bunnei
fc156e2d70
Merge pull request #685 from lioncash/build
hle/filesystem: Amend trace log in OpenSaveData() to compile in debug mode
8 years ago
bunnei
55ef6c6686
Merge pull request #684 from lioncash/nonmember
game_list: Make ContainsAllWords an internally linked non-member function
8 years ago
bunnei
47a305ed54
decoders: Fix calc of swizzle image_width_in_gobs.
8 years ago
Zach Hilman
82150bd5c1
Virtual Filesystem 2: Electric Boogaloo ( #676 )
* Virtual Filesystem
* Fix delete bug and documentate
* Review fixes + other stuff
* Fix puyo regression
8 years ago
Lioncash
b7e7ddbdfc
core/memory: Remove unused function GetSpecialHandlers() and an unused variable in ZeroBlock()
8 years ago
Lioncash
76a9fc2f85
address_arbiter: Correct assignment within an assertion statement in WakeThreads()
This was introduced within d12af72c8f , and
considering there's no comment indicating that this is intentional, this
is very likely a bug.
8 years ago
Lioncash
26e188d074
service/prepo: Add missing header guard
8 years ago
Lioncash
81bf614695
vm_manager: Add missing commas to string literal array elements in GetMemoryStateName()
Without these, this would perform concatenation, which is definitely not
what we want here.
8 years ago
Lioncash
b1b1c60009
core/memory, core/hle/kernel: Use std::move where applicable
Avoids pointless copies
8 years ago
Lioncash
74185c108e
core: Make System's default constructor private
This makes it a compilation error to construct additional instances of
the System class directly, preventing accidental wasteful constructions
over and over.
8 years ago
Lioncash
e72928762f
core: Don't construct instance of Core::System, just to access its live instance
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.
8 years ago
Lioncash
d284e38814
externals: update fmt to version 5.1.0
Previously, we were on 4.1.0, which was a major version behind.
8 years ago
Lioncash
40096de1fc
hle/filesystem: Amend trace log in OpenSaveData() to compile in debug mode
Previously this wouldn't compile, since no such function named
SaveStructDebugInfo() exists.
8 years ago
bunnei
ccaee8a9ec
Merge pull request #683 from DarkLordZach/touch
Touchscreen Support
8 years ago
Lioncash
2b547cda84
game_list: Make ContainsAllWords an internally linked non-member function
This function actually depends on no internal class state, so it doesn't
even need to be a part of the class interface.
8 years ago
Zach Hilman
03480ff436
Fill in more fields in TouchScreenEntryTouch
8 years ago
Zach Hilman
25becb080e
Single touch support
8 years ago
bunnei
21fe5fa391
Merge pull request #681 from lioncash/const
game_list: Make containsAllWords a const member function
8 years ago
bunnei
988d752729
Merge pull request #682 from lioncash/telemetry
Telemetry: Minor changes
8 years ago
bunnei
2787ea8c3a
Merge pull request #679 from lioncash/ctor
game_list: Remove unnecessary QString initialization in KeyReleaseEater
8 years ago
bunnei
8a6b2b17de
Merge pull request #678 from lioncash/astc
astc: Minor changes
8 years ago
Lioncash
4fee2216fc
telemetry: Remove unnecessary Field constructor
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.
8 years ago
Lioncash
2df4be6f25
telemetry: Make operator== and operator!= const member functions of Field
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.
8 years ago
bunnei
497504acdf
Merge pull request #677 from bunnei/crop-fb
Implement buffer cropping and default to handheld mode
8 years ago
Lioncash
c66555a28f
telemetry: Default copy/move constructors and assignment operators
This provides the equivalent behavior, but without as much boilerplate.
While we're at it, explicitly default the move constructor, since we
have a move-assignment operator defined.
8 years ago
Lioncash
80b03cb214
game_list: Upper-case containsAllWords to ContainsAllWords()
This makes it consistent with most of the other private utility
functions.
8 years ago
Lioncash
75eba5fdb9
game_list: Make containsAllWords a const member function
This doesn't actually modify the internal class state, so it can be a
const member function. While we're at it, amend the function to take
its arguments by const reference.
8 years ago