- Apr 06, 2019
-
-
bunnei authored
video_core/macro_interpreter: Simplify GetRegister()
-
Lioncash authored
We can just use .at(), which essentially does the same thing, but with less code.
-
Lioncash authored
Given we already ensure nothing can set the zeroth register in SetRegister(), we don't need to check if the index is zero and special case it. We can just access the register normally, since it's already going to be zero. We can also replace the assertion with .at() to perform the equivalent behavior inline as part of the API.
-
- Apr 05, 2019
-
-
bunnei authored
filesystem: Use a std::string_view in OpenFile()
-
bunnei authored
gpu_thread: Improve synchronization by using CoreTiming.
-
bunnei authored
file_sys/control_metadata: Amend naming of members
-
bunnei authored
hle/service: Resolve unused variable warnings
-
bunnei authored
gl_shader_decompiler: Fix TXQ types
-
bunnei authored
yuzu/main: Minor adjustments to OnTransferableShaderCacheOpenFile()
-
bunnei authored
video_core/renderer_opengl: Remove unnecessary includes
-
bunnei authored
yuzu/main: Remove unnecessary includes
-
Lioncash authored
Rather than make a full copy of the path, we can just use a string view and truncate the viewed portion of the string instead of creating a totally new truncated string.
-
- Apr 04, 2019
-
-
ReinUsesLisp authored
TXQ returns integer types. Shaders usually do: R0 = TXQ(); // => int R0 = static_cast<float>(R0); If we don't treat it as an integer, it will cast a binary float value as float - resulting in a corrupted number.
-
Lioncash authored
In several places, we have request parsers where there's nothing to really parse, simply because the HLE function in question operates on buffers. In these cases we can just remove these instances altogether. In the other cases, we can retrieve the relevant members from the parser and at least log them out, giving them some use.
-
Lioncash authored
Quite a few unused includes have built up over time, particularly on core/memory.h. Removing these includes means the source files including those files will no longer need to be rebuilt if they're changed, making compilation slightly faster in this scenario.
-
Lioncash authored
While we're at it, don't use <QtGui> and <QtWidgets> and instead include exactly which headers we actually need.
-
Lioncash authored
Allows these strings to have no allocation cost when used at runtime.
-
Lioncash authored
Rather than scream that the file doesn't exist, we can clearly state what specifically doesn't exist, to avoid ambiguity, and make it easier to understand for non-primary English speakers/readers.
-
Lioncash authored
We can just make the trailing portion of the string part of the formatting, getting rid of the need to make another temporary string.
-
Lioncash authored
Simplifies the amount of string conversions necessary. We also don't need to log out what occurs here.
-
Lioncash authored
There's no need to construct a QFile instance just to check for its existence.
-
bunnei authored
common/lz4_compression: Remove #pragma once directive from the cpp file
-
bunnei authored
service/am: Correct behavior of CreateTransferMemoryStorage()
-
bunnei authored
frontend: Open transferable shader cache for a selected game in the gamelist
-
bunnei authored
Better LZ4 compression utilization for the disk based shader cache and the yuzu build system
-
bunnei authored
gl_shader_manager: Remove reliance on a global accessor within MaxwellUniformData::SetFromRegs()
-
bunnei authored
kernel/object: Remove unused handle type entry
-
Lioncash authored
Quite a bit of these were out of sync with Switchbrew (and in some cases entirely wrong). While we're at it, also expand the section of named members. A segment within the control metadata is used to specify maximum values for the user, device, and cache storage max sizes and journal sizes. These appear to be generally used by the am service (e.g. in CreateCacheStorage, etc).
-
- Apr 03, 2019
-
-
Lioncash authored
For whatever reason, shared memory was being used here instead of transfer memory, which (quite clearly) will not work based off the name of the function. This corrects this wonky usage of shared memory.
-
Lioncash authored
Also amend erroneous use of size_t. We should be using u64 here.
-
bunnei authored
service/am: Implement EnterFatalSection/LeaveFatalSection
-
bunnei authored
yuzu/debugger/profiler: Remove unnecessary includes
-
bunnei authored
vk_swapchain: Implement a swapchain manager
-
bunnei authored
kernel/shared_memory: Sanitize supplied size when unmapping
-
bunnei authored
kernel/thread: Minor interface cleanup
-
bunnei authored
yuzu/applets/{profile_select, software_keyboard}: Use QDialogButtonBox standard buttons instead of custom ones where applicable
-
Lioncash authored
Like the previous change, this allows Qt to handle proper translations of the UI buttons, rather than us needing to handle it.
-
Lioncash authored
Makes for shorter code, while also not requiring the buttons to be directly translated, they'll be handled by Qt itself.
-
Lioncash authored
The AddressArbiter type isn't actually used, given the arbiter itself isn't a direct kernel object (or object that implements the wait object facilities). Given this, we can remove the enum entry entirely.
-