Commit Graph
120 Commits
Author SHA1 Message Date
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årdandGitHub 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. BracketsandGitHub 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
twinaphex a9bf8e7b18 More mingw patches pt. 2 2017-08-29 22:41:50 +02:00
LunaMoo ce74423381 Simplify some cwc detection code, respect _C2 as activation. 2017-05-31 11:58:24 +02:00
LunaMoo 3f90c2ded0 Fix "copy type" pointer cwc 2017-04-29 19:47:37 +02:00
LunaMoo 5fd6d4aab6 Minor OCD fix;]. 2017-04-29 16:24:01 +02:00
Henrik Rydgard ff2b6b3fca Assorted cleanup, UWP memory map fixes. PSPFlower runs in both 32-bit and 64-bit. 2017-03-23 10:02:28 +01:00
LunaMoo 5765655214 Fix comments after code lines and avoid UI crash from empty comments 2016-10-24 04:37:49 +02:00
LunaMoo 101df1da2b Ooops;3, remove leftover 2016-06-21 06:29:26 +02:00
LunaMoo 6c14b82005 Fix #8448 properly, in case we fail to generate ID.
Limit homebrew ini file generation to UI.
2016-06-20 20:50:13 +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 a1fbcc3d93 Avoid directly calling osm from Core/GPU code.
This allows UI to handle the message however it wants to, and reduces
cross linkage issues.
2016-05-27 22:05:30 -07:00
Henrik Rydgard 8b450c8034 Merge NativeJit.cpp/h with JitCommon.cpp/h 2016-05-01 11:39:59 +02:00
Henrik Rydgard 06eee7bc1b Oops, fix #8234 2015-11-25 14:23:39 +01:00
Henrik Rydgard ee4261cf5c Attempt to address some auto-reported crashes on Android
Still confused about the SignalSema/WaitSema ones.. they are still getting reported at high frequency
2015-11-25 12:05:32 +01:00
Unknown W. Bracketsandsum2012 5b9a506b82 Remove the cheat address hack for Gods Eater Burst.
It's wrong now.  Although the memory is still not being allocated exactly
the same, it's much closer.
2015-10-09 20:08:15 +08:00
Unknown W. Brackets 96b01e4999 Make sure we don't clean up proxy blocks. 2015-07-19 13:04:06 -07:00
Unknown W. Brackets 2450724be2 Make Memory::Memcpy() execute memchecks directly.
This makes it easier to handle breakpoints in HLE.
2015-04-05 18:09:20 -07:00
ChinandHenrik Rydgard 22593cddcc Use pre-increment instead of post-increment for iterators, and use auto for some iterators 2015-03-01 16:55:47 +01:00
ChinandHenrik Rydgard 37f50a3792 Change to pass some arguments by reference 2015-03-01 16:49:00 +01:00
Henrik Rydgard 05fc4cfd63 CWCheat: Crashfixes for broken codes. Fixes #7442 2015-02-06 19:37:39 +01:00
LunaMoo 082cc8eff9 Also fix 0x8 type /same as 0x4, just for 8/16 bit 2015-02-05 16:29:23 +01:00
LunaMoo 2e1681cba6 Fix 0xC code type 2015-02-05 15:14:54 +01:00
Henrik Rydgard eb56cd72ed CwCheat: UNTESTED: Make "Jocker" commands accept combos even if other buttons are pressed.
See issue #7431. Will revert if it doesn't work.
2015-02-04 15:28:14 +01:00
Henrik Rydgard 2f6216d787 Fix bug in CwCheat icache invalidation. Fixes #7430 2015-02-04 10:56:38 +01:00
Henrik Rydgard 2b7d95be1d Typo fix 2015-02-03 00:21:38 +01: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
Henrik Rydgård deb2f838d0 Merge pull request #7381 from sum2012/cw-cheat
Create as UTF-8 format of new cwcheat file
2015-01-31 16:55:24 +01:00