Commit Graph

9345 Commits

Author SHA1 Message Date
Zach Hilman
4b149768d3 core: Set game config title ID to zero if game has no title ID 2018-10-25 14:06:56 -04:00
Zach Hilman
d6eca26279 qt: Use ReadableByteSize instead of QLocale for size formatting 2018-10-25 09:24:48 -04:00
Zach Hilman
1e4024c7c4 configure_per_general: Fix bug loading dialog for files spanning more than one
Mainly affects NAX and NCA files in registered, as they are split along 4GB boundaries.
2018-10-25 09:24:48 -04:00
Zach Hilman
573b88ab27 qt: Open current per game config when game is running
Instead of opening global config. Also prevents strange glitches from switching current game config mid-game.
2018-10-25 09:24:48 -04:00
Zach Hilman
6c728b4819 game_list: Avoid refreshing game list if settings aren't changed 2018-10-25 09:24:48 -04:00
Zach Hilman
e5a80d1ed4 settings: Fix various issues with setting/getting current config
Sets title ID properly in SetCurrentTitleID and enuses proper reading/saving in qt config
2018-10-25 09:24:48 -04:00
Zach Hilman
4e80486361 game_list: Use proper text colors in dark theme with item delegate 2018-10-25 09:24:48 -04:00
Zach Hilman
22026e617d qt/configure: Obey partially checked status for QCheckBoxes
Allows proper saving of a setting if the box is left partially checked instead of defaulting to true.
2018-10-25 09:24:48 -04:00
Zach Hilman
4dd3a9a22b core: Print current game settings on game boot 2018-10-25 09:24:48 -04:00
Zach Hilman
2bfcaabf5f game_list: Update sizeHint in HTMLDelegate to obey icon size 2018-10-25 09:24:48 -04:00
Zach Hilman
af2d90696e hid: Port better HID to per game config 2018-10-25 09:24:48 -04:00
Zach Hilman
edcb75a037 configure_dialog: Force global mode with tabs 2018-10-25 09:24:48 -04:00
Zach Hilman
59633ac921 configure_input: Port to support both per-game and global modes 2018-10-25 09:24:04 -04:00
Zach Hilman
518ac27996 configure_graphics: Port to support both per-game and global modes 2018-10-25 09:24:04 -04:00
Zach Hilman
0f042773d3 configure_debug: Port to support both per-game and global modes 2018-10-25 09:24:04 -04:00
Zach Hilman
f33be7c01c configure_audio: Port to support both per-game and global modes 2018-10-25 09:24:04 -04:00
Zach Hilman
34e5693be8 qt: Add per game config overview page for dialog 2018-10-25 09:24:04 -04:00
Zach Hilman
4c54b9446a qt: Add per game config dialog with tabs 2018-10-25 09:24:04 -04:00
Zach Hilman
1485616a54 game_list: Add custom HTMLDelegate to support strikethrough in game list 2018-10-25 09:24:04 -04:00
Zach Hilman
11a3f59936 qt: Add Properties option to game list context menu 2018-10-25 09:24:04 -04:00
Zach Hilman
7539d2d9d4 qt: Add help option to open yuzu folder 2018-10-25 09:23:27 -04:00
Zach Hilman
e9166f4664 game_list: Show disabled patches with strikethrough in list 2018-10-25 09:21:52 -04:00
Zach Hilman
7d2fb1cffb yuzu/config: Add support for reading and saving per game config 2018-10-25 09:17:47 -04:00
Zach Hilman
295b22474a yuzu/config: Save settings delta on title ID change
Allows user to mark settings that didn't change to not be overridden by global
2018-10-25 09:17:09 -04:00
Zach Hilman
ce4052e527 yuzu_cmd: Add support for reading per game config 2018-10-25 09:14:33 -04:00
Zach Hilman
23daaccf84 core: Apply current game settings on boot 2018-10-25 09:13:02 -04:00
Zach Hilman
b71a463df6 loader: Add accessor to get game developer name 2018-10-25 09:13:02 -04:00
Zach Hilman
ab9abac488 aoc_u: Add support for disabling DLC 2018-10-25 09:13:02 -04:00
Zach Hilman
1de29dd396 patch_manager: Add support for disabling patches
Uses current per game config to determine enabled
2018-10-25 09:13:02 -04:00
Zach Hilman
5b70c9c493 settings: Port all current uses of per game settings to new class 2018-10-25 09:13:02 -04:00
Zach Hilman
7452a10688 settings: Add PerGameValues class to encapsulate game-specific settings
Provides various operators and methods to facilitate easy management and use of settings.
2018-10-25 09:12:23 -04:00
bunnei
c94db0e071 Merge pull request #1577 from lioncash/err
kernel/error: Amend error return code values
2018-10-25 01:10:26 -04:00
bunnei
f7a173de6c Merge pull request #1524 from FernandoS27/layers-fix
rasterizer: Fix Layered Textures Loading and Cubemaps
2018-10-25 00:29:18 -04:00
bunnei
b43cfe6c02 Merge pull request #1575 from lioncash/qstring
game_list_worker: Use QString's formatting instead of fmt in FormatPatchNameVersions()
2018-10-24 19:39:43 -04:00
bunnei
9aa5c1894e Merge pull request #1570 from lioncash/optional
profile_manager: Use std::optional instead of boost::optional
2018-10-24 18:11:03 -04:00
bunnei
3a6e76e9b5 Merge pull request #1558 from lioncash/ptr
yuzu/configuration/config: Use a std::unique_ptr for qt_config instead of a raw pointer
2018-10-24 18:07:14 -04:00
bunnei
29f748a658 Merge pull request #1565 from lioncash/audio
time_stretch: Remove unused m_channel_count member variable
2018-10-24 17:39:53 -04:00
bunnei
69b35d7615 Merge pull request #1554 from FernandoS27/pointsize
Implement PointSize Output Attribute.
2018-10-24 17:38:38 -04:00
bunnei
b723390ab1 Merge pull request #1571 from lioncash/debug-translate
graphic_breakpoints: Correct translation of strings in BreakpointModel's data() function
2018-10-24 17:37:18 -04:00
bunnei
ce2403d975 Merge pull request #1564 from lioncash/npad
npad: Remove unused controller variable from OnInit()
2018-10-24 17:36:55 -04:00
bunnei
d9590d7dfa Merge pull request #1568 from lioncash/dir
game_list: Use QFileInfo instead of common's file functions
2018-10-24 17:13:51 -04:00
bunnei
2694b43d3a Merge pull request #1567 from lioncash/translate
game_list: Make game list column headers translatable
2018-10-24 17:13:08 -04:00
bunnei
e6e17a3fc6 Merge pull request #1566 from lioncash/str
bootmanager: Use QStringLiteral instead of std::string to represent the window title.
2018-10-24 17:12:53 -04:00
bunnei
ddff188c65 Merge pull request #1563 from lioncash/frame
perf_stats: Remove unused variable within DoFrameLimiting()
2018-10-24 16:29:16 -04:00
bunnei
d14ba122e2 Merge pull request #1562 from lioncash/aoc
aoc_u: Make use of previously-unused CheckAOCTitleIDMatchesBase() function
2018-10-24 16:28:56 -04:00
bunnei
2eff8336f4 Merge pull request #1560 from lioncash/unused
maxwell_3d/decoders: Remove unused variables
2018-10-24 16:28:38 -04:00
bunnei
cdd499c261 Merge pull request #1561 from lioncash/fs
file_sys: Remove unused variables
2018-10-24 16:28:17 -04:00
bunnei
e65f5e4d66 Merge pull request #1559 from lioncash/log
logging/backend: Add missing services to the log filters
2018-10-24 16:28:01 -04:00
Lioncash
1fb4bebb63 kernel/errors: Remove now-unused, unnecessary, error codes
Now that we've gotten the innaccurate error codes out of the way, we can
finally toss away a bunch of these, trimming down the error codes to
ones that are actually used and knocking out two TODO comments.
2018-10-24 14:58:37 -04:00
Lioncash
239dfea34a kernel/shared_memory: Return ERR_INVALID_MEMORY_PERMISSIONS instead of ERR_INVALID_COMBINATION
This is more consistent with what the kernel does.
2018-10-24 14:54:36 -04:00