Exzap
7168d20cde
FST: Refactor IV handling
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Waiting to run
2025-05-27 16:51:46 +02:00
Exzap
783d88a892
coreinit: Fix race condition in __FSAIoctlResponseCallback
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2025-05-17 21:35:42 +02:00
Exzap
28ea70b6d8
GX2+TCL: Reimplement command buffer submission
...
- GX2 utilizes TCL(.rpl) API for command submission instead of directly writing to an internal GPU fifo
- Submission & retire timestamps are correctly implemented as incremental counters
- Command buffering behaviour matches console
- Fixes race conditions on aarch64
2025-05-17 21:35:42 +02:00
Exzap
96765e4ac6
Latte: Refactor clear code
2025-05-17 20:47:01 +02:00
gamerbross
111637a9fd
nsyshid: Skylander 360 Portal small optimization and code formatting ( #1568 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2025-05-15 19:58:43 +02:00
Issa
bed5fdb195
UI: Disable Ctrl+Q shortcut on non-macOS platforms to prevent accidental exits during gameplay ( #1565 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2025-05-13 03:38:11 +02:00
Mefiresu
05617a332b
dmae: Implement 16bit endian swap for DMAECopyMem ( #1564 )
2025-05-12 18:16:14 +02:00
Joshua de Reeper
caef34f2ff
nsyshid: Add Kamen Rider USB Device to Whitelist ( #1560 )
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Waiting to run
2025-05-12 09:28:01 +02:00
neebyA
f801fc1fe8
Fix Mac build for Xcode 16.3 ( #1558 )
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Waiting to run
2025-05-12 00:08:25 +02:00
Exzap
61484598fc
Vulkan: Use per-pipeline buffer robustness
...
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
And if the extension is not supported then fallback to enabling robust buffer access for all shaders.
2025-05-10 09:49:21 +02:00
SSimco
081ebead5f
Add AArch64 recompiler backend ( #1556 )
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Waiting to run
2025-05-09 12:47:22 +02:00
Exzap
d13dab0fd8
Vulkan: During shutdown submit buffer before deleting resources
2025-05-09 10:00:38 +02:00
Exzap
ba09daf328
PPCRec: Reenable float copy optimization
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Waiting to run
2025-05-09 02:06:08 +02:00
Exzap
557aff4024
PPCRec: Implement PSQ scaling
2025-05-08 08:29:47 +02:00
Exzap
de542410c2
PPCRec: Rework floating point instructions ( #1554 )
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Waiting to run
2025-05-08 03:48:22 +02:00
gamerbross
33d5c6d490
nsyshid: Add Skylander Xbox 360 Portal support ( #1550 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2025-05-04 21:44:46 +02:00
Crementif
352a918494
debug: add CLI option to have multi-core interpreter ( #1553 )
...
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Waiting to run
This option still allows you to have proper stack traces for crashes or for the PPC debugger, but is a lot faster then the really slow interpreter (especially when loading into large games like BotW where there has to be a lot of asset decompressing). It makes memory access breakpoints much more brittle though, so it's not a perfect option.
Normal users should of course stick with using the recompiler.
2025-05-04 18:04:26 +02:00
Crementif
d083fc0470
Reorder PPCInterpreter memory layout to keep plugin compatibility
...
Commit b089ae5b32 changed the PPCInterpreter struct that external plugins rely on to hook Cemu through e.g. the exported "osLib_registerHLEFunction". This commit moves some unused values down so that it keeps the same memory layout as before the PPC recompiler rework.
2025-05-04 17:19:56 +02:00
neebyA
fa7ae84314
macOS: Fix browsing of directory paths with spaces ( #1546 )
2025-05-04 13:46:01 +02:00
goeiecool9999
e6a64aadda
undo revert of style improvement
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2025-04-27 17:03:00 +02:00
goeiecool9999
a5f3558b79
Revert "fix building with fmt11 and GCC"
...
This reverts commit 372c314f06 .
It broke formatting in an attempt to fix GCC builds.
Some other change (perhaps dependency updates) has resolved the issue.
2025-04-27 16:57:22 +02:00
Exzap
b089ae5b32
PowerPC recompiler rework ( #641 )
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Waiting to run
2025-04-26 17:59:32 +02:00
Exzap
06233e3462
UI: Fix wxWidgets debug assert
...
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
Adding the same component multiple times is not allowed. Use sizers instead
2025-04-16 14:36:11 +02:00
Exzap
4972381edc
Vulkan: Fix imgui validation error when sRGB framebuffer is used
2025-04-15 22:46:19 +02:00
Exzap
cd6eb1097b
Vulkan: Fix a validation error + minor code refactor
...
We were using VK_EXT_DEPTH_CLIP_ENABLE but didn't actually request it.
Also fixed an assert when closing Cemu caused by incorrectly tracking the number of allocated pipelines
2025-04-15 21:10:11 +02:00
mitoposter
57ff99ce53
cubeb: Show default device option even if enumerating devices fails ( #1515 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2025-03-19 17:06:55 +01:00
capitalistspz
8b5cafa98e
Wiimote/L2CAP: More accurate descriptions for descriptors ( #1512 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2025-03-13 01:09:45 +01:00
Crementif
186e92221a
debugger: allow printing registers using logging breakpoint placeholders ( #1510 )
...
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
This allows a savy user, developer or modder to change the comment field of a logging breakpoint to include placeholders such as {r3} or {f3} to log the register values whenever that code is hit.
2025-03-07 23:40:17 +01:00
goeiecool9999
31d2db6f78
OpenGL: Add explicit/matching qualifiers in output shader interface
...
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
fixes issues with old intel drivers
2025-03-05 22:23:06 +01:00
capitalistspz
ebb5ab53e2
Add menu item for opening shader cache directory ( #1494 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2025-02-14 20:56:51 +01:00
Exzap
ec2d7c086a
coreinit: Clean up time functions
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2025-01-30 03:49:17 +01:00
Exzap
c714e8cb6b
coreinit: Time to tick conversion is unsigned
...
The result is treated as signed in most cases, but the calculation uses unsigned arithmetic.
As a concrete example where this matters, DS VC passes -1 (2^64-1) to OSWaitEventWithTimeout which internally causes an overflow. But only with unsigned arithmetic this will result in a large positive number that behaves like the intended infinite timeout. With signed arithmetic the result is negative and the events will timeout immediately.
2025-01-30 03:32:24 +01:00
goeiecool9999
e834515f43
Vulkan: Improve post-shutdown cleanup and minor improvements ( #1401 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2025-01-23 21:20:03 +01:00
goeiecool9999
372c314f06
fix building with fmt11 and GCC
2025-01-23 21:03:11 +01:00
Exzap
5bd253a1f8
Revert "Fix building against fmt 11.1.0 ( #1474 )"
...
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Waiting to run
Reverting commit 4ac65159ef because game profile enums use the stringifying formatters from config.h and are not supposed to store raw integers
2025-01-23 17:33:06 +01:00
Alexandre Bouvier
4ac65159ef
Fix building against fmt 11.1.0 ( #1474 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2025-01-16 12:54:29 +01:00
Joshua de Reeper
eab1b24320
nsyshid: Initialise interface index as 0 ( #1473 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2025-01-12 20:20:48 +01:00
Exzap
07cd402531
Update precompiled.h
2025-01-12 18:33:15 +01:00
Joshua de Reeper
0a59085021
nsyshid: Make Libusb the Windows backend ( #1471 )
2025-01-12 14:33:24 +01:00
Exzap
8dd809d725
Latte: Implement better index caching ( #1443 )
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Waiting to run
2025-01-12 12:39:02 +01:00
rcaridade145
1923b7a7c4
Vulkan: Added R5_G6_B5_UNORM to supported readback formats ( #1430 )
2025-01-12 12:37:56 +01:00
Crementif
92021db230
Use one CPU emulation thread for --force-interpreter ( #1467 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2025-01-05 04:08:13 +01:00
Crementif
4b792aa4d2
debug: Fix shader dumping ( #1466 )
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Waiting to run
2025-01-04 20:38:42 +01:00
capitalistspz
1e30d72658
build: Add ALLOW_PORTABLE flag ( #1464 )
...
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
* Add ALLOW_PORTABLE cmake flag
* Also check that `portable` is a directory
2024-12-30 18:49:51 +01:00
Mike Lothian
2b0cbf7f6b
Fix building against Boost 1.87.0 ( #1455 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2024-12-18 22:15:42 +01:00
goeiecool9999
3738ccd2e6
Play bootSound.btsnd while shaders/pipelines are compiling ( #1047 )
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Waiting to run
2024-12-18 15:55:23 +01:00
Exzap
b53b223ba9
Vulkan: Use cache for sampler objects
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2024-12-16 13:05:22 +01:00
Exzap
6aaad1eb83
Debugger: Added right click context menu to disasm view + small fixes
2024-12-16 13:05:22 +01:00
Exzap
adab729f43
UI: Correctly handle unicode paths during save export
2024-12-16 13:05:22 +01:00
capitalistspz
dd0af0a56f
Linux: Allow connecting Wiimotes via L2CAP ( #1353 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2024-12-07 12:02:40 +01:00
Exzap
934cb54605
Properly check if MLC is writeable
2024-12-07 10:26:17 +01:00
Exzap
356cf0e5e0
Multiple smaller HLE improvements
2024-12-07 10:26:17 +01:00
Exzap
e2d0871ca3
Camera: Set error code in CAMInit
...
Fixes Hunter's Trophy 2 crashing on boot
2024-12-07 10:26:17 +01:00
neebyA
eca7374567
Set version for macOS bundle ( #1431 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2024-12-02 05:19:15 +01:00
Jeremy Kescher
80a6057512
build: Fix linker failure with glslang 15.0.0 ( #1436 )
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Waiting to run
2024-12-02 01:01:22 +01:00
capitalistspz
0735237686
Input: Move pairing dialog button and source ( #1424 )
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Waiting to run
2024-11-30 23:05:50 +01:00
capitalistspz
90eb2e01f4
nsyshid/dimensions: add missing return ( #1425 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2024-11-22 13:43:12 +01:00
Exzap
409f12b13a
coreinit: Fix calculation of thread total awake time
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Waiting to run
2024-11-21 20:34:24 +01:00
Exzap
7b513f1744
Latte: Add workaround for infinite loop in Fatal Frame shaders
2024-11-21 20:34:24 +01:00
Exzap
c3e29fb619
Latte: Add support for shader instructions MIN_UINT and MAX_UINT
...
Seen in the eShop version of Fatal Frame
Also made some warnings less spammy since this game seems to trigger it a lot
2024-11-21 20:34:24 +01:00
Exzap
2065ac5f63
GfxPack: Better logging messages for diagnosing problems in rules.txt
2024-11-21 20:34:24 +01:00
goeiecool9999
269d5b9aab
Vulkan: Make scaling shaders compatible + fixes ( #1392 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2024-11-16 10:02:43 +01:00
Exzap
719c631f13
config: Fix receive_untested_updates using the wrong default
2024-11-13 06:29:24 +01:00
Exzap
66658351c1
erreula: Rework implementation and fix bugs
...
- ErrEula doesn't disappear on its own anymore. The expected behavior is for the game to call Disappear once a button has been selected. This fixes issues where the dialog would softlock in some games
- Modernized code a bit
- Added a subtle fade in/out effect
2024-11-13 06:29:24 +01:00
Exzap
a5717e1b11
FST: Refactoring to fix a read bug + verify all reads
...
- Fixes a bug where corrupted data would be returned when reading files from unhashed sections with non-block aligned offset or size
- Added hash checks for all reads where possible. This means that FST now can automatically catch corruptions when they are encountered while reading from the volume
2024-11-13 06:29:23 +01:00
Joshua de Reeper
ca2e0a7c31
nsyshid: Add support for emulated Dimensions Toypad ( #1371 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2024-11-11 08:58:01 +01:00
capitalistspz
2e829479d9
nsyshid/libusb: correct error message formatting and print error string on open fail ( #1407 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2024-11-09 06:22:13 +01:00
capitalistspz
4ac1ab162a
procui: swap tickDelay and priority args in callbacks ( #1408 )
2024-11-09 06:21:06 +01:00
SamoZ256
813f9148b1
macOS: Fix absolute path to libusb dylib ( #1405 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2024-11-07 07:09:35 +01:00
SamoZ256
9941e00b54
macOS: Fix libusb path for bundle ( #1403 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2024-11-05 22:22:00 +01:00
Exzap
1c49a8a1ba
nn_nfp: Implement GetNfpReadOnlyInfo and fix deactivate event
...
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
Fixes Amiibos not being detected in MK8
2024-11-01 22:47:19 +01:00
capitalistspz
47001ad233
Make MEMPTR<T> a little more T*-like ( #1385 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2024-10-30 23:10:32 +01:00
goeiecool9999
459fd5d9bb
input: Fix crash when closing add controller dialog before search completes ( #1386 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2024-10-28 09:37:30 +01:00
capitalistspz
63e1289bb5
Windows: Save icons to Cemu user data directory ( #1390 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2024-10-25 18:48:21 +02:00
goeiecool9999
f9a4b2dbb1
input: Add option to make show screen button a toggle ( #1383 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2024-10-19 01:56:56 +02:00
goeiecool9999
d6575455ee
Linux: Fix crash on invalid command-line arguments
...
Build check / build (push) Waiting to run
Generate translation template / generate-pot (push) Waiting to run
use std::cout instead of wxMessageBox which does not work when wxWidgets has not been initialised yet
2024-10-17 22:24:20 +02:00
goeiecool9999
3acd0c4f2c
Vulkan: Protect against uniform var ringbuffer overflow ( #1378 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2024-10-14 14:03:36 +02:00
Alexandre Bouvier
6dc73f5d79
Add support for fmt 11 ( #1366 )
Build check / build (push) Has been cancelled
Generate translation template / generate-pot (push) Has been cancelled
2024-10-03 08:48:25 +02:00
capitalistspz
8508c62540
Various smaller code improvements ( #1343 )
2024-09-17 02:00:26 +02:00
Andrea Toska
adffd53dbd
boss: Fix BOSS not honoring the proxy_server setting ( #1344 )
2024-09-16 12:40:38 +02:00
goeiecool9999
a05bdb172d
Vulkan: Add explicit synchronization on frame boundaries ( #1290 )
2024-09-15 20:23:11 +02:00
Exzap
ba54d1540c
Fix "Receive untested updates" option not being synced to config
2024-09-08 17:21:20 +02:00
Joshua de Reeper
b06990607d
nsysnet: Avoid crash on NULL timeout in select ( #1324 )
2024-09-02 16:20:16 +02:00
squidbus
9a53b19403
CI+build: Improve macOS builds ( #1310 )
2024-08-28 11:06:49 +02:00
Exzap
1234e2c118
Preparations for 2.1 ( #1306 )
2024-08-26 11:43:38 +02:00
bl
dc9d99b03b
nn_fp: Implement GetMyComment and UpdateCommentAsync ( #1173 )
2024-08-24 21:03:03 +02:00
Exzap
573c98b2f8
GfxPack: Workaround for invisible detail panel
...
Fixes #1307
There is probably a better way to calculate the maximum width. But this suffices for now as a workaround
2024-08-23 19:26:33 +02:00
Exzap
958137a301
vpad: Keep second channel empty if no extra GamePad is configured
2024-08-15 18:27:08 +02:00
Exzap
2843da4479
padscore: Invoke sampling callbacks every 5ms
...
This fixes high input latency in games like Pokemon Rumble U which update input via the sampling callbacks
2024-08-15 05:00:09 +02:00
Exzap
b0bab273e2
padscore: Simulate queue behaviour for KPADRead
2024-08-15 02:16:24 +02:00
Skyth (Asilkan)
c49296acdc
Add support for iterating directories in graphics pack content folders. ( #1288 )
2024-08-13 15:53:04 +02:00
Exzap
e551f8f524
Fix clang compile error
2024-08-13 05:57:55 +02:00
Exzap
f52970c822
Vulkan: Allow RGBA16F texture format with SRGB bit
2024-08-13 04:47:43 +02:00
Exzap
e02cc42d67
COS: Implement PPC va_list, va_arg and update related functions
2024-08-13 01:00:56 +02:00
Exzap
598298cb3d
Vulkan: Fix stencil front mask
2024-08-08 16:07:45 +02:00
Exzap
bf2208145b
Enable async shader compile by default
2024-08-07 16:35:15 +02:00
Exzap
d81eb952a4
nsyshid: Silence some logging in release builds
2024-08-06 22:58:23 +02:00
Exzap
1575866eca
Vulkan: Add R32_X8_FLOAT format
2024-08-04 14:47:51 +02:00
Joshua de Reeper
517e68fe57
nsyshid: Tidyups and Fixes ( #1275 )
2024-07-28 18:50:20 +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
capitalistspz
e65abf4898
Suppress unnecessary GTK messages ( #1267 )
2024-07-23 22:18:55 +02: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
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
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
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
GaryOderNichts
1c6b209692
Add initial ntag and nfc implementation
2024-05-18 20:37:37 +02:00
GaryOderNichts
84e78088fb
PPCCoreCallback: Add support for stack args if GPR limit is reached
2024-05-18 20:37:37 +02:00
splatoon1enjoyer
13b90874f9
Fix commas edge case in strings when parsing an assembly line ( #1201 )
2024-05-13 16:52:25 +02:00
GaryOderNichts
b2a6cccc89
nn_act: Implement GetTransferableId ( #1197 )
2024-05-09 12:12:34 +02:00
GaryOderNichts
10d553e1c9
zlib125: Implement deflateInit_ ( #1194 )
2024-05-07 11:56:28 +02:00
Exzap
3f8722f0a6
Track online-enable and network-service settings per-account instead of globally
2024-05-06 18:18:42 +02:00
Exzap
065fb7eb58
coreinit: Add reschedule special case to avoid a deadlock
...
Fixes Just Dance 2019 locking up on boot
2024-05-06 09:15:36 +02:00
capitalistspz
7d6d417354
Input: Improve setting of dpd_enable_fg ( #1127 )
2024-05-06 03:27:30 +02:00
Exzap
bd13d4bdc3
nn_act: Make AcquireToken gracefully fail in offline mode + refactor
2024-05-05 17:05:11 +02:00
Exzap
dd3ed56509
nn_save: Fix inverted condition preventing accessing other title's saves
2024-05-05 10:05:35 +02:00
Exzap
70afe3a033
nlibcurl: Use separte logging type
2024-05-05 09:11:08 +02:00
goeiecool9999
dc480ac00b
Add support for WUHB file format ( #1190 )
2024-05-05 02:35:01 +02:00
qurious-pixel
f28043e0e9
Linux/Mac Auto-Updater ( #1145 )
2024-05-05 01:34:36 +02:00
Exzap
a744670486
coreinit: Add export for OSGetForegroundBucketFreeArea
2024-05-05 01:33:15 +02:00
Exzap
48d2a8371b
sndcore: Write log message instead of asserting in AXSetDeviceRemixMatrix
...
Fixes a crash in Watch Dogs due to the non-debug assert
2024-05-05 01:33:15 +02:00
Exzap
91a010fbdd
proc_ui: Fix crash due to incorrect version handling
...
Resolves a crash in NEX Remix
2024-05-04 08:05:10 +02:00
Exzap
a16c37f0c5
coreinit: Rework thread creation
...
New implementation is much closer to console behavior. For example we didn't align the stack which would cause crashes in the Miiverse applet
2024-05-04 07:05:59 +02:00
Exzap
041f29a914
nn_act: Implement GetTimeZoneId placeholder
2024-05-03 02:44:10 +02:00
Exzap
1b5c885621
nn_acp: Implement ACPGetTitleMetaXml
2024-05-03 02:41:39 +02:00
Exzap
c11d83e9d8
coreinit: Implement MCP_GetTitleId
2024-05-03 02:41:05 +02:00
Exzap
379950d185
coreinit+nn_save: Cleanup some legacy code
2024-05-01 05:06:50 +02:00
Exzap
e7c6862e19
DownloadManager: Fix missing updates
2024-05-01 01:55:55 +02:00
Exzap
1c73dc9e1b
Implement proc_ui.rpl + stub SYSSwitchToEManual() to avoid softlocks
...
- Full reimplementation of proc_ui.rpl with all 19 exports
- Foreground/Background messages now go to the coreinit system message queue as they should (instead of using a hack where proc_ui receives them directly)
- Add missing coreinit API needed by proc_ui: OSGetPFID(), OSGetUPID(), OSGetTitleID(), __OSCreateThreadType()
- Use big-endian types in OSMessage
- Flesh out the stubs for OSDriver_Register and OSDriver_Unregister a bit more since we need to call it from proc_ui. Similiar small tweaks to other coreinit API
- Stub sysapp SYSSwitchToEManual() and _SYSSwitchToEManual() in such a way that they will trigger the expected background/foreground transition, avoiding softlocks in games that call these functions
2024-04-30 23:29:15 +02:00
Exzap
c038e758ae
IOSU: Clean up resource on service shutdown
...
Also set device-dependent thread name
2024-04-30 23:19:11 +02:00
GaryOderNichts
fdf239929f
nsysnet: Various improvements ( #1188 )
...
- Do not raise an assert for unimplemented optnames
- recvfrom: src_addr and addrlen can be NULL
- getsockopt: Implement SO_TYPE
2024-04-29 00:24:43 +02:00
goeiecool9999
5be98da0ac
OpenGL: Fix a crash when GL_VERSION is null ( #1187 )
2024-04-27 15:49:49 +02:00
Exzap
efbbb817fe
DownloadManager: Always use Nintendo servers + additional streamlining
...
- Download manager now always uses Nintendo servers. Requires only a valid OTP and SEEPROM dump so you can use it in combination with a Pretendo setup even without a NNID
- Account drop down removed from download manager since it's not required
- Internally all our API requests now support overriding which service to use
- Drop support for act-url and ecs-url command line parameters. Usage of network_services.xml ("custom" option in the UI) is preferred
2024-04-20 12:19:06 +02:00
Exzap
989e2b8c8c
prudp: More code cleanup + fix compile error
2024-04-18 23:11:39 +02:00
Exzap
e2f9725719
prudp: Code cleanup
2024-04-18 19:23:00 +02:00
Exzap
ee36992bd6
prudp: Improve ping and ack logic
...
Fixes the issue where the friend service connection would always timeout on Pretendo servers
The individual changes are:
- Outgoing ping packets now use their own incrementing sequenceId (matches official NEX behavior)
- If the server sends us a ping packet with NEEDS_ACK, we now respond
- Misc smaller refactoring and code clean up
- Added PRUDP as a separate logging option
2024-04-18 19:23:00 +02:00
Exzap
6ea42d958c
nlibcurl: Fix compile error
2024-04-13 11:03:02 +02:00
Exzap
9c28a728e4
prudp: Dont expect sessionId to match for PING+ACK
...
Fixes friend service connection periodically timing-out on Pretendo.
Seems that unlike Nintendo's servers, Pretendo doesn't set sessionId for PING ack packets.
2024-04-13 10:43:21 +02:00
Exzap
d5a8530246
nlibcurl: Detect invalid header combo + refactoring
...
Fixes error 106-0526 when opening course world on Super Mario Maker
Manually attaching Content-Length header for POST requests is undefined behavior on recent libcurl.
To detect the bad case some refactoring was necessary. In general we should try to move away from directly forwarding curl_easy_setopt() to the underlying instance as the behavior is diverging in modern libcurl. Much more refactoring work is required in the future to fix all of this.
2024-04-13 10:43:21 +02:00
goeiecool9999
84cad8b280
Vulkan: Remove unecessary present fence ( #1166 )
2024-04-11 06:41:57 +02:00
qurious-pixel
391533dbe5
Gamelist: Enable icon column by default ( #1168 )
2024-04-11 06:08:26 +02:00
Exzap
d45c2fa6d1
erreula: Avoid triggering debug assert in imgui
...
It does not like empty window titles
2024-04-10 20:23:15 +02:00
Exzap
12eda10387
nn_acp: Implement ACPGetOlvAccesskey + code clean up
...
Added ACPGetOlvAccesskey() which is used by Super Mario Maker
iosu acp, nn_acp and nn_save all cross talk with each other and are mostly legacy code. Modernized it a tiny bit and moved functions to where they should be. A larger refactor should be done in the future but for now this works ok
2024-04-10 20:22:27 +02:00
47463915
33a74c2035
nn_nfp: Avoid current app from showing up as "???" for others in Friend List + View friends' status ( #1157 )
2024-04-09 00:33:50 +02:00
Maschell
7b635e7eb8
nn_boss: Implement startIndex parameter usage in nn:boss:::GetDataList ( #1162 )
2024-04-08 19:51:30 +02:00
Maschell
9b30be0258
drmapp: Stub more functions to allow title loading from Wii U Menu ( #1161 )
2024-04-08 19:50:57 +02:00
Maschell
efbf712305
nn_sl: Stub GetDefaultWhiteListAccessor__Q2_2nn2slFv to avoid crash in Wii U Menu when an online account is used ( #1159 )
2024-04-08 19:15:49 +02:00
Exzap
74e8d205b0
coreinit: Handle SD mounting permission in FSGetMountSource
...
One Piece requires this to not get stuck in an infinite loop on boot.
This also sets up initial infrastructure for handling cos.xml permissions
2024-04-06 22:18:38 +02:00
goeiecool9999
075eac626b
ELF: Fix crash due to not allocating recompiler ranges ( #1154 )
2024-04-06 22:13:19 +02:00
Exzap
51072b510c
nn_boss: Large rework with various improvements
...
Lots of internal changes. On the surface this only fixes a crash in Mario & Sonic Rio 2016 (at least what I saw from my testing) but it may affect more games.
Summary of changes:
- Rewrite code to use newer cafeExportRegisterFunc
- Simplify code by merging namespaces and structs of the same types
- Correctly set ppc vtables for the virtual boss classes
- Fix some wrong function definitions and implement a little bit more of the boss API (mainly constructors and destructors)
2024-04-03 01:56:49 +02:00
Exzap
3e467e220e
Logging: Prevent crash for nullptr strings
2024-04-03 01:56:49 +02:00
Exzap
fa8bab2f39
Latte: Add support for LOOP_START_NO_AL shader instruction
...
This instruction is used by Injustice: Gods Among Us and Project Zero
Also improved robustness of rendering to be less prone to crashing when a game tries to draw with broken shaders
2024-04-03 01:56:49 +02:00
Exzap
60adc38205
Latte: Add support for more fence conditions
...
MEM_OP_GREATER is required by Injustice: Gods Among Us
2024-04-03 01:56:49 +02:00
Exzap
b0b2c25762
coreinit: Improve accuracy of OSSwitchCoroutine
...
Fixes Injustice: Gods Among Us crashing during boot.
2024-04-03 01:56:48 +02:00
goeiecool9999
5230fcab37
Debugger: Fix infinite loop in symbol storage ( #1134 )
2024-03-27 11:14:01 +01:00
goeiecool9999
4f3d4624f5
GraphicPacksWindow: Disable update button when a game is running ( #1137 )
2024-03-26 13:09:24 +01:00
goeiecool9999
111e383d1b
coreinit: Fix race condition that causes crash ( #1138 )
2024-03-26 13:07:08 +01:00
SSimco
fa4ad9b8c1
Gamelist: Add option to hide the icon column ( #604 )
2024-03-25 22:30:39 +01:00
Exzap
4b7d2f88ae
Latte: Enable colorbuffer optimization if gfx packs are aware
...
The optimization for colorbuffer resolution introduced in PR #706 is now enabled. This optimization changes the resolution of certain framebuffer textures, which may conflict with the texture resolution rules set by some graphic packs. As a result, if a graphic pack that specifies texture resolution rules is in use, the optimization will automatically be turned off to prevent any issues.
To circumvent this, graphic packs can now include the setting "colorbufferOptimizationAware = true" in their rules.txt. This setting indicates that the pack has been updated to handle the resolution changes introduced by the optimization. Cemu will allow the optimization to remain enabled if resolution packs have this flag set.
2024-03-25 21:35:38 +01:00
Francesco Saltori
4d148b3696
Add supported locales to macOS plist ( #1133 )
2024-03-25 21:34:40 +01:00
capitalistspz
241915e1a6
Gamelist: Display title long names + improvements for shortcuts ( #1126 )
...
- Windows icons are stored as .ico files to %LOCALAPPDATA%/Cemu/icons/
- Long title names chosen as some games (NSMBU + NSLU) add trailing dots for their shortnames
- Long title names have their newlines replaced with spaces at parsing
- Linux shortcut paths are saved with UTF-8 encoding
- Game titles are copied and saved with UTF-8 encoding
2024-03-24 11:11:18 +01:00
goeiecool9999
17060752b6
Vulkan: Several swapchain fixes and refactors ( #1132 )
2024-03-24 10:57:08 +01:00
goeiecool9999
4d609f06b8
InputSettings: Fix controller type counter to restore WPAD limit ( #1118 )
2024-03-20 10:22:48 +01:00
goeiecool9999
42d14eec96
Minor code improvements ( #1124 )
2024-03-18 09:18:02 +01:00
goeiecool9999
eaa82817dd
Update thread names ( #1120 )
2024-03-15 23:06:48 +01:00
Exzap
731713de3a
OpenGL: Remove "-legacy" flag
...
"Intel legacy mode" was a special mode to workaround various Intel OpenGL driver limitations during the earlier years of Cemu. It's been unmaintained for years and no longer serves a purpose.
If we ever bring back compatibility with ancient Intel GPUs it should be done in a more structured way than a blunt yes/no flag.
2024-03-14 03:11:04 +01:00
Exzap
193767e6cc
Latte+Vulkan: Code cleanup
...
Besides a general cleanup:
- Remove deprecated resource destruction queues
- Move functionality from renderer into Latte base classes to deduplicate code
2024-03-14 01:10:52 +01:00
Exzap
bc04662525
Latte+GL+VK: Improve handling of gfx pack texture overwrite format
...
Graphic packs can overwrite the format of a texture (e.g. for higher bitdepth to lessen banding) but the code for this wasn't correctly working anymore.
- Fixes overwrite format being ignored for texture views on Vulkan backend
- Fixes overwrite format not being used for texture views on OpenGL
Format aliasing is complicated enough as it is, even without overwrites, so this adds a new rule to make behavior more well defined: If two textures share memory but only one uses an overwrite format, then they are no longer synchronized and are considered separate textures.
Bonus fixes for OpenGL:
- Use fbo 0 instead of -1 as the default. This silences some warnings in debug output
- On OpenGL, bind new framebuffers on handle generation so they are considered created
2024-03-13 02:41:42 +01:00
Exzap
8bc444bb97
Latte: Derive framebuffer size from correct mip of depth buffer
2024-03-12 16:16:52 +01:00
Exzap
6fa77feba3
Latte: Fix regression in dd7cb74
2024-03-12 05:53:31 +01:00
Exzap
a50e25300d
Vulkan: Remove unused code path for texture copies
...
In 2020 we switched to drawcalls for texture copies replacing the copy-via-buffer path. It's not been used since so lets remove it
2024-03-11 23:01:37 +01:00