Commit Graph
83 Commits
Author SHA1 Message Date
Unknown W. Brackets 3ac669f80b Core: Fix some minor gcc warnings. 2021-09-13 08:13:14 -07:00
Henrik Rydgård 3be5c7bd9a Make the minimum items per thread explicit. Found some bugs, optional arguments are evil. 2021-06-12 21:21:28 +02:00
Henrik Rydgård 73871b9b7e Implement new thread manager, port stuff to it. 2021-06-12 13:03:53 +02:00
Unknown W. Brackets cedf196d8f Replacement: Validate ZIMs are 8888. 2021-05-16 09:48:28 -07:00
Unknown W. Brackets a0f79ed624 Replacement: Allow loading ZIMs for replacements.
Larger, but can be ZSTD compressed and load much faster.
2021-05-16 09:30:33 -07:00
Unknown W. Brackets d376e67f87 Common: Cleanup some Path constructions. 2021-05-14 22:48:04 -07:00
Henrik Rydgård 47039b4bcd Address all the easy feedback. Some is left. 2021-05-13 10:39:17 +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
Henrik RydgårdandUnknown W. Brackets 2999e1cb86 Core: Remove some uses of OpenCPPFile. 2021-05-09 17:00:48 -07:00
Unknown W. Brackets 8a8328c431 Common: Move ColorConv to a more appropriate place. 2021-05-01 11:20:05 -07:00
Banh-Canh 5dbf393e20 revert filename prefix for reducehashranges 2021-04-03 18:19:51 +02:00
Tien Khoa 91bc56edd5 feat: reduceHash configuration 2021-04-01 13:14:45 +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 fb3ad1df4b Replacement: Read in texture filtering overrides.
If you're replacing, you can know more information about linear safety for
tests.
2021-02-27 17:16:16 -08:00
Henrik Rydgård d798e23871 Buildfix - remove more Qt-specific code in TextureReplacer 2020-10-06 00:16:23 +02:00
Henrik Rydgård 868901252f Delete useless Qt-specific path in TextureReplacer 2020-10-05 22:36:55 +02: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 9e41fafd0d Move math and some file and data conversion files out from native to Common.
Buildfixing

Move some file util files

Buildfix

Move KeyMap.cpp/h to Core where they belong better.

libretro buildfix attempt

Move ini_file

More buildfixes
2020-10-04 09:12:46 +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 e32524c544 GPU: Remove ReliableHash aliases.
Let's just use XXH32/XXH64 directly in texture replacements, clearer
anyway.
2020-08-28 01:15:22 -07:00
Henrik Rydgård 99a5a9aac5 Address feedback 2020-08-15 20:02:07 +02:00
Henrik Rydgård 0fcc0994b4 Recategorize some logging, in preparation for what's to come. 2020-08-15 11:51:22 +02:00
Unknown W. Brackets a0f8e788f3 Global: Move string number parse to text/parsers.
It's not used as much as the other string utils.
2020-08-10 07:05:23 -07:00
Unknown W. Brackets e59951382a Global: Make stringutil includes more explicit. 2020-08-10 07:05:22 -07:00
Henrik Rydgård c5e0b799d9 Remove category from _assert_msg_ functions. We don't filter these by category anyway.
Fixes the inconsistency where we _assert_ didn't take a category but
_assert_msg_ did.
2020-07-19 20:33:25 +02:00
Unknown W. Brackets 7024a2877d GPU: Take A off RGB565 conversion funcs. 2020-05-13 18:17:58 -07:00
Henrik Rydgård d036717e08 TextureReplacer: Generate a default value in the ini files for ignoreMipmap. 2020-04-16 10:08:16 +02:00
NR74WandGitHub 221eec5899 Update TextureReplacer.cpp
Correction.
2020-04-13 16:29:07 +02:00
NR74W fe5b06cc17 Add option to prevent Mipmaps from being dumped 2020-04-13 03:32:03 +02:00
orbea c8c7889f0f cmake: Improve building with the system libpng.
This also now requires at least libpng16 instead of libpng17.

v2: Require libpng17 on arm platforms.
v3: Fix the android and windows travis builds.
2020-03-22 18:43:51 -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
Unknown W. Brackets b4d9d038b4 Replacement: Allow region-specific settings.
This makes it easier to reuse one pack for multiple game ids.
2019-07-14 16:01:37 -07:00
Unknown W. Brackets efc6510569 Replacement: Show a warning for bad texture names. 2018-09-30 17:55:51 -07:00
Unknown W. Brackets 8b62354df6 Replacement: Note filename restrictions in ini. 2018-09-30 17:44:06 -07:00
Unknown W. Brackets 13375e2b95 Replacement: Refactor ini template generation. 2018-09-30 17:00:05 -07:00
Unknown W. Brackets 1b4f1d7d4e Replacement: Cut down on parsing for large inis. 2018-09-07 21:36:59 -07:00
Unknown W. Brackets d1c5668612 Android: Add .nomedia files to system and textures.
Due it on all platforms when saving textures to encourage including
.nomedia in texture packs.
2018-09-02 10:19:08 -07:00
Unknown W. Brackets fcabc319e1 Qt: Load texture replacement images.
Still doesn't save, but at least it can use packs.
2018-06-06 05:57:26 -07:00
Henrik Rydgård a153181e4a Don't leave "reduceHash_" uninitialized. Probably won't help #10796 though.. 2018-03-26 12:33:36 +02:00
Henrik Rydgård e8db163072 Replacement: Break the mip loading loop if a level is wrong. Also shrink the log output. 2017-12-05 13:20:25 +01:00
Henrik Rydgård b3086b1465 Reject texture replacement mipmaps of the wrong size 2017-12-05 13:07:03 +01:00
Unknown W. Brackets bd1ed897cf Global: Fix some warnings. 2017-11-25 14:08:49 -08:00
Unknown W. Brackets 9fbcc01afa TexCache: Remove simple 0/1 alpha check.
No practical optimizations have come of this, so it's a waste of time.
Slows down Vulkan too.
2017-11-12 16:17:46 -08:00
Henrik RydgårdandGitHub c5ebeb4273 Merge pull request #9780 from unknownbrackets/ge-record
GE recorder and replay
2017-06-05 10:08:55 +02:00
Henrik RydgårdandGitHub af1801af54 Merge pull request #9668 from LunaMoo/featureTR
Add "ignoreAddress" to texture replacement.
2017-06-04 12:01:23 +02:00
Unknown W. Brackets 41b485aa0a Core: Refactor repeating disc id homebrew code. 2017-06-03 15:29:08 -07:00
LunaMoo 939b26475d Fix a bunch of emu features for Homebrew by better identification. 2017-05-30 12:20:29 +02:00
LunaMoo 0e44c3b9fe Add reduceHash option, to hash 50% of texture when it's otherwise unreliable. 2017-05-07 21:12:26 +02:00