Lioncash
60eab9b720
hid: Use a ranged-for loops in UpdatePadCallback
Modernizes the loops themselves while also getting rid of a signed/unsigned
comparison in a loop condition.
8 years ago
Lioncash
68b6099706
hid: Use HID_NUM_LAYOUTS constant for indicating size of the layouts array
Gets rid of the use of a magic constant
8 years ago
bunnei
153756ced5
Merge pull request #713 from lioncash/filesys
filesystem: Minor changes
8 years ago
bunnei
9f6fe39602
Merge pull request #711 from lioncash/swap
common/swap: Minor changes
8 years ago
bunnei
a8139e0c59
Merge pull request #710 from lioncash/unused
common/common_funcs: Remove unused rotation functions
8 years ago
bunnei
fb8a2dd552
Merge pull request #694 from lioncash/warn
loader/{nro, nso}: Resolve compilation warnings
8 years ago
bunnei
b2d1d18681
Merge pull request #709 from lioncash/thread-local
common/misc: Deduplicate code in GetLastErrorMsg()
8 years ago
bunnei
046c09a092
Merge pull request #708 from lioncash/xbyak
externals: Update Xbyak to 5.65
8 years ago
bunnei
69ba9b666d
Merge pull request #707 from lioncash/catch
externals: Update catch to v2.2.3
8 years ago
bunnei
4b6bc818bf
Merge pull request #705 from lioncash/string-ref
file_util: return string by const reference for GetExeDirectory()
8 years ago
bunnei
232392968f
Merge pull request #704 from lioncash/string
string_util: Remove AsciiToHex()
8 years ago
bunnei
280f1100b6
Merge pull request #703 from lioncash/const
savedata_factory: Make SaveDataDescriptor's DebugInfo() function a const member function
8 years ago
bunnei
bdf9a9c044
Merge pull request #702 from lioncash/initialize
partition_filesystem: Ensure all class members of PartitionFilesystem are initialized
8 years ago
bunnei
a0c32fc161
Merge pull request #701 from lioncash/moving
content_archive: Minor changes
8 years ago
bunnei
f15104730f
Merge pull request #699 from lioncash/vfs
vfs: Deduplicate accumulation code in VfsDirectory's GetSize()
8 years ago
bunnei
ca8697b7d9
Merge pull request #697 from bunnei/disable-depth-cull
gl_state: Temporarily disable culling and depth test.
8 years ago
Lioncash
043ab179b5
filesystem: std::move VirtualDir instance in VfsDirectoryServiceWrapper's constructor
Avoids unnecessary atomic reference count incrementing and decrementing
8 years ago
Lioncash
7ab5eb948c
filesystem: Use std::string's empty() function instead of comparing against a literal
This is simply a basic value check as opposed to potentially doing
string based operations (unlikely, but still, avoiding it is free).
8 years ago
Lioncash
9dccecb6b0
filesystem: Remove pragma disabling global optimizations
This was just an artifact missed during PR review.
8 years ago
Lioncash
5edccd695c
common/swap: Remove unnecessary const on return value of swap()
8 years ago
Lioncash
f66d29acf2
common/swap: Use static_cast where applicable
8 years ago
Lioncash
d7ebfa40a1
common/swap: Use using aliases where applicable
8 years ago
Lioncash
3ec8aa2bb9
common/common_funcs: Remove unused rotation functions
These are unused and essentially don't provide much benefit either. If
we ever need rotation functions, these can be introduced in a way that
they don't sit in a common_* header and require a bunch of ifdefing to
simply be available
8 years ago
Lioncash
03d8c78199
common/misc: Deduplicate code in GetLastErrorMsg()
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.
8 years ago
Lioncash
1dbed8591f
externals: Update Xbyak to 5.65
Keeps the JIT assembler library up to date and ensures we don't run into
any issues that may have been resolved.
8 years ago
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