summaryrefslogtreecommitdiff
path: root/src/yuzu
AgeCommit message (Collapse)Author
2019-04-17kernel/thread: Unify wait synchronization typesLioncash
This is a holdover from Citra, where the 3DS has both WaitSynchronization1 and WaitSynchronizationN. The switch only has one form of wait synchronizing (literally WaitSynchonization). This allows us to throw out code that doesn't apply at all to the Switch kernel. Because of this unnecessary dichotomy within the wait synchronization utilities, we were also neglecting to properly handle waiting on multiple objects. While we're at it, we can also scrub out any lingering references to WaitSynchronization1/WaitSynchronizationN in comments, and change them to WaitSynchronization (or remove them if the mention no longer applies).
2019-04-17yuzu/bootmanager: Replace unnnecessary constructor initializer list member ↵Lioncash
of GGLContext The default constructor will always run, even when not specified, so this is redundant. However, the context member can indeed be initialized in the constructor initializer list.
2019-04-16yuzu/bootmanager: Remove unnecessary includesLioncash
This include isn't used anymore so it can be removed.
2019-04-16yuzu/bootmanager: Resolve constructor initializer list warningsLioncash
Resolves -Wreorder warnings. These will automatically be initialized to nullptr anyways, so these were redundant.
2019-04-16Merge pull request #2405 from lioncash/qtbunnei
CMakeLists: Define QT_USE_QSTRINGBUILDER for the Qt target
2019-04-16Merge pull request #2376 from lioncash/constbunnei
yuzu/configure_hotkey: Minor changes
2019-04-15CMakeLists: Define QT_USE_QSTRINGBUILDER for the Qt targetLioncash
This is a compile definition introduced in Qt 4.8 for reducing the total potential number of strings created when performing string concatenation. This allows for less memory churn. This can be read about here: https://blog.qt.io/blog/2011/06/13/string-concatenation-with-qstringbuilder/ For a change that isn't source-compatible, we only had one occurrence that actually need to have its type clarified, which is pretty good, as far as transitioning goes.
2019-04-13Merge pull request #2357 from zarroboogs/force-30fps-modebunnei
Add a toggle to force 30FPS mode
2019-04-13Merge pull request #2017 from jroweboy/glwidgetbunnei
Frontend: Migrate to QOpenGLWindow and support shared contexts
2019-04-12Fix Clang FormatFreddyFunk
2019-04-11ui_settings: Rename game directory variablesFreddyFunk
2019-04-09Merge pull request #2353 from lioncash/surfacebunnei
yuzu/debugger: Remove graphics surface viewer
2019-04-09configure_hotkeys: Pass the dialog as a parent to SequenceDialog()Lioncash
Without passing in a parent, this can result in focus being stolen from the dialog in certain cases. Example: On Windows, if the logging window is left open, the logging Window will potentially get focus over the hotkey dialog itself, since it brings all open windows for the application into view. By specifying a parent, we only bring windows for the parent into view (of which there are none, aside from the hotkey dialog).
2019-04-09configure_hotkeys: Avoid dialog memory leak within Configure()Lioncash
Without a parent, this dialog won't have its memory freed when it happens to get destroyed.
2019-04-09configure_hotkeys: Mark member variables as const where applicable in ↵Lioncash
Configure()
2019-04-09configure_hotkeys: Make comparison check a little more self-documentingLioncash
This is checking if an index is valid or not and returning early if it isn't.
2019-04-09configure_dialog: Amend constructor initializer list orderLioncash
Avoids a -Wreorder compiler warning.
2019-04-09configure_hotkey: Remove unnecessary includeLioncash
Avoids dumping all of the core settings machinery into whatever files include this header. Nothing inside the header itself actually made use of anything in settings.h anyways.
2019-04-09configure_hotkey: Make IsUsedKey() a const member functionLioncash
This doesn't actually modify instance state of the dialog, so this can be made const.
2019-04-09Merge pull request #1957 from DarkLordZach/title-providerbunnei
file_sys: Provide generic interface for accessing game data
2019-04-09Merge pull request #2132 from FearlessTobi/port-4437bunnei
Port citra-emu/citra#4437: "citra-qt: Make hotkeys configurable via the GUI (Attempt 2)"
2019-04-09yuzu/loading_screen: Resolve runtime Qt string formatting warningsLioncash
In our error console, when loading a game, the strings: QString::arg: Argument missing: "Loading...", 0 QString::arg: Argument missing: "Launching...", 0 would occasionally pop up when the loading screen was running. This was due to the strings being assumed to have formatting indicators in them, however only two out of the four strings actually have them. This only applies the arguments to the strings that have formatting specifiers provided, which avoids these warnings from occurring.
2019-04-09added a toggle to force 30fps modezarroboogs
2019-04-05yuzu/debugger: Remove graphics surface viewerLioncash
This doesn't actually work anymore, and given how long it's been left in that state, it's unlikely anyone actually seriously used it. Generally it's preferable to use RenderDoc or Nsight to view surfaces.
2019-04-05yuzu/debugger/graphics_surface: Display error messages for file I/O errorsLioncash
2019-04-05yuzu/debugger/graphics_surface: Tidy up SaveSurfaceLioncash
- Use QStringLiteral where applicable. - Use const where applicable - Remove unnecessary precondition check (we already assert the pixbuf being non null)
2019-04-05yuzu/debugger/graphics_surface: Clean up connection overload deductionLioncash
We can utilize qOverload with the signal connections to make the function deducing a little less ugly.
2019-04-05yuzu/debugger/graphics_surface: Fill in missing surface format listingsLioncash
Fills in the missing surface types that were marked as unknown. The order corresponds with the TextureFormat enum within video_core/texture.h. We also don't need to all of these strings as translatable (only the first string, as it's an English word).
2019-04-04Merge pull request #2331 from lioncash/cachebunnei
yuzu/main: Minor adjustments to OnTransferableShaderCacheOpenFile()
2019-04-04yuzu/main: Remove unnecessary includesLioncash
While we're at it, don't use <QtGui> and <QtWidgets> and instead include exactly which headers we actually need.
2019-04-04yuzu/main: Use QStringLiteral where applicable within ↵Lioncash
OnTransferableShaderCacheOpenFile() Allows these strings to have no allocation cost when used at runtime.
2019-04-04yuzu/main: Tidy up the error dialog string in ↵Lioncash
OnTransferableShaderCacheOpenFile() 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.
2019-04-03yuzu/main: Remove unnecessary string concatenation in ↵Lioncash
OnTransferableShaderCacheOpenFile() We can just make the trailing portion of the string part of the formatting, getting rid of the need to make another temporary string.
2019-04-03yuzu/main: Make open_target a QStringLioncash
Simplifies the amount of string conversions necessary. We also don't need to log out what occurs here.
2019-04-03yuzu/main: Use static variant of QFile's exists()Lioncash
There's no need to construct a QFile instance just to check for its existence.
2019-04-03Merge pull request #2095 from FreddyFunk/open-transferable-shader-cachebunnei
frontend: Open transferable shader cache for a selected game in the gamelist
2019-04-03Merge pull request #2323 from lioncash/includebunnei
yuzu/debugger/profiler: Remove unnecessary includes
2019-04-03yuzu/applets/software_keyboard: Use QDialogButtonBox standard buttons ↵Lioncash
instead of custom buttons Like the previous change, this allows Qt to handle proper translations of the UI buttons, rather than us needing to handle it.
2019-04-03yuzu/applets/profile_select: Use QDialogButtonBox standard buttons instead ↵Lioncash
of custom buttons Makes for shorter code, while also not requiring the buttons to be directly translated, they'll be handled by Qt itself.
2019-04-03yuzu/debugger/profiler: Remove unnecessary includesLioncash
Moves includes into the cpp file where necessary. This way, microprofile-related stuff isn't dumped into other UI-related code when the dialog header gets included.
2019-04-01Merge pull request #2301 from FearlessTobi/remove-amiibo-settingbunnei
core/yuzu: Remove enable_nfc setting
2019-04-01general: Use deducation guides for std::lock_guard and std::unique_lockLioncash
Since C++17, the introduction of deduction guides for locking facilities means that we no longer need to hardcode the mutex type into the locks themselves, making it easier to switch mutex types, should it ever be necessary in the future.
2019-03-29core/yuzu: Remove enable_nfc settingfearlessTobi
This was initially added to prevent problems from stubbed/not implemented NFC services, but as we never encountered such and as it's only used in a deprecated function anyway, I guess we can just remove it to prevent more clutter of the settings.
2019-03-28Merge pull request #2266 from FernandoS27/arbitrationbunnei
Kernel: Fixes to Arbitration and SignalProcessWideKey Management
2019-03-26game_list: Register content with ContentProviderZach Hilman
2019-03-25bootmanager: Bypass input focus issuesReinUsesLisp
2019-03-25bootmanager: Bypass resizing issueReinUsesLisp
2019-03-25bootmanager: Delete container to avoid crash on game restartingReinUsesLisp
While we are at it, remove nullptr checks for deletion, since the C++ standard defines that delete does it by its own
2019-03-20gpu: Move GPUVAddr definition to common_types.bunnei
2019-03-20Merge pull request #2239 from FearlessTobi/port-4684bunnei
Port citra-emu/citra#4684: "frontend: qt: fix a freeze where if you click on entry in the game list too fast, citra will hang"