Commit Graph
122 Commits
Author SHA1 Message Date
Henrik Rydgård 46342ee92d Warning fix 2022-08-08 16:42:29 +02:00
Richard Ainger 7506fc9f00 Fixed infinite loop and crash which could occur when using "Import from cheat.db". 2022-08-07 12:50:57 +10:00
Unknown W. Brackets a397bf811b UI: Fix some sign/size comparison warnings.
Mostly size_t vs int.
2022-01-06 20:40:29 -08:00
Unknown W. Brackets 3e73ce87ee Path: Check for PSP case insensitively.
This allows a game to look up ms0:/psp/ eve with the PSP special case path
handling.
2021-12-16 15:06:15 -08:00
Unknown W. Brackets b8ab7f39df jit: Lock around changes to the jit pointer. 2021-11-28 10:04:22 -08:00
Unknown W. Brackets 931ba43216 UI: Remove scroll to top on size change.
It wasn't actually used anywhere, and I don't see a reason for it now.
2021-09-27 23:39:33 -07:00
Unknown W. Brackets fc78b408b2 UI: Have scroll views directly remember their pos.
Kinda like checkboxes, cleaner this way.
2021-09-27 23:25:41 -07:00
LunaMoo 8e66239404 Fix UI import cheat crash. 2021-05-24 22:54:04 +02:00
Henrik Rydgård ae06499a0c Change Copy, Rename to use Path. Remove std::string version of Exists().
Buildfixes

Buildfix
2021-05-13 10:39:16 +02: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
Unknown W. Brackets 2f1cfd993c Cheats: Avoid OpenCPPFile for cheat import.
This code is a mess, just trying to keep it the same for now.
2021-05-09 17:00:48 -07:00
Henrik Rydgård a2a0551a83 Buildfix, and more renaming while we're at it. 2021-04-25 22:25:29 +02:00
Henrik Rydgård 77b8a14770 Merge GetFileInfo/GetFileDetails into GetFileInfo 2021-04-25 20:52:29 +02:00
Henrik Rydgård 1b13badeb4 Move remaining FileUtil functions into the File namespace. 2021-04-25 20:38:22 +02:00
Unknown W. Brackets 13ec384dbe Build: Explicitly include ppsspp_config.h.
This adds it to all files that use it.  Not all our builds include the
file.
2021-03-02 21:04:03 -08:00
Unknown W. Brackets 3360121b5c UI: Expose lists better in descriptions.
Explicitly marks several lists, which should make exposing text better.
2021-02-21 18:41:08 -08:00
Unknown W. Brackets f32f89dd90 Global: Remove some unused variables. 2021-02-15 11:59:45 -08:00
iota97 0e122f13fa Fix adding extra new line on checkbox change 2021-01-06 10:26:44 +01:00
Henrik RydgårdandGitHub 4f43cff5ca Move fileutil, net, image loaders, ui to Common. (#13506)
* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
2020-10-04 20:48:47 +02:00
Henrik Rydgård f01ba6dc84 Move NativeApp.h to Common/System, split into NativeApp.h and System.h
Buildfix
2020-10-04 11:42:16 +02:00
Henrik Rydgård ff8148dd92 Move native/util, native/data and native/i18 to Common/Data.
Also move colorutil.cpp/h

linking build fix experiment

Delete a bunch of unused CMakeLists.txt files

CMakeLists.txt linking fix

Don't include NativeApp.h from any headers.

Android.mk buildfix

Half of the UWP fix

Buildfix

Minor project file cleanup

Buildfixes

Guess what? More buildfixes!
2020-10-04 07:28:29 +02:00
Henrik Rydgård ed88761ecc Merge ext/native/stringutil.cpp/h into Common/StringUtils.cpp/h. 2020-09-29 15:51:51 +02:00
Unknown W. Brackets 53d9c10b22 irjit: Switch to XXH3. 2020-08-27 20:40:55 -07:00
Henrik Rydgård 5ec2da0f2d Move Section out of IniFile so it can be forward declared. Unlocked further improvements to build speed. 2020-08-10 15:53:52 +02:00
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
LunaMoo 27a616c765 Name homebrew games ini files differently 2016-06-21 00:15:29 +02:00