aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu
AgeCommit message (Collapse)Author
2018-10-24Merge pull request #1567 from lioncash/translatebunnei
game_list: Make game list column headers translatable
2018-10-24Merge pull request #1566 from lioncash/strbunnei
bootmanager: Use QStringLiteral instead of std::string to represent the window title.
2018-10-24game_list_worker: Use QString's formatting instead of fmt in ↵Lioncash
FormatPatchNameVersions() Using fmt here requires unnecessary string conversions back into QString. Instead, we can just use QString's formatting and get the end result of the formatting operation in the proper type.
2018-10-24profile_manager: Use std::optional instead of boost::optionalLioncash
Now that we can actually use std::optional on macOS, we don't need to continue using boost::optional here.
2018-10-24graphic_breakpoints: Correct translation of strings in BreakpointModel's ↵Lioncash
data() function tr() will not function properly on static/global data like this, as the object is only ever constructed once, so the strings won't translate if the language is changed without restarting the program, which is undesirable. Instead we can just turn the map into a plain old function that maps the values to their equivalent strings. This is also lessens the memory allocated, since it's only allocating memory for the strings themselves, and not an encompassing map as well.
2018-10-24yuzu/main: Notify user of loading errors with Amiibo dataLioncash
We shouldn't silently continue if loading failed, since the general assumption is that no messages showing up implicitly indicates success.
2018-10-24configure_system: Clear current username before overwritingZach Hilman
Prevents bug where old username would remain if the new username was shorter in length.
2018-10-24game_list: Use QFileInfo instead of common's file functionsLioncash
We can just use the facilities that Qt provides instead of pulling in stuff from common. While we're at it, we can also simplify the nearby logging statement's argument by just calling .toStdString()
2018-10-24game_list: Make game list column headers translatableLioncash
These are user-facing strings, so they should be marked as translatable
2018-10-24bootmanager: Use QStringLiteral instead of std::string to represent the ↵Lioncash
window title This gets rid of an unnecessary type conversion. We can just use the regular QStringLiteral to already format the string as the type setWindowTitle accepts instead of converting from a std::string instance.
2018-10-24yuzu/configuration/config: Use a std::unique_ptr for qt_config instead of a ↵Lioncash
raw pointer Same behavior, less code.
2018-10-23yuzu/configuration/config: Reorganize member variable and function layoutLioncash
Makes the class layout consistent with the others.
2018-10-23profile_manager: Create save data if it doesn't exist on useZach Hilman
2018-10-23acc: Fix account UUID duplication errorZach Hilman
2018-10-23configure_system: Clear selection after user deleteZach Hilman
2018-10-23profile_manager: Load user icons, names, and UUIDs from system saveZach Hilman
2018-10-23qt: Allow user to select emu user on open save dataZach Hilman
2018-10-23qt: Add Profile Manager UI to system settingsZach Hilman
2018-10-23settings: Add users and current_user settings and remove usernameZach Hilman
2018-10-23Added Amiibo support (#1390)David
* Fixed conflict with nfp * Few fixups for nfc * Conflict 2 * Fixed AttachAvailabilityChangeEvent * Conflict 3 * Fixed byte padding * Refactored amiibo to not reside in "System" * Removed remaining references of nfc from system * used enum for Nfc GetStateOld * Added missing newline * Moved file operations to front end * Conflict 4 * Amiibos now use structs and added mutexes * Removed amiibo_path
2018-10-23Merge pull request #1515 from DarkLordZach/dlc-lfsbunnei
patch_manager: Add support for LayeredFS on DLC RomFS
2018-10-23Merge pull request #1542 from lioncash/projectbunnei
CMakeLists: Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR
2018-10-23Merge pull request #1540 from lioncash/handlebunnei
kernel/process: Make the handle table per-process
2018-10-22Merge pull request #1543 from lioncash/targetbunnei
CMakeLists: Use target_compile_definitions instead of add_definitions to define YUZU_ENABLE_COMPATIBILITY_REPORTING
2018-10-20qt: Move Reinitialize Keys to Tools menuZach Hilman
2018-10-20CMakeLists: Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIRLioncash
This is more localized to what we want to enforce directory-wise with the project. CMAKE_SOURCE_DIR indicates the root of the source tree, but this would cause the wrong behavior if someone included yuzu as part of a larger buildsystem (for whatever reason). Instead, we want to use the directory where the "project(yuzu)" command was declared as the root path reference.
2018-10-20CMakeLists: Use target_compile_definitions instead of add_definitions to ↵Lioncash
define YUZU_ENABLE_COMPATIBILITY_REPORTING Keeps the definition constrained to the yuzu target and prevents polluting anything else in the same directory (should that ever happen). It also keeps it consistent with how the USE_DISCORD_PRESENCE definition is introduced below it.
2018-10-20kernel/process: Make the handle table per-processLioncash
In the kernel, there isn't a singular handle table that everything gets tossed into or used, rather, each process gets its own handle table that it uses. This currently isn't an issue for us, since we only execute one process at the moment, but we may as well get this out of the way so it's not a headache later on.
2018-10-17qt: Add support for dumping a DLC Data RomFSZach Hilman
2018-10-16config: Rename use_accurate_framebuffers -> use_accurate_gpu_emulation.bunnei
- This will be used as a catch-all for slow-but-accurate GPU emulation paths.
2018-10-16Merge pull request #1502 from lioncash/uniquebunnei
core: Convert shared_ptr instances into unique_ptr instances where applicable for System and Cpu
2018-10-16file_sys/registered_cache: Use unique_ptr and regular pointers instead of ↵Lioncash
shared_ptrs where applicable The data retrieved in these cases are ultimately chiefly owned by either the RegisteredCache instance itself, or the filesystem factories. Both these should live throughout the use of their contained data. If they don't, it should be considered an interface/design issue, and using shared_ptr instances here would mask that, as the data would always be prolonged after the main owner's lifetime ended. This makes the lifetime of the data explicit and makes it harder to accidentally create cyclic references. It also makes the interface slightly more flexible than the previous API, as a shared_ptr can be created from a unique_ptr, but not the other way around, so this allows for that use-case if it ever becomes necessary in some form.
2018-10-15Merge pull request #1487 from lioncash/maybe-unusedbunnei
yuzu/main: Apply the [[maybe_unused]] attribute to the parameter of SetDiscordEnabled
2018-10-15core_cpu: Make Cpu scheduler instances unique_ptrs instead of shared_ptrsLioncash
2018-10-14crypto: Various crypto fixes for quickstart guideZach Hilman
2018-10-14Merge pull request #1490 from lioncash/bootbunnei
yuzu/main: Simplify OnMenuLoadFile()
2018-10-14Merge pull request #1491 from lioncash/referencebunnei
filesystem: Make CreateFactories() and InstallInterface() take a VfsFilesystem by reference
2018-10-13Propagate depth and depth_block on modules using decodersFernandoS27
2018-10-13filesystem: Make CreateFactories() and InstallInterface() take a ↵Lioncash
VfsFilesystem instance by reference Neither of these functions alter the ownership of the provided pointer, so we can simply make the parameters a reference rather than a direct shared pointer alias. This way we also disallow passing incorrect memory values like nullptr.
2018-10-13yuzu/main: Simplify OnMenuLoadFile()Lioncash
We can utilize QStringList's join() function to perform all of the appending in a single function call. While we're at it, make the extension list a single translatable string and add a disambiguation comment to explain to translators what %1 actually is.
2018-10-13yuzu/main: Apply the [[maybe_unused]] attribute to the parameter of ↵Lioncash
SetDiscordEnabled() Depending on whether or not USE_DISCORD_PRESENCE is defined, the "state" parameter can be used or unused. If USE_DISCORD_PRESENCE is not defined, the parameter will be considered unused, which can lead to compiler warnings. So, we can explicitly mark it with [[maybe_unused]] to inform the compiler that this is intentional.
2018-10-12Merge pull request #1409 from DarkLordZach/key-derivationbunnei
crypto: Add support for full key derivation
2018-10-09Merge pull request #1464 from lioncash/uniquebunnei
patch_manager: Return a std::unique_ptr from ParseControlNCA() and GetControlMetadata() instead of a std::shared_ptr
2018-10-09patch_manager: Return a std::unique_ptr from ParseControlNCA() and ↵Lioncash
GetControlMetadata() instead of a std::shared_ptr Neither of these functions require the use of shared ownership of the returned pointer. This makes it more difficult to create reference cycles with, and makes the interface more generic, as std::shared_ptr instances can be created from a std::unique_ptr, but the vice-versa isn't possible. This also alters relevant functions to take NCA arguments by const reference rather than a const reference to a std::shared_ptr. These functions don't alter the ownership of the memory used by the NCA instance, so we can make the interface more generic by not assuming anything about the type of smart pointer the NCA is contained within and make it the caller's responsibility to ensure the supplied NCA is valid.
2018-10-09implemented touch in Qt and SDLNeatNit
change TouchToPixelPos to return std::pair<int, int> static_cast (SDL) various minor style and code improvements style - PascalCase for function names made touch events private const pointer arg in touch events make TouchToPixelPos a const member function did I do this right? braces on barely-multiline if remove question comment (confirmed in Discord) fixed consts remove unused parameter from TouchEndEvent DRY - High-DPI scaled touch put in separate function also fixes a bug where if you start touching (with either mouse or touchscreen) and drag the mouse to the LEFT of the emulator window, the touch point jumps to the RIGHT side of the touchscreen; draggin to above the window would make it jump to the bottom. implicit conversion from QPoint to QPointF, apparently I have no idea what const even means but I'll put it here anyway remove unused or used-once variables make touch scaling functions const, and put their implementations together removed unused FingerID parameters QTouchEvent forward declaration; add comment to TouchBegin that was lost in an edit better DRY in SDL To do -> TODO(NeatNit) remove unused include
2018-10-07qt: Add UI option to configure argumentsZach Hilman
2018-10-07partition_data_manager: Rename system files for hekateZach Hilman
x
2018-10-07qt: Add rederive keyset menu optionZach Hilman
2018-10-07qt: Add key derivation progress bar on initial setupZach Hilman
2018-10-06Merge pull request #1396 from DarkLordZach/packed-updatesbunnei
loader: Add support for packed updates