Commit Graph

184 Commits

Author SHA1 Message Date
Henrik Rydgård
d21fef52ae Allow taking screenshots in the app menu 2024-05-10 21:10:11 +02:00
Herman Semenov
c20cb3f4be Minor optimize methods std::string using param as char with simpler implementation 2024-04-10 17:57:05 +03:00
Henrik Rydgård
c5791764d8 Make the i18n T function use std::string_view
Buildfixes, crashfixes

One more

Android buildfix

Buildfix Qt
2024-02-12 18:44:39 +01:00
Henrik Rydgård
2e16fd3bcc Fix fake game ID generation to work with scoped storage 2024-01-23 01:06:56 +01:00
Unknown W. Brackets
c243f39d94 Core: Revert save state breakage.
Any save states created in the interim will not be backwards compatible to
any HLE changes.
2023-12-28 21:14:23 -08:00
Henrik Rydgård
dd1396e2fd
Merge pull request #18581 from GermanAizek/lower-scope
Reduced lower scope for local objects
2023-12-20 14:53:36 +01:00
Herman Semenov
2a31f8c6c0 [Common/Core/HLE] Object out of scope optimization for better codegeneration (lower level scope) 2023-12-20 12:33:56 +03:00
Henrik Rydgård
b2729507a1 Assorted debugger-related fixes
Also fixes issue where the rewind machinery would run even during pause.
2023-12-18 00:21:53 +01:00
Henrik Rydgård
bac4a01209 Enforce a max size for save state screenshot regardless of resolution mode (auto, skipbuf etc). 2023-12-15 12:35:34 +01:00
Herman Semenov
af41281761 [Core/Dialog/ELF/FileSystems/HLE/HW/Util] Added const reference for function params 2023-12-14 14:22:24 +03:00
Henrik Rydgård
6b8ec972fb A couple of warning fixes (real issues though small) 2023-12-05 01:12:42 +01:00
Henrik Rydgård
aed8bc6d7b RetroAchievements: Finish the Challenge->Hardcore rename 2023-12-03 16:41:29 +01:00
Henrik Rydgård
b629c99dbf Change "Challenge Mode" to "Hardcore Mode", according to RetroAchievements guidelines 2023-11-30 18:11:03 +01:00
Henrik Rydgård
4c315bacdf RetroAchievements: Add option to allow saving, but not loading, in challenge / hardcore mode.
This has been requested many times and is useful for development, so
let's simply allow it. It doesn't enable cheating for achievemenst since
you still can't load these states in challenge mode.
2023-11-14 22:54:39 +01:00
Henrik Rydgård
c17b84b3d4 Implement RetroAchievements challenge mode restrictions, and fix related bugs 2023-07-08 21:55:32 +02:00
Henrik Rydgård
9bd67df5b2 Achievement savestate fixes 2023-07-08 21:47:16 +02:00
Henrik Rydgård
b9327073bb Add checkbox controlling if new mappings can be combo mappings.
These can be problematic with certain controllers that send double
signals. Like PS4 controllers on Android, the analog triggers send dual
axis events, and additionally digital events.
2023-07-07 10:42:08 +02:00
Nicolas Adenis-Lamarre
f32b0dc9c3 previous slot shortcut
Signed-off-by: Nicolas Adenis-Lamarre <nicolas.adenis.lamarre@gmail.com>
2023-05-25 11:32:49 +00:00
Henrik Rydgård
ee6234ecb6 I18N: Switch to getting categories by index instead of by string lookup
Also gets rid of the shared_ptr usage, and generally makes things nicer.

