Commit graph

631 commits

Author SHA1 Message Date
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
Exzap
5f825a1fa8 Latte: Always allow views with the same format as base texture
Fixes crash/assert in VC N64 titles
2024-06-02 21:39:40 +02:00
Colin Kinloch
d33337d539
Fix GamePad window size (#1224) 2024-05-29 00:36:12 +02:00
Exzap
f576269ed0 Refactor legacy method of emulating thread events 2024-05-29 00:34:11 +02:00
Exzap
da8fd5b7c7 nn_save: Refactor and modernize code 2024-05-29 00:07:37 +02:00
Exzap
1ee9d5c78c coreinit: Tweak JD2019 workaround to avoid XCX softlock 2024-05-27 01:24:24 +02:00
goeiecool9999
aadd2f4a1a
Input: Assign profile name correctly on save (#1217) 2024-05-25 01:48:53 +02:00
qurious-pixel
149fe10a4e
CI+MacOS: Use libusb dylib from vcpkg (#1219) 2024-05-25 01:48:17 +02:00
Cemu-Language CI
917ea2ef23 Update translation files 2024-05-23 17:48:04 +00:00
Exzap
b048a1fd9e Use CURLOPT_USERAGENT instead of manually setting User-Agent 2024-05-22 05:08:03 +02:00
Exzap
a059338890
Add initial NTAG and NFC implementation 2024-05-22 04:45:10 +02:00
goeiecool9999
523a1652df
OpenGL: Restore ProgramBinary cache for GL shaders (#1209) 2024-05-22 04:23:33 +02:00
goeiecool9999
c913a59c7a
TitleList: Add homebrew title type (#1203) 2024-05-22 04:11:02 +02:00
GaryOderNichts
964d2acb44 Filestream_unix: Include cstdarg 2024-05-18 20:47:09 +02:00
GaryOderNichts
a115921b43 Fix inconsistency with int types 2024-05-18 20:37:37 +02:00
GaryOderNichts
eb1983daa6 nfc: Remove backup path 2024-05-18 20:37:37 +02:00
GaryOderNichts
8fe69cd0fb Properly implement NFC result codes 2024-05-18 20:37:37 +02:00
GaryOderNichts
41fe598e33 nfc: Implement UID filter 2024-05-18 20:37:37 +02:00
GaryOderNichts
8e8431113a ntag: Implement NTAGWrite 2024-05-18 20:37:37 +02:00