summaryrefslogtreecommitdiff
path: root/src/yuzu/main.cpp
AgeCommit message (Collapse)Author
2021-01-03main: Resolve error string not displayingLioncash
During the transition to make the error dialog translatable, I accidentally got rid of the conversion to ResultStatus, which prevented operator<< from being invoked during formatting. This adds a function to directly retrieve the result status string instead so that it displays again.
2021-01-02Merge pull request #5267 from lioncash/localizebunnei
main: Make the loader error dialog fully translatable
2021-01-02general: Fix various spelling errorsMorph
2020-12-31yuzu/main: fix mouse not showing on move and port citra-emu/citra#5476gal20
2020-12-31main: Make the loader error dialog fully translatableLioncash
Makes the dialog fully localizable and also adds disambiguation comments to help translators understand what the formatting specifiers indicate.
2020-12-31main: Tidy up enum comparisonLioncash
enum classes are comparable with one another, so these casts aren't necessary.
2020-12-28core: settings: Untangle multicore from asynchronous GPU.bunnei
- Now that GPU is always threaded, we can support multicore with synchronous GPU.
2020-12-25yuzu/main: Add basic command line argumentsMorph
The following command line arguments are supported: yuzu.exe "path_to_game" - Launches a game at "path_to_game" yuzu.exe -f - Launches the next game in fullscreen yuzu.exe -g "path_to_game" - Launches a game at "path_to_game" yuzu.exe -f -g "path_to_game" - Launches a game at "path_to_game" in fullscreen
2020-12-24cmake: Always enable VulkanReinUsesLisp
Removes the unnecesary burden of maintaining separate #ifdef paths and allows us sharing generic Vulkan code across APIs.
2020-12-23Merge pull request #5217 from lat9nq/save-on-bootbunnei
yuzu/main: Save settings when starting guest
2020-12-22yuzu/main: Improve menubar access keyslat9nq
Adds a unique access key to each action within each menu. A few actions already had their own access key, so those were untouched.
2020-12-22Add option to reset window size to 1080pgerman
2020-12-22yuzu/main: Save settings when starting guestlat9nq
Saves UISettings and Settings when booting a guest. Moves updating UISettings::values from GMainWindow::closeEvent into its own function, then reuses it in GMainWindow::BootGame.
2020-12-18applets/web: Implement the online web browser appletMorph
2020-12-18applets/web: Fix keyboard to emulated controller inputMorph
2020-12-18main: Add the ability to disable the web appletMorph
This should only be used for Super Mario 3D All-Stars. This is a temporary solution until it can be implemented properly.
2020-12-18main, applets/web: Re-add progress dialog for RomFS extractionMorph
2020-12-18applets/web: Implement the Qt web browser applet frontendMorph
2020-12-18applets: Remove the previous web browser applet implementationMorph
2020-12-08file_sys: Consolidate common Title ID operationsMorph
2020-11-30Disable web applet and warning when compiling for Linux on CIlat9nq
yuzu's web applet does not or barely reacts to user input while open in Linux. It can be closed via 'Exit Web Applet' on the menubar, however if yuzu is in fullscreen, this is effectively a softlock as the menubar cannot be accessed. This disables building yuzu with the web applet on the Linux CI target. In addition, this disables the QMessageBox warning about not having compiled yuzu with the web applet.
2020-11-27core: Eliminate remaining usages of the global system instanceLioncash
Removes all remaining usages of the global system instance. After this, migration can begin to migrate to being constructed and managed entirely by the various frontends.
2020-11-27savedata_factory: Eliminate usage of the global system instanceLioncash
Now there's only two meaningful instances left in core.
2020-11-24frontend: yuzu (qt): Register a callback for ExecuteProgram.bunnei
2020-11-18patch_manager: Remove usages of the global system instanceLioncash
With this, only 19 usages of the global system instance remain within the core library. We're almost there.
2020-11-15general: Fix compiler warnings on linux and miscellaneous changesMorph
2020-11-15input_common: Add VibrationDevice and VibrationDeviceFactoryMorph
A vibration device is an input device that returns an unsigned byte as status. It represents whether the vibration device supports vibration or not. If the status returns 1, it supports vibration. Otherwise, it does not support vibration.
2020-11-15settings: Preparation for per-game input settingsMorph
2020-11-15config: Migrate config files into config/customMorph
Co-authored-by: lat9nq <lat9nq@virginia.edu>
2020-11-15applets/controller: Auto accept a valid single player configurationMorph
2020-11-15input_profiles: Implement input profilesMorph
2020-10-22Don't ask for profile when there's only one.Kewlan
2020-09-26main: Allow applets to display on top while fullscreenMorph
Using the Qt::WindowStaysOnTopHint flag allows these dialogs to show up on top while running in fullscreen. However, if yuzu goes out of focus (by alt-tabbing or otherwise), this flag does not seem to have an effect.
2020-09-23game_list: Make game list function naming consistentLioncash
Makes the naming consistent with the rest of the functions that are present.
2020-09-14crypto/key_manager: Remove dependency on the global system accessorLioncash
We can supply the content provider as an argument instead of hardcoding a global accessor in the implementation.
2020-09-04main: Apply settings after applet configuration is complete.Morph
2020-09-04Project Mjölnir: Part 2 - Controller AppletMorph
Co-authored-by: Its-Rei <kupfel@gmail.com>
2020-08-29yuzu/main: Amend lifetime issues with InputSubsystemLioncash
Due to the way Qt performs destruction of parent/child widgets, we need to make the lifetime of the input subsystem shared across the main window and the render window.
2020-08-27input_common: Eliminate most global stateLioncash
Abstracts most of the input mechanisms under an InputSubsystem class that is managed by the frontends, eliminating any static constructors and destructors. This gets rid of global accessor functions and also allows the frontends to have a more fine-grained control over the lifecycle of the input subsystem. This also makes it explicit which interfaces rely on the input subsystem instead of making it opaque in the interface functions. All that remains to migrate over is the factories, which can be done in a separate change.
2020-08-18common/telemetry: Migrate namespace into the Common namespaceLioncash
Migrates the Telemetry namespace into the Common namespace to make the code consistent with the rest of our common code.
2020-08-18Merge pull request #4381 from Morph1984/fix-open-folder-installed-titlebunnei
main: Fix Open Save/Mod Locations for installed titles
2020-08-17Merge pull request #4535 from lioncash/fileutilbunnei
common/fileutil: Convert namespace to Common::FS
2020-08-16common/fileutil: Convert namespace to Common::FSLioncash
Migrates a remaining common file over to the Common namespace, making it consistent with the rest of common files. This also allows for high-traffic FS related code to alias the filesystem function namespace as namespace FS = Common::FS; for more concise typing.
2020-08-15main: Add an option to modify the currrent game's configurationlat9nq
Creates a new entry in the Emulation menu called "Configure Current Game..." that is only available if a game is currently being executed in yuzu. When selected, it opens the game properties dialog for the current game. Thanks to @BSoDGamingYT for reminding me to do this.
2020-08-04main: Fallback to loader if no control nca is found with patch managerMorph
In some rare instances, the patch manager is not able to find a control nca, fallback to the previous method of parsing a control nca through the loader if this occurs.
2020-08-04main: Fix Open Save/Mod Locations for installed titlesMorph
Previously NAND/SDMC installed titles would open device saves when they are supposed to be user saves. This is due to the control nca not being read and thus returns 0 for both GetDefaultNormalSaveSize() and GetDeviceSaveDataSize(). Fix this by utilizing the patch manager to read the control nca.
2020-08-03yuzu: Resolve C++20 deprecation warnings related to lambda capturesLioncash
C++20 deprecates capturing the this pointer via the '=' capture. Instead, we replace it or extend the capture specification.
2020-08-03Merge pull request #4263 from lat9nq/fix-screencaps-2David
screenshots: Option to save screenshots immediately in a specified directory + Linux workaround
2020-08-03Merge pull request #4438 from lioncash/localizingDavid
yuzu/main: Remove redundant usages of QStringLiteral("")
2020-07-29main: Add support for removing SDMC installed titlesMorph