Lioncash
c6f05b586f
yuzu_cmd/yuzu: Correct formatting specifier
Amends the formatting specifier to obey libfmt. Prevents the application
from terminating due to a formatting issue in the error case.
7 years ago
Lioncash
84a8fb9264
core/loader: Remove LoadKernelSystemMode
This is a hold-over from Citra and doesn't apply to yuzu.
7 years ago
Lioncash
b1a4ab2ccc
core/telemetry_session: Remove unnecessary web service nulling out in destructor
This will automatically occur when the backend instance goes out of
scope at the end of the destructor's execution.
7 years ago
Lioncash
215fd82738
core/telemetry_session: Remove usages of the global system accessor
Makes the dependency explicit in the TelemetrySession's interface
instead of making it a hidden dependency.
This also revealed a hidden issue with the way the telemetry session was
being initialized. It was attempting to retrieve the app loader and log
out title-specific information. However, this isn't always guaranteed to
be possible.
During the initialization phase, everything is being constructed. It
doesn't mean an actual title has been selected. This is what the Load()
function is for. This potentially results in dead code paths involving
the app loader. Instead, we explicitly add this information when we know
the app loader instance is available.
7 years ago
Lioncash
05af9d915c
core/telemetry_session: Explicitly delete copy and move constructors
NonCopyable is misleading here. It also makes the class non-moveable as
well, so we can be explicit about this.
7 years ago
Lioncash
2fb3b9b951
core/telemetry_session: Remove unused include
7 years ago
bunnei
cfd885163f
Merge pull request #2519 from lioncash/sign
loader/nso, core/core_timing_util: Silence sign-comparison warning
7 years ago
bunnei
2eb4d27c48
Merge pull request #2524 from ReinUsesLisp/fixup-extension
gl_shader_gen: Always declare extensions after the version declaration
7 years ago
ReinUsesLisp
21c0b4dec8
gl_device: Add commentary to AOFFI unit test source code
The intention behind this commit is to hint someone inspecting an
apitrace dump to ignore this ill-formed GLSL code.
7 years ago
ReinUsesLisp
84928e6d67
gl_shader_gen: Always declare extensions after the version declaration
This addresses a bug on geometry shaders where code was being written
before all #extension declarations were done. Ref to #2523
7 years ago
Zach Hilman
52b80d231c
ncm: Implement LR OpenAddOnContentLocationResolver (2)
Returns an object of type IAddOnContentLocationResolver for the provided StorageId.
7 years ago
Zach Hilman
e0920ef4ba
ncm: Implement LR OpenRegisteredLocationResolver (1)
Returns an object of type IRegisteredLocationResolver for the StorageId.
7 years ago
Zach Hilman
33ac193bf6
ncm: Implement LR OpenLocationResolver (0)
Returns an object of type ILocationResolver with the provided StorageId.
7 years ago
Zach Hilman
46e2ca5475
game_list_worker: Add better error handling to caching
7 years ago
Zach Hilman
944c07ac7d
yuzu: Clear partial/full game list cache when data is updated
7 years ago
Zach Hilman
f95bdb5088
game_list: Implement caching for game list
Preserves list of add ons and the icon, which are the two costliest parts of game list population.
7 years ago
Zach Hilman
180f22f17e
ui_settings: Add option to cache game list
7 years ago
Zach Hilman
b77fde7c5c
loader: Move NSO module tracking to AppLoader
Also cleanup of general stuff
7 years ago
ReinUsesLisp
f424b46036
vk_device: Let formats array type be deduced
7 years ago
ReinUsesLisp
a4c5e3e339
vk_shader_decompiler: Misc fixes
Fix missing OpSelectionMerge instruction. This caused devices loses on
most hardware, Intel didn't care.
Fix [-1;1] -> [0;1] depth conversions.
Conditionally use VK_EXT_scalar_block_layout. This allows us to use
non-std140 layouts on UBOs.
Update external Vulkan headers.
7 years ago
ReinUsesLisp
dec3c981d0
vk_device: Enable features when available and misc changes
Keeps track of native ASTC support, VK_EXT_scalar_block_layout
availability and SSBO range.
Check for independentBlend and vertexPipelineStorageAndAtomics as a
required feature. Always enable it.
Use vk::to_string format to log Vulkan enums.
Style changes.
7 years ago
ReinUsesLisp
37eaf39b44
emu_window: Pass OnMinimalClientAreaChangeRequest argument by copy
There's no performance improvement in passing an unsigned pair by
reference.
7 years ago
bunnei
90c9d703ba
Merge pull request #2516 from lioncash/label
renderer_opengl/utils: Use a std::string_view with LabelGLObject()
7 years ago
bunnei
bb248a2710
Merge pull request #2509 from lioncash/aoc
service/aoc_u: Minor cleanup
7 years ago
bunnei
f97e206348
Merge pull request #2511 from lioncash/file-str
common/file_util: Minor cleanup
7 years ago
bunnei
91300bdfb2
Merge pull request #2517 from lioncash/hotkey
configure_hotkeys: Minor cleanup
7 years ago
Lioncash
0fa039d8d0
core_timing_util: Silence sign-comparison warnings
We can just make the conversion explicit instead of implicit here to
silence -Wsign-compare warnings.
7 years ago
Lioncash
e5159cfb84
loader/nso: Silence sign-comparison warning
This was previously performing a size_t == int comparison. Silences a
-Wsign-compare warning.
7 years ago
ReinUsesLisp
4b80dd23a4
yuzu_cmd: Split emu_window OpenGL implementation into its own file
7 years ago
Zach Hilman
cdf52b9374
prepo: Save reports from PlayReport service
Logs a lot of seemingly innocuous telemetry games generate.
7 years ago
Zach Hilman
34e9736910
fatal: Save report on fatal:u call
Matches offical behavior with creport and replaces old log/text based report system.
7 years ago
Zach Hilman
fc309bf893
service: Save report on unimplemented function call
7 years ago
Zach Hilman
24392c8ec8
applets/error: Save report on error applet
This matches official behavior with the erpt/eclct/eupld service chain.
7 years ago
Zach Hilman
bdc47693f1
applets: Save report on stubbed applet
This also reworks the applet data storage to be peekable.
7 years ago
Zach Hilman
186db894b9
svc: Save report on call to svcBreak
7 years ago
Zach Hilman
2dde8f5cfe
core: Add Reporter class to take/save reports
7 years ago
Zach Hilman
6f0ee45b5c
qt: Make UI option for 'Reporting Services' temporary
Reports are unnecessary for normal users and this is to prevent 'power' users from enabling the feature by accident.
7 years ago
Zach Hilman
658d2ee97d
settings: Add 'Reporting Services' config option
Full enable/disable for all reports.
7 years ago
Zach Hilman
5574be21cc
arm_interface: Expand backtrace generation
Returns results as a vector of entries for further processing. Logs addresses, offsets, and mangled name.
7 years ago
Zach Hilman
2179ad7483
core: Track load offsets of NSO modules
Needed for backtrace decomposition
7 years ago
Lioncash
88cd5e888e
configure_hotkeys: Remove unnecessary Settings::Apply() call
Nothing from the hotkeys dialog relies on this call occurring, and is
already called from the dialog that calls applyConfiguration().
7 years ago
Lioncash
6640f631e2
configure_hotkeys: Tidy up key sequence conflict error string
Avoids mentioning the user and formalizes the error itself.
7 years ago
Lioncash
d61199721d
configure_hotkeys: Change critical error dialog into a warning dialog
critical() is intended for critical/fatal errors that threaten the
overall stability of an application. A user entering a conflicting key
sequence is neither of those.
7 years ago
Lioncash
ef3c0f54d0
configure_hotkeys: Move conflict detection logic to IsUsedKey()
We don't need to extract the entire set of hotkeys into a list and then
iterate through it. We can traverse the list and early-exit if we're
able to.
7 years ago
Lioncash
c03fb00ac1
configure_hotkeys: Remove unused EmitHotkeysChanged()
1. This is something that should be solely emitted by the hotkey dialog
itself
2. This is functionally unused, given there's nothing listening for the
signal.
7 years ago
Lioncash
5d645c6dd9
sequence_dialog: Reorganize the constructor
The previous code was all "smushed" together wasn't really grouped
together that well.
This spaces things out and separates them by relation to one another,
making it easier to visually parse the individual sections of code that
make up the constructor.
7 years ago
Lioncash
9218e347cd
sequence_dialog: Remove unnecessary horizontal specifier
QDialogButtonBoxes are horizontal by default.
7 years ago
Lioncash
5a4564bd8e
renderer_opengl/utils: Use a std::string_view with LabelGLObject()
Uses a std::string_view instead of a std::string, given the pointed to
string isn't modified and is only used in a formatting operation.
This is nice because a few usages directly supply a string literal to
the function, allowing these usages to otherwise not heap allocate,
unlike the std::string overloads.
While we're at it, we can combine the address formatting into a single
formatting call.
7 years ago
bunnei
e86d2e2e5b
Merge pull request #2513 from lioncash/string
yuzu/main: Specify string conversions explicitly
7 years ago
bunnei
68c9c9222d
Merge pull request #2358 from ReinUsesLisp/parallel-shader
gl_shader_cache: Use shared contexts to build shaders in parallel at boot
7 years ago