Needed for later config refactorings, good to get in early.
2023-04-07 10:35:01 +02:00
Henrik Rydgård
d586ec0d5e Don't create Host objects except in headless/unittest 2023-03-25 10:47:01 +01:00
Henrik Rydgård
dda8635c89 Move three notifications out of Host 2023-03-21 13:37:19 +01:00
Henrik Rydgård
06fcc9ccd7 Add System_Notify 2023-03-21 13:37:16 +01:00
Henrik Rydgård
bec429ed72 MacOS buildfix for some reason 2023-02-23 20:21:41 +01:00
Unknown W. Brackets
81ec0b03b8
Merge pull request #16965 from hrydgard/savestate-fixes
Reorder savestates to put memory before CoreTiming.
2023-02-14 22:04:58 -08:00
Henrik Rydgård
132e8eeccd Now these variables need to be initialized 2023-02-14 22:46:32 +01:00
Henrik Rydgård
718cb9ee4a Reorder savestates to put memory before CoreTiming.
Also, don't clear the JIT for rounding after saving, only after loading.
2023-02-14 16:43:22 +01:00
Henrik Rydgård
cebb885e84 Address feedback 2023-02-14 10:09:54 +01:00
Henrik Rydgård
2243ec5b31 Clearing fixes, fix out-of-bounds iterator 2023-02-14 10:09:54 +01:00
Henrik Rydgård
5418be738b Make the rewind snapshot interval wall-time based instead of frame-based. 2023-02-14 10:09:51 +01:00
Henrik Rydgård
a7baa3580b Some code cleanups around rewind. 2023-02-14 10:09:36 +01:00
Henrik Rydgård
7e374c9324 Address feedback, more fixes 2023-01-05 08:38:53 +01:00
Henrik Rydgård
b56eef487c Strict mode checking - no way to forget detaching now.
And if we forget to attach, boom. Hopefully I caught all of them.
2023-01-05 08:38:52 +01:00
Unknown W. Brackets
17d94cd358 SaveState: Restore replacements in only one place. 2022-10-29 17:59:35 -07:00
Unknown W. Brackets
48b597a1b9 Display: Move core counters/stats to HW file.
This separates things better, so not everything is pulling in HLE.
2022-01-30 11:53:48 -08:00
Unknown W. Brackets
b8ab7f39df jit: Lock around changes to the jit pointer. 2021-11-28 10:04:22 -08:00
Unknown W. Brackets
2bd13c5d9d Debugger: Track reason for entering stepping. 2021-10-23 16:56:15 -07:00
iota97
0c664aa820 Fix savestate undo consistency 2021-08-11 08:35:41 +02:00
Henrik Rydgård
a0225a5e7a
Merge pull request #14708 from unknownbrackets/ui-crash
Add Reset button on crash screen, allow load state and related
2021-08-09 09:32:55 +02:00
Unknown W. Brackets
32c7ff8436 SaveState: Allow loading save state in exception.
And allow saving as well, since we can maybe resume.
2021-08-08 23:15:27 -07:00
Unknown W. Brackets
a1b88bedd9 SaveState: Validate size matches measured.
In #14653, a save state appears to have been generated truncated.
This attempts to detect that at generation time.
2021-08-07 13:55:29 -07:00
Henrik Rydgård
229e18420a
Merge pull request #14434 from unknownbrackets/savestate
SaveState: Show a warning when loading if saved after savestate
2021-08-07 17:23:26 +02:00
iota97
b643d60f72 Undo last save 2021-08-07 13:28:43 +02:00
Unknown W. Brackets
eba67d5fcd SaveState: Show a warning if saved after savestate.
If you load a save state from before you created savedata (or from a
different path of savedata), some games will refuse to save.  This shows a
warning since it can be a confusing situation.

We could potentially add an undo for loading state, to give an option for
getting back after this warning.
2021-08-07 00:01:20 -07:00
iota97
157bbb99ae Address feedback 2021-08-05 09:16:10 +02:00
iota97
626dfb5bd7 Savestate load undo 2021-08-03 11:10:54 +02:00
iota97
2b8d05cfa9 Add savestate undo UI 2021-08-03 07:49:28 +02:00
Henrik Rydgård
bea9f67c02 Fix assorted path issues 2021-07-19 17:34:51 +02:00
Unknown W. Brackets
b74ecd5fa0 SaveState: Use Path instead of strings. 2021-05-14 23:00:22 -07:00
Henrik Rydgård
47039b4bcd Address all the easy feedback. Some is left. 2021-05-13 10:39:17 +02:00
Henrik Rydgård
2e16e83159 It never ends... 2021-05-13 10:39:16 +02:00