Commit graph

649 commits

Author SHA1 Message Date
Exverge
d73c5895f2
MemMapper: don't change address on non-reserved mappings 2024-08-08 12:21:12 -04:00
Exverge
6b6a538b3a
Update build.yml 2024-08-07 20:36:39 -04:00
Exverge
118d1c669a
Update BUILD.md 2024-08-07 20:14:23 -04:00
Exverge
3795fc07fd
MemMapper: Support alternative pagesizes 2024-08-07 20:12:47 -04:00
Exverge
4700a19009
Revert alignment of HIGHMEM
Revert "MMU: Make HIGHMEM address conditional"

This reverts commit f24fc3ed33.

Revert "MMU: Align pre-core memory space for 16kib page size"

This reverts commit dc1dc4491c.
2024-08-07 20:12:47 -04:00
Exverge
a393ee8fbb
Fix build errors 2024-08-07 20:12:43 -04:00
Exverge
ca2a9ff1b2
Merge remote-tracking branch 'base/main' into macos-arm64 2024-08-07 18:03:12 -04:00
Joshua de Reeper
517e68fe57
nsyshid: Tidyups and Fixes (#1275) 2024-07-28 18:50:20 +02:00
Exzap
593da5ed79 CI: Workaround for MoltenVK crash
1.2.10 and later crash during descriptor set creation. So for now let's stick with the older version
2024-07-27 18:35:23 +02:00
Exzap
c73fa3761c Fix compatibility with GCC 2024-07-27 04:45:36 +02:00
Exzap
5328e9eb10 CPU: Fix overflow bit calculation in SUBFO instruction
Since rD can overlap with rA or rB the result needs to be stored in a temporary
2024-07-26 06:03:00 +02:00
Exzap
47f1dcf996 debugger: Add symbol support to PPC stack traces
Also moved the declaration to precompiled.h instead of redefining it wherever it is used
2024-07-26 06:03:00 +02:00
Exzap
252429933f debugger: Slightly optimize symbol list updates 2024-07-26 06:03:00 +02:00
Exzap
026d547dcc Use HTTP 1.1 in Nintendo API requests 2024-07-26 06:03:00 +02:00
Exzap
f1685eab66
h264: Use asynchronous decoding when possible (#1257) 2024-07-26 05:48:42 +02:00
Exverge
4b9c7c0d30
Update Fedora build instructions (#1269) 2024-07-24 08:32:40 +02:00
capitalistspz
e65abf4898
Suppress unnecessary GTK messages (#1267) 2024-07-23 22:18:55 +02:00
Exverge
d25f8da423
ih264: fix comment formatting 2024-07-23 12:47:06 -04:00
Exverge
b853614628
Merge branch 'cemu-project:main' into macos-arm64 2024-07-22 21:26:13 -04:00
Exverge
0760d3ef44
Update BUILD.md 2024-07-22 21:25:53 -04:00
Joshua de Reeper
a1c1a608d7
nsyshid: Emulate Infinity Base (#1246) 2024-07-23 03:18:48 +02:00
Exzap
64232ffdbd
Windows default to non-portable + Reworked MLC handling and related UI (#1252) 2024-07-23 03:13:36 +02:00
Exverge
7037337659
gui: don't use 1 as itemid 2024-07-21 15:45:03 -04:00
Exverge
4baad7cd37
CI: Use AppleClang for arm64
For some reason, compiling with LLVM causes a segfault when any popup opens. This is specific to LLVM and works fine with the default compiler.
2024-07-20 20:46:52 -04:00
Exverge
005e78b35e
Set macOS frequency constant for Intel 2024-07-20 16:21:15 -04:00
Exverge
804aa4f345
ih264d: Process arguments correctly on Apple Silicon
Apple seemed to not have offsets for arguments on the stack
Either that or the offsets were just wrong, I'll test on a Linux VM and remove the conditonal if this still happens
2024-07-20 15:37:14 -04:00
Exverge
10bed1abc8
Latte: decode indices with NEON on aarch64 2024-07-20 15:37:14 -04:00
Exverge
e6e65aff9a
gx2: Use atomic pointers for GX2WriteGatherPipeState 2024-07-20 15:37:14 -04:00
Exverge
f24fc3ed33
MMU: Make HIGHMEM address conditional 2024-07-20 15:37:14 -04:00
Exverge
b2330b36ef
Use interpreter on arm64 by default 2024-07-20 15:37:14 -04:00
Exverge
f4b59c967e
Latte: Disable blending integer formats
Despite being disabled in InitBlendState, this still causes errors on MoltenVk, so just skip it altogether
Seemingly fixes Cemu-project/Cemu#396 (there's a multitude of errors there in the comments, specifically referring to the issue), however I don't own BOTW and can't confirm
2024-07-20 15:37:13 -04:00
Exverge
e81a592b89
gui: Fix missing item on macOS
"A MenuItem ID of Zero does not work under Mac"
2024-07-20 15:37:13 -04:00
Exverge
011be25597
coreinit: Split pointer before passing to FiberThreadEntry 2024-07-20 15:37:13 -04:00
Exverge
72af6e8ae4
Hardcode frequency on Apple Silicon
On Apple Silicon, PPCTimer estimates a terribily inaccurate RSTSC frequency and results in games (specifically tested Color Splash & MK8) run extremely fast especially in the title screens which unsurpisingly doesn't work that well.
The value hardcoded is the same frequency as on Rosetta.
Admittedly this probably isn't the best solution however it is accurate and it works.
2024-07-20 15:37:13 -04:00
Exverge
6786bcaaf5
Implement _mm_mfence for aarch64 2024-07-20 15:37:13 -04:00
Exverge
dc1dc4491c
MMU: Align pre-core memory space for 16kib page size
I've changed the range to accommodate for the Project Zero bug stated however I'm not sure if causes any other issues or if this is used, however it seems to work fine. Please correct me if true.
2024-07-20 15:37:13 -04:00
Exverge
5a3f86481e
When compiling for Apple Silicon, CMAKE_SYSTEM_PROCESSOR is set to arm64 rather than aarch64
cmake: Fix compiling for Apple Silicon
2024-07-20 15:37:13 -04:00
Exverge
d2a9c317d6
ih264d: Modify to compile with AppleClang & for M1 2024-07-20 15:37:13 -04:00
Exverge
08630f5c04
CI: Add macOS arm64 build 2024-07-20 15:37:10 -04:00
goeiecool9999
7522c8470e
resource: move fontawesome to .rodata (#1259) 2024-07-19 14:24:46 +02:00
Exzap
9d366937cd Workaround for compiler issue with Visual Studio 17.10 2024-07-07 08:55:26 +02:00
Joshua de Reeper
5209677f2f
nsyshid: Add SetProtocol and SetReport support for libusb backend (#1243) 2024-07-02 03:32:37 +02:00
Colin Kinloch
64b0b85ed5
Create GamePad window at correct size (#1247)
Don't change the size on canvas initialization
2024-06-29 22:31:47 +02:00
Joshua de Reeper
aefbb918be
nsyshid: Skylander emulation fixes and code cleanup (#1244) 2024-06-28 15:44:49 +02:00
Joshua de Reeper
93b58ae6f7
nsyshid: Add infrastructure and support for emulating Skylander Portal (#971) 2024-06-28 00:55:20 +02:00
Exzap
f3d20832c1 Avoid an unhandled exception when mlc path is invalid 2024-06-25 19:28:21 +02:00
Exzap
d4c2c3d209 nsyskbd: Stub KBDGetKey
Fixes MSX VC games freezing on boot
2024-06-25 15:50:06 +02:00
Exzap
1672f969bb Latte: Add support for vertex format used by Rabbids Land 2024-06-09 17:53:34 +02:00
goeiecool9999
6772b1993f
vcpkg: Update dependencies (#1229) 2024-06-05 16:34:42 +02:00
Exzap
16070458ed Logging: Restructure menu + allow toggeling APIErrors logtype
The logtype "APIErrors" previously was always enabled. This option is intended to help homebrew developers notice mistakes in how they use CafeOS API. But some commercial games trigger these a lot and cause log.txt bloat (e.g. seen in XCX). Thus this commit changes it so that it's off by default and instead can be toggled if desired.

Additionally in this commit:
- COS module logging options are no longer translatable (our debug logging is fundamentally English)
- Restructured the log menu and moved the logging options that are mainly of interest to Cemu devs into a separate submenu
2024-06-02 21:39:40 +02:00