Commit Graph

7191 Commits (86d1649b32f636bb91a3333843c45d4decd5a164)
 

Author SHA1 Message Date
Lioncash 296e68fd43 service/prepo: Add missing header guard 7 years ago
Lioncash 93cba6f699 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.
7 years ago
Lioncash 46458e7284 core/memory, core/hle/kernel: Use std::move where applicable
Avoids pointless copies
7 years ago
Lioncash 10d2ab8098 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.
7 years ago
Lioncash 3a4841e403 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.
7 years ago
Lioncash f5d7706ca1 externals: update fmt to version 5.1.0
Previously, we were on 4.1.0, which was a major version behind.
7 years ago
Lioncash 079be8032d hle/filesystem: Amend trace log in OpenSaveData() to compile in debug mode
Previously this wouldn't compile, since no such function named
SaveStructDebugInfo() exists.
7 years ago
bunnei 924c473bb3
Merge pull request #683 from DarkLordZach/touch
Touchscreen Support
7 years ago
Lioncash d17e172d92 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.
7 years ago
Zach Hilman c337272ca9 Fill in more fields in TouchScreenEntryTouch 7 years ago
Zach Hilman f2f368014e Single touch support 7 years ago
bunnei 3d1e8f750c
Merge pull request #681 from lioncash/const
game_list: Make containsAllWords a const member function
7 years ago
bunnei e3da9fc367
Merge pull request #682 from lioncash/telemetry
Telemetry: Minor changes
7 years ago
bunnei 24a55bba42
Merge pull request #679 from lioncash/ctor
game_list: Remove unnecessary QString initialization in KeyReleaseEater
7 years ago
bunnei b87a71b3fe
Merge pull request #678 from lioncash/astc
astc: Minor changes
7 years ago
Lioncash c65a8fafa0 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.
7 years ago
Lioncash 0aebe6b3d5 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.
7 years ago
bunnei 7c3cc08957
Merge pull request #677 from bunnei/crop-fb
Implement buffer cropping and default to handheld mode
7 years ago
Lioncash 3575d367a4 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.
7 years ago
Lioncash f4b98a857b game_list: Upper-case containsAllWords to ContainsAllWords()
This makes it consistent with most of the other private utility
functions.
7 years ago
Lioncash c8f3fc9a4b 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.
7 years ago
Lioncash f4c69149f9 game_list: Remove unnecessary QString initialization in KeyReleaseEater
QString initializes to an empty string by default, so this does nothing
meaningful. While we're at it, use a constructor initializer list for
initializing the gamelist member variable.
7 years ago
Lioncash 6a03badcbc astc: Initialize vector size directly in Decompress
There's no need to perform a separate resize.
7 years ago
Lioncash 0f148548f3 astc: Mark functions as internally linked where applicable 7 years ago
Lioncash c5803e30d3 astc: const-correctness changes where applicable
A few member functions didn't actually modify class state, so these can
be amended as necessary.
7 years ago
Lioncash e3fadb9616 astc: Delete Bits' copy contstructor and assignment operator
This also potentially avoids warnings, considering the copy assignment
operator is supposed to have a return value.
7 years ago
Lioncash 4cd52a34b9 astc: In-class initialize member variables where appropriate 7 years ago
bunnei 03c2d049d4 settings: Turn docked mode off by default. 7 years ago
bunnei 49e5de9f03 vi: Change TransactionId::CancelBuffer to LOG_CRITICAL. 7 years ago
bunnei 0d1a99edf6 vi: Fix size for ListDisplays default display. 7 years ago
bunnei c3dd456d51 vi: Partially implement buffer crop parameters. 7 years ago
bunnei 8e28af6f89
Merge pull request #675 from Subv/stencil
GPU: Added register definitions for the stencil parameters.
7 years ago
Subv 3d3b10adc7 GPU: Added register definitions for the stencil parameters. 7 years ago
Zach Hilman 69bfe075b5 General Filesystem and Save Data Fixes (#670) 7 years ago
bunnei 88a3140c9b
Merge pull request #671 from MerryMage/clear-exclusive-state
scheduler: Clear exclusive state when switching contexts
7 years ago
bunnei 519035db3d
Merge pull request #672 from SciresM/to_address_fix
svc:: Fix bug in svcWaitForAddress
7 years ago
bunnei 5f119bed56
Merge pull request #673 from bunnei/fix-buffer-queue-evt
nvflinger: Fix for BufferQueue event handling.
7 years ago
bunnei 170e19d4ea nvflinger: Fix for BufferQueue event handling. 7 years ago
Michael Scire 3b885691a1 Kernel/Arbiter: Fix bug in WaitIfLessThan 7 years ago
MerryMage 56cc1c11ec scheduler: Clear exclusive state when switching contexts 7 years ago
bunnei f00ca69a81
Merge pull request #669 from lioncash/dynarmic
externals: Update dynarmic to dfdec79
7 years ago
Lioncash 0722adb471
externals: Update dynarmic to dfdec79 7 years ago
bunnei 068668780c
Merge pull request #668 from jroweboy/controller-lag
HID: Update controllers less often
7 years ago
bunnei 04b9cde4f5
Merge pull request #664 from jroweboy/logging-stuff
Minor logging improvements
7 years ago
James Rowe 7d209b3c9f HID: Update controllers less often 7 years ago
James Rowe 497b81558e Logging: Dump all logs in the queue on close in debug mode 7 years ago
bunnei 98762e9601
Merge pull request #666 from bunnei/g8r8
gl_rasterizer_cache: Implement texture format G8R8.
7 years ago
bunnei 3a96670f2d gl_rasterizer_cache: Implement texture format G8R8. 7 years ago
bunnei aaec0b7e70
Merge pull request #665 from bunnei/fix-z24-s8
gl_rasterizer_cache: Fix incorrect offset in ConvertS8Z24ToZ24S8.
7 years ago
bunnei f8ab956189
Merge pull request #659 from bunnei/depth16
gl_rasterizer_cache: Implement depth format Z16_UNORM.
7 years ago