Commit Graph

146 Commits

Author SHA1 Message Date
Henrik Rydgård
b71ccfdb71 CwCheats: Add ms unit, rename to Refresh Interval. 2024-01-19 15:12:53 +01:00
Henrik Rydgård
aed8bc6d7b RetroAchievements: Finish the Challenge->Hardcore rename 2023-12-03 16:41:29 +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
eb21a2e6c9 Break out the OSD data holder from Common/System/System.h, into OSD.cpp/h 2023-06-30 17:15:49 +02:00
Henrik Rydgård
7cc8c6cea4 OSD: Add semantics, move the the OSD state to common (while keeping the renderer in the UI). 2023-06-20 14:40:46 +02: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
9e125eeba7 Remove NotifyUserMessage from Host 2023-03-25 10:32:09 +01:00
Unknown W. Brackets
728dde8eb3 Cheats: Cleanup sizes of invalidates and checks.
And ensure we're always invalidating full words to be safe.
2023-01-01 10:30:47 -08:00
Unknown W. Brackets
fe470c790e Postshader: Reset ini keys for defaults.
Should fix the Vignette shader defaults, see #16562.
2022-12-12 19:11:20 -08:00
Henrik Rydgård
fc24a7d426 CwCheat: Remove assert on TempAR type codes. Seems weird that we had this. 2021-10-18 17:19:57 +02:00
Linblow
0fcf68632d Detect CwCheat file UTF-8 BOM sequence and ignore it 2021-07-26 11:47:21 +02:00
Linblow
69657ef05e Added JIT hack for MTX MotoTrax EU (ported from US) 2021-07-17 12:59:15 +02:00
Henrik Rydgård
025bcb1673 Introduce Path, start using it all over the place.
Still lots left to convert!

Convert GetSysDirectory to return Path.

More buildfixing

