Commit graph

57 commits

Author SHA1 Message Date
Unknown W. Brackets
8ae3f5eb41 Android: Fix logical CPU count.
Otherwise bad things happen.
2021-06-13 12:47:11 -07: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
9d8f22efd0 CPUDetect: Avoid usage of OpenCPPFile().
These are just /proc/, so not content files, but safer to remove all
OpenCPPFile() usage.
2021-05-09 20:21:37 -07:00
Halo-Michael
cbcfbca895 sz must be longer than target string 2020-12-03 21:05:00 +08:00
Halo-Michael
95e6a1c7a5 Why not iOS? 2020-12-03 11:43:20 +08:00
Henrik Rydgård
9c8feefcdc M1: Correctly detect core count. 2020-12-02 21:59:18 +01:00
Henrik Rydgård
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
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
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
driver1998
c4f200e814 ArmCPUDetect: close the registry key when finish 2019-05-13 19:06:31 +08:00
driver1998
e010d06c5c Add CPU string in Windows ARM 2019-05-11 19:27:21 +08:00
driver1998
95c5fabb2c Enable ArmCPUDetect on Windows Desktop 2019-05-04 22:45:15 +08:00
LunaMoo
5e0f8141d2 Corrections, some %i->%d around other code as well. 2017-05-30 13:52:29 +02:00
Henrik Rydgård
21fe73c8e7 Switch strncpy to truncate_cpy in a bunch of places. 2017-05-26 19:04:08 +02:00
Henrik Rydgard
f2ccd1d648 Assorted Windows-on-ARM fixes 2017-03-05 10:47:41 +01:00
Florent Castelli
8c3552de74 cmake: Detect features at compile time
Instead of relying on manually passed down flags from CMake,
we now have ppsspp_config.h file to create the platform defines for us.
This improves support for multiplatform builds (such as iOS).
2016-10-19 12:31:19 +02:00
Florent Castelli
4145b60a0e symbian: Remove! 2016-10-11 18:49:08 +02:00
Henrik Rydgård
ad71d27809 Merge pull request #9045 from Orphis/cmake_cleanup
cmake: Use preprocessor for conditional compilation in Common
2016-10-11 18:19:22 +02:00
Florent Castelli
373db56a16 blackberry: Remove! 2016-10-11 17:40:32 +02:00
Florent Castelli
83aaf30207 cmake: Use preprocessor for conditional compilation in Common
CommonExtra is gone!
Still need to fix CommonFake later though.
2016-10-11 16:55:29 +02:00
Unknown W. Brackets
02db45982a Pass Build.BOARD from Java, avoid lookup.
Fixes arm64 build with r10, but is ugly coupling.
2016-05-27 20:11:25 -07:00
Unknown W. Brackets
4113fd940c Add ugly invalidation workaround for SGS7s.
Otherwise they just crash, and crash often.  Special thanks to Jaaan for
numerous trials to try to find the best way to solve the crashes.
2016-05-23 21:35:28 -07:00
Unknown W. Brackets
70c78effb0 Use Android system props for CPU info fallback.
Some devices don't provide any useful information at all, such as the
Galaxy S7.
2016-05-23 21:18:57 -07:00
Unknown W. Brackets
3110d6f928 Show some cpu name if possible on Android. 2015-06-26 21:55:51 -07:00
Henrik Rydgård
2a1f6bca97 Fix NEON 4444 CheckAlpha, workaround for failed bNEON detection on ARM64 2015-05-31 12:29:08 +02:00
Henrik Rydgard
3aebc06329 Better logic immediate support in ARM emitter. From V8. 2015-04-06 18:13:02 +02:00
Henrik Rydgard
6c3ef819e0 ARM cpu detect: Only drop last character if it's actually a newline 2014-12-22 00:19:59 +01:00
Sacha
c9261b77f7 Silly typos. 2014-06-08 05:18:29 +10:00
Sacha
cb04c073b9 Update ArmCPUDetect to fix potential crashes. Merge from Dolphin. 2014-06-08 05:10:10 +10:00
Sacha
20e8a81268 Switch to compile-time ARMV7 define. 2013-11-15 11:20:39 +10:00
Sacha
e6320f2726 Add a CPU Extensions tab to Developer's System Info. 2013-11-15 01:18:29 +10:00
Sacha
a74718c54f Snapdragon Plus also has IDIV. Clean up for ArmCPUDetect. 2013-11-15 01:18:29 +10:00
Sacha
a8a8223c06 Symbian: Fix incorrect define. Wasn't showing correct # cores. 2013-11-12 16:00:43 +10:00
Sacha
3abeb62230 Use new OS10.2 APIs for detecting some CPU info on Blackberry. 2013-11-02 00:35:39 +10:00
Unknown W. Brackets
01f97b1662 Get cpu info from /sys where possible.
Fixes #4215.  May impact texture scaling performance.
2013-10-16 22:56:20 -07:00
Sacha
be47964ff2 Use 'Cores' instead of 'Threads' for ARM. 2013-10-15 15:28:19 +10:00
Sacha
2d7b58d64a Add CPU info for ARM-based devices. 2013-10-15 15:05:52 +10:00
Lioncash
dce9fdd203 Previous commit should have actually used free() and not delete. This fixes that. 2013-08-01 10:57:27 -04:00
Lioncash
b14827da04 Fix two memory leaks in ArmCPUDetect.cpp
These char pointers weren't deleted before the function ended.
2013-08-01 10:24:56 -04:00
Henrik Rydgard
f70e8a2fe0 Android buildfix & retab 2013-07-29 21:24:24 +02:00
Sacha
3fb76106fd Merge Sonic's ArmCpuDetect changes (cross-project merge). 2013-07-30 04:31:35 +10:00
Jake Traynham
e89b2055a6 Reenabled armv7s for iOS with JIT fixes 2013-06-20 11:44:59 -05:00
Sacha
45775d4fc2 Fix for non-ffmpeg platforms. Thanks unknownbrackets!
Can now get past videos on platforms such as Meego and Symbian.
Also fix some spacing and type issues.
2013-06-19 01:14:14 +10:00
Sacha
490f841093 Integer division is not guaranteed for VFPv4 devices. Example: Cortex-A5. 2013-06-18 01:42:36 +10:00
Sacha
d97f2268ca Improve CPU detection. Enable VFPv4 for Blackberry devices which support it. 2013-05-15 04:40:24 +10:00
Sacha
2396574f45 Avoid name collision with StringUtil on Windows hosts. Fixes all Linux/Unix cross-compiles from Windows, including Harmattan and Blackberry. 2013-05-03 16:22:15 +10:00
Sacha
5091c7aae2 Fix Sonic's ArmEmitter changes. FastMem should work now. 2013-03-15 11:26:56 +10:00
Sacha
529803e429 Sonic's ArmEmitter changes (cross-project merge from Dolphin) 2013-03-14 12:47:29 +10:00
Sacha
10ad797c6d Armjit stubs.
Add a double encoding for VCVT. Implement integer divide (but not working yet). Stubs for msub/msubu. Don't detect vfpv3 on Symbian.
2013-03-05 13:16:08 +10:00