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
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
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
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
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
Lioncash
308205980e
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.
8 years ago
Lioncash
e0c31daa57
astc: Initialize vector size directly in Decompress
There's no need to perform a separate resize.
8 years ago
Lioncash
fa13cedc7a
astc: Mark functions as internally linked where applicable
8 years ago
Lioncash
03f1f17552
astc: const-correctness changes where applicable
A few member functions didn't actually modify class state, so these can
be amended as necessary.
8 years ago
Lioncash
62eb3b3ede
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.
8 years ago
Lioncash
6b32ef1d9e
astc: In-class initialize member variables where appropriate
8 years ago
bunnei
6143bfd58a
settings: Turn docked mode off by default.
8 years ago
bunnei
ad40c27409
vi: Change TransactionId::CancelBuffer to LOG_CRITICAL.
8 years ago
bunnei
3ff59a95d5
vi: Fix size for ListDisplays default display.
8 years ago
bunnei
42b866afc5
vi: Partially implement buffer crop parameters.
8 years ago
Subv
8335e656bb
GPU: Added register definitions for the stencil parameters.
8 years ago
Zach Hilman
753d85fb0c
General Filesystem and Save Data Fixes ( #670 )
8 years ago
bunnei
df66fadc12
nvflinger: Fix for BufferQueue event handling.
8 years ago
Michael Scire
045893374f
Kernel/Arbiter: Fix bug in WaitIfLessThan
8 years ago
MerryMage
bd97579188
scheduler: Clear exclusive state when switching contexts
8 years ago
James Rowe
12e7a3065a
HID: Update controllers less often
8 years ago
James Rowe
9e5bc967de
Logging: Dump all logs in the queue on close in debug mode
8 years ago
bunnei
efc5bbb9ab
gl_rasterizer_cache: Implement texture format G8R8.
8 years ago
bunnei
50037e0c4f
gl_rasterizer_cache: Fix incorrect offset in ConvertS8Z24ToZ24S8.
8 years ago
bunnei
f5feb89c86
gl_rasterizer_cache: Implement depth format Z16_UNORM.
8 years ago
James Rowe
ada0d38ca9
Logging: Don't lock the queue for the duration of the write
8 years ago
Subv
a4f321da14
Services/BSD: Corrected the return for StartMonitoring according to SwIPC.
8 years ago
Subv
d4a639a08e
FileSys: Append the requested path to the filesystem base path in DeleteFile.
We were trying to delete things in the current directory instead of the actual filesystem directory. This may fix some savedata issues in some games.
8 years ago
David Marcec
66bd4de380
No need to use ASSERT_MSG with an empty message
8 years ago
bunnei
91e048cce7
OpenGL: Use MakeCurrent/DoneCurrent for multithreaded rendering.
8 years ago
Subv
021731e42a
GPU: Always enable the depth write when clearing the depth buffer.
The GPU ignores that register when clearing, but OpenGL obeys the glDepthMask parameter, so we set the depth mask to GL_TRUE when clearing the depth buffer. It will be restored to the correct value automatically on the next draw call.
8 years ago
Hedges
d8d8be6ac0
More improvements to GDBStub ( #653 )
* More improvements to GDBStub
- Debugging of threads should work correctly with source and assembly level stepping and modifying registers and memory, meaning threads and callstacks are fully clickable in VS.
- List of modules is available to the client, with assumption that .nro and .nso are backed up by an .elf with symbols, while deconstructed ROMs keep N names.
- Initial support for floating point registers.
* Tidy up as requested in PR feedback
* Tidy up as requested in PR feedback
8 years ago
bunnei
e904e1f785
gl_rasterizer: Fix check for if a shader stage is enabled.
8 years ago
bunnei
6e04dd24fe
gl_shader_gen: Implement dual vertex shader mode.
- When VertexA shader stage is enabled, we combine with VertexB program to make a single Vertex Shader stage.
8 years ago