Commit Graph

26 Commits

Author SHA1 Message Date
Unknown W. Brackets
0496ca32ff Global: Cleanup some minor includes and typos. 2022-12-27 08:33:07 -08: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
Henrik Rydgård
3162f30158 Merge base/basictypes.h into Common/Common.h (mostly). 2020-09-29 15:51:51 +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
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
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
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
LunaMoo
101df1da2b Ooops;3, remove leftover 2016-06-21 06:29:26 +02:00
LunaMoo
778c518a37 Cheat menu access from gameScreen + minor bugfix +
Invalidate JIT for 0xE/0xD checks
And big thanks to [Unknown] for help:3
2016-06-20 11:33:02 +02:00
Unknown W. Brackets
a913e0f0fc Remove some unused private properties. 2016-05-21 09:29:04 -07:00
Henrik Rydgard
4d11aa3edb Invalidate icache before letting the cwcheat engine change memory. Might fix JIT-related cheat crashes. 2015-02-03 00:21:37 +01:00
Unknown W. Brackets
f5c7837e93 Disable reporting when using cheats as well. 2014-02-15 15:41:27 -08:00
Unknown W. Brackets
0c8cc25eb4 Always register the cheat event, for savestates.
This way, if you savestate with cheats on or off, it'll load fine.
2013-10-07 07:46:18 -07:00
Steven Cherry
082ff4b359 Finished work for windows 2013-08-23 22:29:12 -05:00
Steven Cherry
edcde85cee More progress. 2013-08-23 22:29:12 -05:00
Steven Cherry
ff17a41171 Rewrite .ini files to match cheat.db
Rewrite .ini titles for better identification
2013-06-16 17:59:59 -05:00
Unknown W. Brackets
ffbe28fc61 Fix some minor type conversion warnings. 2013-05-31 23:14:26 -07:00
Steven Cherry
636f7fdb15 ParseHexLong now occurs on init only 2013-05-30 03:49:15 -05:00
Steven Cherry
9a450f2c4d String parsing now occurs only on start up and when pressing "reload cheats" button on system settings menu 2013-05-30 02:08:20 -05:00
Henrik Rydgard
880b80823b Some cwcheat cleanups and TODOs. 2013-05-23 13:10:39 +02:00
Steven Cherry
9d2667fc0d Second to last commit
Everything but getting ISO name
2013-05-18 17:04:01 -05:00
Steven Cherry
0b2885c2fe First working version 2013-05-18 16:11:10 -05:00
Steven Cherry
446d2930ac Some progress, I think?
Program crashes when trying to run a game. If you comment out
member.Run(); it will run fine, but cwcheat doesnt work.
2013-05-18 16:11:10 -05:00
Steven Cherry
f18e913429 Add Cwcheat support 2013-05-18 16:11:10 -05:00