summaryrefslogtreecommitdiff
path: root/src/yuzu
AgeCommit message (Collapse)Author
2018-08-06Merge pull request #947 from lioncash/encodingbunnei
game_list: Use QString::fromStdString() where applicable instead of c_str()
2018-08-06GDBStub works with both Unicorn and Dynarmic now (#941)Hedges
* GDBStub works with both Unicorn and Dynarmic now * Tidy up
2018-08-06Merge pull request #943 from lioncash/declbunnei
game_list: Join declarations and assignments in onTextChanged()
2018-08-06Merge pull request #946 from lioncash/compressbunnei
qt/main: Collapse if statement in UpdateRecentFiles()
2018-08-06Merge pull request #944 from lioncash/menubunnei
qt: Don't show error dialog when canceling the Load Folder dialog
2018-08-06Merge pull request #942 from lioncash/defaultbunnei
qt: Minor cleanup-related changes
2018-08-06Merge pull request #940 from lioncash/privatebunnei
kernel/event: Make data members private
2018-08-06qt/main: Avoid sign conversions in UpdateRecentFiles()Lioncash
This was intermixing signed and unsigned values when they could all just be signed.
2018-08-06game_list: Remove unnecessary conversion to std::string in ValidateEntry()Lioncash
We can just use the file interfaces that Qt provides to prevent needing to convert to std::string.
2018-08-06game_list: Use QString::fromStdString() where applicable instead of c_str()Lioncash
The codec used by Qt for const char* and std::string don't necessarily have to be the same depending on locale. Therefore, we should be using the correct functions to do the conversions.
2018-08-06game_list: Join declarations and assignments in onTextChanged()Lioncash
There's no need to keep these separate from one another.
2018-08-06qt/main: Collapse if statement in UpdateRecentFiles()Lioncash
Given the function accepts a boolean, we don't need to use an if statement here and repeat ourselves.
2018-08-06qt/main: Better file-existence checking within OnMenuRecentFile() and ↵Lioncash
UpdateUITheme() In OnMenuRecentFile() we don't need to construct a QFileInfo instance just to check if a file exists, we can just use the static member function to do that (which Qt's documentation also notes as quicker than constructing an instance). In UpdateUITheme(), we just want to try and open the file and check the success of that operation. Technically speaking, between the existence check and the open call, the file can be deleted or moved, but still appear to succeed in code. i.e. 1. Existence check -> Returns true 2. File is moved/deleted 3. Open is called, the return value of which isn't checked 4. Nonsense behavior This way we combine the existence check and the open into one.
2018-08-06qt: Don't show error dialog when canceling the Load Folder dialogLioncash
Previously, when canceling out of the Load Folder dialog, a user would get an error dialog about the selected folder not containing a main file, however, by canceling out of the dialog, no selection was actually made.
2018-08-06qt/game_list_p: Remove redundant base class constructor invocationsLioncash
These occur automatically without the need to call them. While we're at it, also std::move the QString instance into its member variable.
2018-08-06qt: Add missing override specifiers where applicableLioncash
2018-08-06qt: Default destructors where applicableLioncash
Makes code consistent with our style of defaulting special member functions where applicable.
2018-08-06kernel/event: Make data members privateLioncash
Instead we can simply provide accessors to the required data instead of giving external read/write access to the variables directly.
2018-08-05Merge pull request #912 from lioncash/global-varbunnei
video_core: Eliminate the g_renderer global variable
2018-08-04Merge pull request #849 from DarkLordZach/xcibunnei
XCI and Encrypted NCA Support
2018-08-04video_core: Eliminate the g_renderer global variableLioncash
We move the initialization of the renderer to the core class, while keeping the creation of it and any other specifics in video_core. This way we can ensure that the renderer is initialized and doesn't give unfettered access to the renderer. This also makes dependencies on types more explicit. For example, the GPU class doesn't need to depend on the existence of a renderer, it only needs to care about whether or not it has a rasterizer, but since it was accessing the global variable, it was also making the renderer a part of its dependency chain. By adjusting the interface, we can get rid of this dependency.
2018-08-03Added ability to change username & language code in the settings ui. Added ↵David
IProfile::Get and SET::GetLanguageCode for libnx tests (#851)
2018-08-03Merge pull request #892 from lioncash/globalbunnei
video_core: Make global EmuWindow instance part of the base renderer …
2018-08-03Merge pull request #894 from lioncash/objectbunnei
kernel: Move object class to its own source files
2018-08-02yuzu: Use Qt 5 signal/slots where applicableLioncash
Makes the signal/slot connections type-safe instead of string-based.
2018-08-01kernel: Move object class to its own source filesLioncash
General moving to keep kernel object types separate from the direct kernel code. Also essentially a preliminary cleanup before eliminating global kernel state in the kernel code.
2018-08-01video_core: Make global EmuWindow instance part of the base renderer classLioncash
Makes the global a member of the RendererBase class. We also change this to be a reference. Passing any form of null pointer to these functions is incorrect entirely, especially given the code itself assumes that the pointer would always be in a valid state. This also makes it easier to follow the lifecycle of instances being used, as we explicitly interact the renderer with the rasterizer, rather than it just operating on a global pointer.
2018-08-01Fix merge conflicts with opus and update docsZach Hilman
2018-08-01Use more descriptive error codes and messagesZach Hilman
2018-08-01Make XCI comply to review and style guidelinesZach Hilman
2018-08-01Remove files that are not usedZach Hilman
2018-07-31audio_core: Add configuration settings.bunnei
2018-07-30Merge pull request #859 from FearlessTobi/port-3837bunnei
Port #3837 from Citra: "citra-qt: Add build date in about dialog"
2018-07-30Port #3769 from Citra: "Update Dark theme to latest version"Tobias
2018-07-30Merge pull request #860 from FearlessTobi/port-3911bunnei
Port #3911 from Citra: "citra-qt: optimize settings application"
2018-07-29Port #3913 from Citra: "citra_qt: Remove obsolete application attribute"fearlessTobi
2018-07-29Port #3911 from Citra: "Optimize settings application"fearlessTobi
2018-07-29Port #3837 from Citra: "Add build date in about dialog"fearlessTobi
2018-07-27Merge pull request #839 from FearlessTobi/actually-port-3594bunnei
Port #3594 from Citra: "citra_qt: Add Continue/Pause & Toggle Speed Limit hotkeys"
2018-07-27Merge pull request #837 from lioncash/privbunnei
kernel/timer: Make data members private where applicable
2018-07-26Port #3594 from CitrafearlessTobi
2018-07-26kernel/timer: Make data members private where applicableLioncash
Instead, we can just expose functions that return the queryable state instead of letting anything modify it.
2018-07-26Port #3665 from CitrafearlessTobi
2018-07-25wait_tree: Add missing switch case for WaitTreeThread::GetText()Lioncash
We were missing the enum entry for WaitIPC
2018-07-24wait_tree: Silence warning about all code paths not returning a valueLioncash
If code execution hits this spot, something has gone very wrong, so mark the path as unreachable. This silences a warning on MSVC.
2018-07-22Frontend: Check for more required OpenGL extensions during startup.Subv
2018-07-21file_util: Use a u64 to represent number of entriesLioncash
This avoids a truncating cast on size. I doubt we'd ever traverse a directory this large, however we also shouldn't truncate sizes away.
2018-07-21file_util: Use an enum class for GetUserPath()Lioncash
Instead of using an unsigned int as a parameter and expecting a user to always pass in the correct values, we can just convert the enum into an enum class and use that type as the parameter type instead, which makes the interface more type safe. We also get rid of the bookkeeping "NUM_" element in the enum by just using an unordered map. This function is generally low-frequency in terms of calls (and I'd hope so, considering otherwise would mean we're slamming the disk with IO all the time) so I'd consider this acceptable in this case.
2018-07-20gpu: Rename Get3DEngine() to Maxwell3D()Lioncash
This makes it match its const qualified equivalent.
2018-07-19thread: Convert ThreadStatus into an enum classLioncash
Makes the thread status strongly typed, so implicit conversions can't happen. It also makes it easier to catch mistakes at compile time.