Remove unnecessary Path( constructors
2021-05-13 10:39:16 +02:00
Unknown W. Brackets
0f3f74408f Cheats: Parse files using C files for Path compat. 2021-05-09 17:00:48 -07:00
Unknown W. Brackets
ca1a936d56 GPU: Stop using Off as terminator for postshaders.
There's really no need to have a dummy entry at the end of the array.
2021-04-10 18:35:23 -07:00
Unknown W. Brackets
a76ba9a957 Core: Handle Disc ID a bit more consistently. 2021-02-28 10:52:35 -08:00
Unknown W. Brackets
e7b968be73 Debugger: Notate Memcpys directly as well. 2021-02-15 15:01:23 -08:00
Henrik Rydgård
93fd62f54b
Merge pull request #13832 from unknownbrackets/events
SaveState: Make event restoring more obvious
2021-02-15 23:39:42 +01:00
Henrik Rydgård
f34f554321 Don't assert on invalid format in CwCheat.
Not sure exactly what we should do, though..
2021-02-13 18:36:52 +01:00
Unknown W. Brackets
06f8ab5a49 SaveState: Make event restoring more obvious.
We still must restore all events, but everything can be taken care of
during the save state load.
2020-12-28 13:29:19 -08:00
Henrik Rydgård
4f43cff5ca
Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård
ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
iota97
0c885db052 User chain support 2020-09-13 21:48:00 +02:00
Henrik Rydgård
5d64fc5ff1 Switch to PPSSPP's assert functions (don't use the system's) 2020-08-16 10:01:10 +02:00
Unknown W. Brackets
b8342fb8ec SaveState: Rename ChunkFile files to Serialize.
Makes more sense and less weird than ChunkFileDoMap, etc.
2020-08-10 08:04:05 +00:00
Unknown W. Brackets
4b4e3432cd SaveState: Split Do() into a separate header. 2020-08-10 08:03:41 +00:00
iota97
45bfb4f52b Code style fix 2020-06-04 19:08:10 +02:00
iota97
6f59f02b38 Support chain 2020-05-17 19:06:23 +02:00
iota97
c83e2fb070 Memory reading CWCheat 2020-05-17 18:07:30 +02:00
iota97
69d806a83a Add postprocessing CWCHEAT 2020-05-17 18:07:30 +02:00
Henrik Rydgård
cc916180b5
Merge pull request #12816 from LunaMoo/XVibrationCheat
Implement Xinput vibration CWCheat (PPSSPP specific 0xA code type)
2020-04-17 10:50:44 +02:00
LunaMoo
e999444b23 Implement PPSSPP specific cheats:
0xA0 vibration cheat(Xinput)
Syntax is: 0xA0NNLLLL 0x00MMRRRR
where NN/MM is time vibration lasts LLLL/RRRR is the vibration power

0xA1 read value for the vibration(Xinput) from game memory
Syntax is: 0xA1000000 0xNNNNNNNN
where NNNNNNNN is the address that stores following values at offset:
0xNNNNNNNN + 0x0 Left Vibration power,
0xNNNNNNNN + 0x2 Right Vibration Power
0xNNNNNNNN + 0x4 Left Vibration time
0xNNNNNNNN + 0x6 Right Vibration time

Left some room for other PPSSPP specific cheats(0xA2-0xAF)
2020-04-16 23:00:29 +02:00
Unknown W. Brackets
e60623498f Cheats: Fix use in homebrew on start. 2020-04-11 14:01:32 -07:00
Unknown W. Brackets
5ba7cca5f3 Cheats: Cleanup global usage. 2020-04-11 13:56:06 -07:00
Unknown W. Brackets
29808ae53b UI: Update cheat file more safely.
This uses the common parsing logic (which supports multiple games in a
single cheat file), and prevents reverting the file if edited outside.
2020-04-11 12:43:55 -07:00
Unknown W. Brackets
5009698cc0 Core: Use a shared_ptr for i18n categories.
This does not make them thread safe, but it reduces the chances of a crash
a bit (see #12594.)
2020-02-09 07:35:16 -08:00
Henrik Rydgård
c84137dd2d Add the other gameIDs for euro tony hawk 2019-03-01 14:31:28 +01:00
Henrik Rydgård
17b4f28d6b Hardcode the cheats that work around the Tony Hawk jit issues. Temporary, horrible hack working around #3854. 2019-03-01 10:56:17 +01:00
LunaMoo
402033030b Just a quick fix for a typo made in last big rewrite of cheat engine. 2018-07-07 15:45:56 +02:00
Unknown W. Brackets
adbd8d005c Cheats: Fix a debug assertion. 2018-02-11 12:35:31 -08:00
Unknown W. Brackets
0e2a586c1b Global: Fix some type comparison/shadow warnings. 2018-02-11 07:03:23 -08:00
LunaMoo
80b6686d89 Add some comments. 2017-11-30 07:51:15 +01:00
LunaMoo
be18f2c3cc Change str.substr(x, 1) == "y" to str[x] == 'y' 2017-11-30 02:23:44 +01:00
LunaMoo
16057eda39 Fix a cheat menu crash with invalid cheat name.
Also stop #comments from being removed by cheat menu.
2017-11-30 01:32:19 +01:00
Unknown W. Brackets
1d348b8aa7 Cheats: Fix pointer command count offset.
2 means there's 1 line of data.  This was the actual problem.
Thanks LunaMoo.
2017-11-08 22:24:37 -08:00
Unknown W. Brackets
baf351c372 Cheats: Clamp pointer command data to avail.
In case more data is provided, as was allowed before.
2017-11-08 17:48:33 -08:00
Unknown W. Brackets
0ed62cfe30
Merge pull request #7 from LunaMoo/cheats
Fix 0x6 code types
2017-11-08 20:46:18 -05:00
LunaMoo
34b1cb7141 Fix 0x6 code types 2017-11-08 17:39:22 +01:00
Unknown W. Brackets
bf4f5a102e Cheats: Enable for any non-zero number. 2017-11-08 06:51:25 -08:00
Unknown W. Brackets
c62a53c223 Cheats: Split parsing and execution.
This makes the code easier to read, and makes it easier to add other types
later on.

Also, the parser can now handle a file with multiple game ids.
2017-11-07 19:51:32 -08:00