aboutsummaryrefslogtreecommitdiff
path: root/src/yuzu/game_list_p.h
AgeCommit message (Collapse)Author
2020-04-25Fix the mistake in the port and update the comment for clarityVitor Kiguchi
2020-04-06yuzu: Fixes to game list sortingFearlessTobi
Should fix citra-emu/citra#4593. As the issue might not be entirely clear, I'll offer a short explanation from what I understood from it and found from experimentation. Currently yuzu offers the user the option to change the text that's displayed in the "Name" column in the game list. Generally, it is expected that the items are sorted based on the displayed text, but yuzu would sort them by title instead. Made it so that an access to SortRole returns the same as DisplayRole. There shouldn't be any UI changes, only change in behaviour. Also fixes a bug with directory sorting, where having the directories out of order would enable you to try to "move up" to the addDirectory button, which would crash the emulator. Co-Authored-By: Vitor K <vitor-k@users.noreply.github.com>
2020-01-19GUI/gamelist: add "None" as an option for second row and remove dynamically ↵Bartosz Kaszubowski
duplicate row options (#3309) * GUI/gamelist: add "None" as an option for second row and remove duplicated row options * fix clang-format warnings
2019-10-04yuzu/game_list: Silence -Wswitch and -Wunused-variableReinUsesLisp
2019-09-04Limit the size of directory icons, fix text when icon size is nonefearlessTobi
2019-09-04Separate UserNand and Sdmc directoriesfearlessTobi
2019-09-04Address more trivial review commentsfearlessTobi
2019-09-04Address trivial review commentsfearlessTobi
2019-09-04yuzu: Add support for multiple game directoriesfearlessTobi
Ported from https://github.com/citra-emu/citra/pull/3617.
2019-08-09yuzu/CMakeLists: Remove qt5_wrap_ui macro usageLioncash
We can simply enable CMAKE_AUTOUIC and let CMake take care of handling the UI code generation for targets. As part of letting CMake automatically handle the header file parsing, we must not name includes with "ui_*" unless they're related to the output of the Qt UIC compiler. Because of this, we need to rename ui_settings, given it would conflict with this restriction.
2019-05-20yuzu/game_list_p: Amend mentions of SMDH in commentsLioncash
SMDH is a metadata format used in some executable formats for the Nintendo 3DS. Switch executables don't utilize this metadata format, so this just a holdover from Citra and can be corrected.
2019-05-20yuzu/game_list_p: Specify string conversions explicitlyLioncash
Allows the game list item code to build with implicit string conversions disabled.
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.
2018-09-27Merge pull request #1360 from FearlessTobi/port-3979bunnei
Port citra-emu/citra#3979 game_list: move SearchField to game_list_p.h and fix untranslated text
2018-09-21game_list: Add Qt SmoothTransformation to picture scalingZach Hilman
2018-09-21game_list: move SearchField to game_list_p.h and fix untranslated textzhupengfei
I have tested and made sure the text is translatable, but this would require a translation update to take effect.
2018-09-17game_list_p: Amend typo in GameListItemCompat's constructor parameterLioncash
Adds a missing 'i' character that was missing in compatibility.
2018-09-17game_list_p: Take map iterator contents by const referenceLioncash
We don't need to copy the whole struct in this instance, we can just utilize a reference instead.
2018-09-09yuzu: Move compatibility list specifics to their own source filesLioncash
Lets us keep the generic portions of the compatibility list code together, and allows us to introduce a type alias that makes it so we don't need to type out a very long type declaration anymore, making the immediate readability of some code better.
2018-09-07yuzu: Move GameListWorker to its own source filesLioncash
This has gotten sufficiently large enough to warrant moving it to its own source files. Especially given it dumps the file_sys headers around code that doesn't use it for the most part. This'll also make it easier to introduce a type alias for the compatibility list, so a large unordered_map type declaration doesn't need to be specified all the time (we don't want to propagate the game_list_p.h include via the main game_list.h header).
2018-09-04game_list: Use RegisteredCacheUnion for installedZach Hilman
Reduces code
2018-09-02vfs_real: Forward declare IOFileLioncash
Eliminates the need to rebuild some source files if the file_util header ever changes. This also uncovered some indirect inclusions, which have also been fixed.
2018-08-31core/core: Replace includes with forward declarations where applicableLioncash
The follow-up to e2457418dae19b889b2ad85255bb95d4cd0e4bff, which replaces most of the includes in the core header with forward declarations. This makes it so that if any of the headers the core header was previously including change, then no one will need to rebuild the bulk of the core, due to core.h being quite a prevalent inclusion. This should make turnaround for changes much faster for developers.
2018-08-29Show game compatibility within yuzufearlessTobi
2018-08-23game_list: Add SD registration loading to game listZach Hilman
2018-08-20service/filesystem: Use forward declarations where applicableLioncash
Avoids the need to rebuild multiple source files if the filesystem code headers change. This also gets rid of a few instances of indirect inclusions being relied upon
2018-08-11game_list: Split game list scans to multiple functionsZach Hilman
Avoids unnecessary rebuilds of control data on every layer of recursion in AddFstEntriesToGameList
2018-08-10qt/game_list: Resolve truncation warning within GameListItemPath's constructorLioncash
Silences a warning about truncating from size_t to u32
2018-08-10gt/game_list: Use std::array in GameListItemPath's data() functionLioncash
We don't need to use a heap-allocated std::vector here, given we explicitly know the bounds.
2018-08-10qt/game_list: Remove redundant base class constructor from initializer listLioncash
This is called automatically anyways.
2018-08-08file_util: Use enum instead of bool for specifing path behaviorZach Hilman
2018-08-08core: Port core to VfsFilesystem for file accessZach Hilman
2018-08-06Avoid parsing RomFS to directory in NCAZach Hilman
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: Default destructors where applicableLioncash
Makes code consistent with our style of defaulting special member functions where applicable.
2018-01-16clang-formatMerryMage
2018-01-12Remove gpu debugger and get yuzu qt to compileJames Rowe
2018-01-12Massive removal of unused modulesJames Rowe