Commit Graph

153 Commits

Author SHA1 Message Date
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
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. Brackets 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
Chin 22593cddcc Use pre-increment instead of post-increment for iterators, and use auto for some iterators 2015-03-01 16:55:47 +01:00
Chin 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
sum2012 f172bd78b7 Remove unused line 2015-01-28 06:17:27 +08:00
sum2012 008806c275 Fix as @hrydgard suggest 2015-01-28 06:15:05 +08:00
sum2012 dff76dec56 Fix as @Bigpet suggestion 2015-01-27 21:17:07 +08:00
sum2012 12e1cdbbae Attempt to fix Symbian build 2015-01-27 21:11:07 +08:00
sum2012 7b3115e4de Create as UTF-8 format of new cwcheat file
Fix #4300
2015-01-27 19:54:22 +08:00
Luna b954145241 Implement CW cheat refresh rate. 2015-01-27 00:50:50 +01:00
Peter Tissen 101287c8c2 Instead of crashing log a warning when trying to skip more codes than are available 2015-01-10 22:56:27 +01:00
Krude f81d36a90c Fix Cwcheat code type for address compare
0xD code type took wrong address argument. Hopefully fixes #6624.
2014-07-25 13:11:28 +02:00
rnynoise 99a01c3dba Update CwCheat.cpp fixed button-contrl cheat code
fixed error in "0xD" code, "button-contrl" cheat code should work now.
2014-06-28 13:19:42 +08:00
rnynoise a090880bef Update CwCheat.cpp
Add "0xD" code support fixed
2014-06-26 10:23:56 +08:00
The Dax 285640dbdf CWCheats: Make sure to convert paths properly so that non-English paths are supported. 2014-06-04 23:01:03 -04:00
Unknown W. Brackets c7437bbe8e Fix some minor warnings. 2014-03-03 00:08:32 -08:00
Unknown W. Brackets f5c7837e93 Disable reporting when using cheats as well. 2014-02-15 15:41:27 -08:00
sum2012 588d67ac64 Fixed cwcheat 0x0 > 0x80000000 bug
Thanks @Kingcom
2014-01-19 23:55:42 +08:00
sum2012 9dbadb6b41 oop 2014-01-19 21:13:51 +08:00
sum2012 290d1b2159 Correctly auto detect arg for 8,16,32 bit on 0x0 2014-01-19 20:49:08 +08:00
sum2012 4a4514120b oop 2014-01-19 13:47:35 +08:00