Zach Hilman
0bb4dbc74b
ips_layer: Use rle_size instead of data_size in RLE patch application
Prevents a potential bug when using RLE records in an IPS patch.
7 years ago
bunnei
47ca03016e
Merge pull request #1579 from lioncash/usb
service/usb: Update service function tables
7 years ago
bunnei
1c59a4234a
Merge pull request #1576 from lioncash/acc-warn
service/acc: Silence compiler truncation warnings
7 years ago
bunnei
b113cf4aab
Merge pull request #1577 from lioncash/err
kernel/error: Amend error return code values
7 years ago
bunnei
6bf7e0d83d
Merge pull request #1524 from FernandoS27/layers-fix
rasterizer: Fix Layered Textures Loading and Cubemaps
7 years ago
bunnei
418febe1e4
Merge pull request #1575 from lioncash/qstring
game_list_worker: Use QString's formatting instead of fmt in FormatPatchNameVersions()
7 years ago
Lioncash
64968341b7
service/usb: Update service function tables
Updated based off the information provided by Hexkyz on Switchbrew.
7 years ago
Lioncash
9c03c5ac8a
service/acc: Move fallback image to file scope
This is just flat data, so it doesn't really need to be in the function
itself. This also allows deduplicating the constant for the backup size
in GetImageSize().
7 years ago
Lioncash
6da246b0c2
service/acc: Silence compiler warnings
Silences compiler warnings related to truncation. This also introduces a
small helper function to perform the clamping of the image size.
7 years ago
Lioncash
8eec717cce
service/acc: Early return in failure case in LoadImage()
Allows unindenting the other branch's code.
7 years ago
bunnei
05575b9663
Merge pull request #1570 from lioncash/optional
profile_manager: Use std::optional instead of boost::optional
7 years ago
bunnei
f7a85d507e
Merge pull request #1558 from lioncash/ptr
yuzu/configuration/config: Use a std::unique_ptr for qt_config instead of a raw pointer
7 years ago
bunnei
518860a969
Merge pull request #1565 from lioncash/audio
time_stretch: Remove unused m_channel_count member variable
7 years ago
bunnei
4322798a5d
Merge pull request #1554 from FernandoS27/pointsize
Implement PointSize Output Attribute.
7 years ago
bunnei
c12009039b
Merge pull request #1571 from lioncash/debug-translate
graphic_breakpoints: Correct translation of strings in BreakpointModel's data() function
7 years ago
bunnei
d24184d9a8
Merge pull request #1564 from lioncash/npad
npad: Remove unused controller variable from OnInit()
7 years ago
bunnei
7163b7d506
Merge pull request #1568 from lioncash/dir
game_list: Use QFileInfo instead of common's file functions
7 years ago
bunnei
16570698af
Merge pull request #1567 from lioncash/translate
game_list: Make game list column headers translatable
7 years ago
bunnei
61020333e0
Merge pull request #1566 from lioncash/str
bootmanager: Use QStringLiteral instead of std::string to represent the window title.
7 years ago
bunnei
bd15d839a1
Merge pull request #1563 from lioncash/frame
perf_stats: Remove unused variable within DoFrameLimiting()
7 years ago
bunnei
233d8e639d
Merge pull request #1562 from lioncash/aoc
aoc_u: Make use of previously-unused CheckAOCTitleIDMatchesBase() function
7 years ago
bunnei
0410a06792
Merge pull request #1560 from lioncash/unused
maxwell_3d/decoders: Remove unused variables
7 years ago
bunnei
5028d18da4
Merge pull request #1561 from lioncash/fs
file_sys: Remove unused variables
7 years ago
bunnei
3123d38658
Merge pull request #1559 from lioncash/log
logging/backend: Add missing services to the log filters
7 years ago
Lioncash
dd17fc6213
kernel/errors: Remove now-unused, unnecessary, error codes
Now that we've gotten the innaccurate error codes out of the way, we can
finally toss away a bunch of these, trimming down the error codes to
ones that are actually used and knocking out two TODO comments.
7 years ago
Lioncash
815d526a6a
kernel/shared_memory: Return ERR_INVALID_MEMORY_PERMISSIONS instead of ERR_INVALID_COMBINATION
This is more consistent with what the kernel does.
7 years ago
Lioncash
2438be15a9
kernel/server_port: Simplify emptiness check within ShouldWait()
7 years ago
Lioncash
1bec1b6e99
kernel/server_port: Change error case return value in Accept() to ERR_NOT_FOUND
This is what the kernel does in this instance.
7 years ago
Lioncash
1206987215
kernel/error: Remove leftover 3DS error codes
These are now entirely unused and can be removed.
7 years ago
Lioncash
fc5b2b9f14
kernel/svc: Amend returned error code for invalid priorities in CreateThread
Like with the previous change, the kernel doesn't return NOT_AUTHORIZED
here. It returns INVALID_THREAD_PRIORITY.
7 years ago
Lioncash
e71849e099
kernel/svc: Move and correct returned error code for invalid thread priorities in SetThreadPriority()
All priority checks are supposed to occur before checking the validity
of the thread handle, we're also not supposed to return
ERR_NOT_AUTHORIZED here.
7 years ago
Lioncash
ad85a2da06
kernel/error: Add error code for invalid pointers
The kernel appears to return 0xE601 for this situation. Particularly in
svcWaitSynchronization, svcReplyAndReceive, and svcGetThreadContext
7 years ago
Lioncash
7748fd0e43
kernel/error: Add error code for closed sessions
The kernel appears to return 0xF601 for this case.
7 years ago
Lioncash
ebe361a343
game_list_worker: Use QString's formatting instead of fmt in FormatPatchNameVersions()
Using fmt here requires unnecessary string conversions back into
QString. Instead, we can just use QString's formatting and get the end
result of the formatting operation in the proper type.
7 years ago
Lioncash
94daae2847
profile_manager: Use std::optional instead of boost::optional
Now that we can actually use std::optional on macOS, we don't need to
continue using boost::optional here.
7 years ago
Lioncash
7b6546451e
graphic_breakpoints: Correct translation of strings in BreakpointModel's data() function
tr() will not function properly on static/global data like this, as the
object is only ever constructed once, so the strings won't translate if
the language is changed without restarting the program, which is
undesirable. Instead we can just turn the map into a plain old function
that maps the values to their equivalent strings. This is also lessens
the memory allocated, since it's only allocating memory for the strings
themselves, and not an encompassing map as well.
7 years ago
Mat M
393d92efce
Merge pull request #1468 from DarkLordZach/profile-manager-ui
qt: Add UI to manage emulated user profiles
7 years ago
Zach Hilman
5c294cdb5d
configure_system: Clear current username before overwriting
Prevents bug where old username would remain if the new username was shorter in length.
7 years ago
Lioncash
849265a3de
game_list: Use QFileInfo instead of common's file functions
We can just use the facilities that Qt provides instead of pulling in
stuff from common. While we're at it, we can also simplify the nearby
logging statement's argument by just calling .toStdString()
7 years ago
Lioncash
17c920b7a4
game_list: Make game list column headers translatable
These are user-facing strings, so they should be marked as translatable
7 years ago
Lioncash
d9003838c6
bootmanager: Use QStringLiteral instead of std::string to represent the window title
This gets rid of an unnecessary type conversion. We can just use the
regular QStringLiteral to already format the string as the type
setWindowTitle accepts instead of converting from a std::string
instance.
7 years ago
Lioncash
75ed1149fb
time_stretch: Remove unused m_channel_count member variable
This is only stored to, but never read from.
7 years ago
Lioncash
b34685863a
npad: Remove unused controller variable from OnInit()
This also gets rid of variable shadowing related to the lambda parameter
a little bit below this code as well.
7 years ago
Lioncash
eb1e5a40e9
perf_stats: Remove unused variable within DoFrameLimiting()
This hasn't been used since fc6901c205
7 years ago
Lioncash
add5a47fd9
yuzu/configuration/config: Use a std::unique_ptr for qt_config instead of a raw pointer
Same behavior, less code.
7 years ago
Lioncash
8e4c18f8b1
aoc_u: Make use of previously-unused CheckAOCTitleIDMatchesBase() function
We can just call the function instead of duplicating the code here. This
also prevents an unused function warning.
We also don't need to take the lambda capture by reference. It's just a
u64 value, so by value is fine here.
7 years ago
Lioncash
b932d4b420
vfs: Handle failure of file reading within VfsRawCopy()
Also gets rid of an unused variable.
7 years ago
Lioncash
c2b6cc4692
key_manager: Remove unused variable in DeriveBase()
7 years ago
Lioncash
a3c2defab1
decoders: Remove unused variable within SwizzledData()
7 years ago
Lioncash
0afddad95c
maxwell_3d: Remove unused variable within ProcessQueryGet()
7 years ago