Commit Graph

96 Commits

Author SHA1 Message Date
Unknown W. Brackets
698dfa74b4 UI: Monitor cheat file changes on cheat editor.
This way if they switch apps or whatever, it'll update when they come
back.  This also means constant disk access, but it should be cached
anyway.
2020-04-11 12:57:35 -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
4c061e9212 UI: Use standard back and checkbox in cheats UI.
This makes cheat names wrap and grow smartly automatically, since
checkboxes normally do that.
2020-04-11 11:22:11 -07:00
iota97
d89a858dcd Rember cheat scroll position 2020-03-26 10:59:08 +01:00
Henrik Rydgård
45d94c4877 Switch all images to dynamic lookup in the atlas by string ID.
SLN fix

It works, but with the wrong images and the wrong characters!

Fix another bug in atlastool's binary output

Get Android building again.

Oops, didn't mean to disable this permanently.

Error checking

Minor cleanup

Gotta tweak my git ignores...

Regenerate metadata
2020-03-01 12:06:47 +01: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
cbf735e2e2 CwCheat warning fixes 2019-02-12 21:00:20 +01:00
LunaMoo
9929eedbc9 Fix database comments ending the cheat import. 2018-11-03 08:48:38 +01:00
LunaMoo
d5d82d4577 Oops:] 2017-12-01 11:22:12 +01:00
LunaMoo
689637ca5a Oops;p, I always mess this up. 2017-11-30 06:14:36 +01:00
LunaMoo
5805cba736 Change some other substr used with cheats and smuggle a fix for another problem 2017-11-30 05:05:52 +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
ce74423381 Simplify some cwc detection code, respect _C2 as activation. 2017-05-31 11:58:24 +02:00
LunaMoo
5cebcba356 Add new format to CWC as well, don't think it's worth auto-rename. 2017-05-30 12:20:33 +02:00
Henrik Rydgård
df6ce90c84 When what we need is a shared_ptr, we should just go ahead and use one.
One of the top crashes reported in the Play Console is a ManagedTexture crash, so seeing if this might help.
2017-05-18 13:28:56 +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
Unknown W. Brackets
073e056369 UI: Allow overriding dialog logic on finish.
This seems cleaner.
2017-03-19 17:43:03 -07:00
LunaMoo
89ef06936f Fix importing first cheat from database list 2017-02-14 21:47:43 +01:00
LunaMoo
5765655214 Fix comments after code lines and avoid UI crash from empty comments 2016-10-24 04:37:49 +02:00
Unknown W. Brackets
fd546ff21d Fix some type comparison warnings. 2016-08-05 10:47:45 -07:00
Henrik Rydgård
c6d4966067 Make really sure we're not using the IRBlock copy constructor other than on Symbian.
Turns out it ended up being used on Mac, and our asserts just debugprint and don't actually assert...
2016-07-09 09:32:41 +02:00
LunaMoo
24fd336e60 Create openIniFile function in FileUtil to avoid duplicates
+ correction
2016-06-22 05:55:45 +02:00
LunaMoo
101df1da2b Ooops;3, remove leftover 2016-06-21 06:29:26 +02:00
LunaMoo
27a616c765 Name homebrew games ini files differently 2016-06-21 00:15:29 +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
Henrik Rydgard
8b450c8034 Merge NativeJit.cpp/h with JitCommon.cpp/h 2016-05-01 11:39:59 +02:00
Unknown W. Brackets
ab6dd51d9c Fix a small resource handle leak. 2016-03-20 14:24:35 -07:00
Unknown W. Brackets
955b0fb9db UI: Minor header cleanup. 2016-03-06 14:49:14 -08:00
Unknown W. Brackets
c0238de4ee UI: Add tags to all the scroll views. 2016-01-22 22:52:13 -08:00
Henrik Rydgard
c757931779 Android: Combine the two Java Eclipse projects into one.
Should make it easier to get ndk-gdb going, which I've always had crazy issues with with library projects.
2015-09-10 18:51:48 +02:00
vnctdj
d7eba2061e Consistently use *di for the Dialog i18n category 2015-07-01 23:26:55 +02:00
vnctdj
44682d1bae Consistently use *cw for the CwCheats i18n category 2015-07-01 22:40:11 +02:00
Jan Beich
bd4b0840a3 UI: allow editing cheat file on any Unix desktop 2015-05-26 15:23:19 +03:00
Unknown W. Brackets
9a8cd2c067 Log some file reading errors. 2015-04-08 12:14:07 -07:00
Unknown W. Brackets
5452129dfe Avoid null termination issues on long paths. 2015-04-08 11:58:00 -07:00
LunaMoo
872d898307 Remove 2 more game specific config saves.
ba96b7b31c now saves it.:3
2015-02-15 03:49:01 +01:00
LunaMoo
4ef0c14cc8 oops 2015-01-28 09:48:35 +01:00
LunaMoo
a7cce0f105 Close cheat menu before editing file. 2015-01-28 09:06:00 +01:00
Luna
4344d4274c Fix saving refreshing rate for per-game settings 2015-01-27 22:08:59 +01:00
Luna
b954145241 Implement CW cheat refresh rate. 2015-01-27 00:50:50 +01:00
Henrik Rydgard
2e675c7b0b Move GamePauseScreen into its own file 2014-12-22 10:48:17 +01:00
Henrik Rydgard
8ad1ea4c84 Split JitCommon.h so that you can include it without getting the "NativeJit" definition 2014-12-13 21:13:28 +01:00
chinhodado
2130d86cef Cleanup 2014-11-13 15:38:25 -05:00
Henrik Rydgard
808f05da89 (Partially) slip thin3d underneath DrawBuffer. 2014-08-22 20:54:53 +02:00
Unknown W. Brackets
60ad1df8bf Fix a warning in a log message.
Unfortunately, this will not properly log > 2 billion cheats.  I think
we'll manage to survive.
2014-08-02 14:55:15 -07:00
Juha Laukkanen
2a82e3c54e Enabled cheat file text editor launch under OSX (open) and Linux (xdg-open). 2014-07-23 12:37:58 +09:00
Juha Laukkanen
1a96f48370 Put status of cheat.db import to log. Currently there is no any feedback to user. 2014-07-08 13:56:20 +09:00
Henrik Rydgard
e8433f6fef cheat screen: Add shortcut to launch notepad with the current cheat file 2014-06-09 00:13:59 +02:00
Sacha
ed96d73187 Use OpenCPPFile for iostream open without the ifdef's. 2014-06-06 00:22:43 +10:00