Henrik Rydgård
f54d701a2e
Decentralize the assert for AllocateAlignedMemory failures
2024-10-22 21:49:50 +02:00
Henrik Rydgård
4d6905672e
Bunch more linting
2024-10-10 11:57:10 +02:00
Henrik Rydgård
e01ca5b057
Logging API change (refactor) ( #19324 )
...
* Rename LogType to Log
* Explicitly use the Log:: enum when logging. Allows for autocomplete when editing.
* Mac/ARM64 buildfix
* Do the same with the hle result log macros
* Rename the log names to mixed case while at it.
* iOS buildfix
* Qt buildfix attempt, ARM32 buildfix
2024-07-14 14:42:59 +02:00
Henrik Rydgård
be65cf0fc2
Assert improvements
2023-09-12 17:15:26 +02:00
fp64
f133739cd0
Replace some signed divison in SoftGPU
...
This also adds a few bitwise operations to Vec4<int> and further
SIMDifies it.
Also, fixes unrelated warning.
2023-06-29 16:43:21 -04:00
M4xw
0cf6f46330
[MemoryUtil] Platform changes for Nintendo Switch
2023-06-26 16:17:45 +02:00
Henrik Rydgård
f45a7cf06b
Some semantic cleanup
2023-04-24 12:04:34 +02:00
Henrik Rydgård
7a75119ed0
Split out the Windows version of AllocateExecutableMemory
2023-04-24 12:04:27 +02:00
Henrik Rydgård
79f4e73110
Replacer: Perform the padding to pow2 size during CopyLevelTo, not during load. Saves memory.
2023-03-17 14:00:14 +01:00
Unknown W. Brackets
fa1a4d26dc
Windows: Fix crash dependent on alloc order.
...
Without IR, we don't allocate executable memory, so the first allocation
always fails.
2023-03-15 21:30:21 -07:00
Henrik Rydgård
73452b4743
Minor cleanups
2022-04-23 22:52:28 +02: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
4178f09e57
Build: More consistently avoid _M_ defines.
...
We use PPSSPP_ARCH in several places already, this makes it more complete.
2021-03-02 21:49:21 -08:00
Unknown W. Brackets
5119d79082
Build: Remove IOS define.
2021-03-02 21:04:03 -08:00
Henrik Rydgård
5077a004ff
Mark ARM64 Macs as needing WX-exclusive memory protection
2020-12-02 19:13:52 +01:00
Henrik Rydgård
f46759be5a
Another missing header buildfix
...
thanks autechre
2020-10-14 23:49:59 +02:00
Henrik Rydgård
11ab77b995
Remove some TLS.
2020-09-29 15:51:51 +02:00
Henrik Rydgård
b43698a13d
Remove most instances of base/logging.h from Common, Core, GPU, more
2020-08-15 19:08:44 +02:00
Henrik Rydgård
0829543987
Third part of getting rid of PanicAlert
2020-07-19 20:34:02 +02:00
Henrik Rydgård
617bbcfb87
Step 1 of removing PanicAlert
2020-07-19 20:33:25 +02:00
Unknown W. Brackets
a0f846d966
Core: Avoid shadowing a define.
2020-03-08 21:27:45 -07:00
Henrik Rydgård
a04720e37e
Don't use the MAP_32BIT flag on any platform.
2020-01-04 21:54:25 +01:00
Henrik Rydgård
d9b6ab83cf
Mac: MAP_32BIT is no longer supported in Catalina and breaks. We don't need it anymore anyway. Fixes #12495 .
2020-01-04 21:00:15 +01:00
Anthony J. Bentley
9fc355eee4
Use W^X on OpenBSD.
2017-11-05 17:06:09 -07:00
Jan Beich
e33acdc5e9
Common: fix MAP_32BIT after 9f24203ef8
...
9f24203ef8 added 0x20000000 as a default fallback address hint which
unconditionally disabled MAP_32BIT. FreeBSD cannot use the hints
because without adjusting RLIMIT_DATA lower addresses are reserved for
brk(2) style heap. So, don't try to use hints with MAP_32BIT.
2017-07-26 15:25:54 +00:00