Commit Graph

98 Commits

Author SHA1 Message Date
Unknown W. Brackets
5ba7cca5f3 Cheats: Cleanup global usage. 2020-04-11 13:56:06 -07:00
Unknown W. Brackets
dbc838565c UI: Cleanup old specialized checkbox. 2020-04-11 12:59:06 -07:00
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