Henrik Rydgård
1f129b6dca
Replace "ReadFileToString" with a few semantically clearer wrappers.
2024-01-25 09:55:54 +01:00
M4xw
b52d3f64ff
[Common] Add cstring include to ArmCPUDetect
2023-06-27 14:21:56 +02:00
Henrik Rydgård
67a35d3476
Merge pull request #17356 from unknownbrackets/minor-cleanup
...
Cleanup some more string formats, mostly in debugger
2023-05-23 08:29:23 +02:00
Henrik Rydgård
e0a67c7703
Don't use the cpu_features library on Android arm32.
...
Unbreaks Xperia Play, yay.
Also bumps the compile tools version in the gradle, unrelated but
doesn't hurt.
2023-04-29 23:54:47 +02:00
Unknown W. Brackets
bab2461a48
Windows: Use cpu_features on arm64.
...
It's now supported.
2023-04-29 10:59:32 -07:00
Unknown W. Brackets
08b5286bd5
arm64: Add some flags from cpu_features.
2023-01-29 16:31:01 -08:00
Unknown W. Brackets
09eb509df4
Common: Expose CPU extension list directly.
...
A bit silly to rely on the specific string formatting of a summary.
2023-01-29 15:13:44 -08:00
hissingshark
b9c7181808
Vero4k doesn't report its NEON support - so check for underlying Arm Cortex-A53.
2022-04-25 23:39:17 +01:00
Unknown W. Brackets
2479d52202
Global: Reduce includes of common headers.
...
In many places, string, map, or Common.h were included but not needed.
2022-01-30 16:35:33 -08:00
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