| Age | Commit message (Collapse) | Author |
|
USBDeviceAddToWhitelistDialog: Use adjustSize for a better default dialog size.
|
|
LibusbUtils: Add GetStringDescriptor function.
|
|
WiiSaveBanner: fall back to $userdir/Load/WiiBanners
|
|
CoreTiming: Fix unsafe usage of m_globals.global_timer in ScheduleEvent from non-CPU thread.
|
|
Update rcheevos submodule to latest version
|
|
See https://lists.nongnu.org/archive/html/info-gnu/2024-12/msg00000.html
|
|
CodeWidget: Add button that locks the view's address
|
|
|
|
as navigating to the PC on pause.
|
|
USBDeviceAddToWhitelistDialog: Remove examples from VID/PID entry placeholder text.
|
|
Dentomologist/cexiagp_dont_create_save_file_if_path_is_empty
CEXIAgp: Don't create save file if path is empty
|
|
Require ReadArray and WriteArray to be called with a trivially copyable
type.
ReadArray and WriteArray call std::fread and std::fwrite respectively.
These functions trigger undefined behavior when the objects are not
trivially copyable, so this adds that requirement to the callers.
|
|
|
|
placeholder text.
|
|
InputCommon: Rename SDL input backend GameController to Gamepad.
|
|
Fix creation of a ".sav" file in the current working directory on
emulation shutdown when a slot is set to "Advance Game Port" and the
"GBA Cartridge Path" is empty.
Fixes https://bugs.dolphin-emu.org/issues/12975.
|
|
|
|
|
|
so that it's not created on the stack.
|
|
Remove redundant reset of g_presenter in ShutdownShared, which is
already reset earlier in the function.
|
|
Fix some common anti-patterns with these data structures.
- You can dereference the iterator returned by `find` to access the
underlying value directly, without an extra `operator[]`/`at`.
- Rather than checking for an element before insertion/deletion, you can
just do the operation and if needed check the return value to
determine if the insertion/deletion succeeded.
|
|
Common: Replace Contains and ContainsSubrange with C++23 std::ranges equivalents
|
|
ClickBlurLabel: Create a label which is blurred until it is clicked
|
|
replace our libusb_get_string_descriptor_ascii calls.
|
|
Unlike custom banners which work as an override, this mechanism works as
a fallback. The use case is if you have games you don't really play but
want to keep around for testing purposes without filling up your NAND
with lots of saves. For ease of use, the directory structure is the same
but only title/$title_hi/$title_lo/data/banner.bin files are
relevant.
|
|
DolphinQt: Move graphics config to main Settings window.
|
|
Dentomologist/memorywidget_fix_hex_input_validation_errors
MemoryWidget: Fix hex input validation errors
|
|
DolphinQt: Adjust PostProcessingConfigWindow size on creation.
|
|
|
|
IOS/KD: Pad Wii Numbers to 16 digits
|
|
Fix the input string failing to validate when the "Hex Byte
String" input type is selected and either the user adds a 0x prefix or
the "Hex" box is checked (or both).
The latter failure was particularly troublesome because when "Hex Byte
String" is selected the "Hex" checkbox is disabled. Users would have to
switch to a data type that enabled the box, toggle it, then switch back
to "Hex Byte String" to fix it.
Fix these errors by not adding a prefix when the "Hex" box is checked,
and removing the "0x" prefix from the user's input if present.
|
|
|
|
Fix validation failing when the user has checked the Hex box and also
includes a "0x" or "-0x" prefix in their input.
Previously an extra "0x" would be inserted, causing the user's input of
"0x13" to become "0x0x13" which would then fail to validate.
|
|
non-CPU thread.
|
|
Bluetooth Passthrough Improvements
|
|
PPCSymbols: Restructure loading on boot and add a mutex to prevent crashes.
|
|
WARN_LOG if the size is smaller than that of the original BT module.
|
|
commands from LIBUSB_RECIPIENT_INTERFACE to LIBUSB_RECIPIENT_DEVICE.
This changes the value from 0x21 to 0x20 which now matches the value that Wii software generates.
|
|
|
|
for improved performance with certain adapters.
|
|
Separate LibUSB logic into LibUSBBluetoothAdapter class.
Submit transfers on thread with proper timing.
Throttle before ACL input for reduced input latency.
Immediately send IPC replies for outgoing data.
Continuously submit libusb transfers to fill HCI/ACL input queues.
Simplify endpoint handling and state saving.
Other cleanups.
|
|
|
|
BTReal: bugfix - BT passthrough uses selected device rather than first compatible device in list
|
|
|
|
Remove the redundant s_populate_mutex and only use
ControllerInterface::m_devices_population_mutex instead to prevent a
deadlock caused by locking them in opposite orders.
The device population functions in the win32 InputBackend previously
locked s_populate_mutex first before calling various functions that
locked m_devices_population_mutex. This normally worked but
ControllerInterface::RefreshDevices locks m_devices_population_mutex
first and then calls HandleWindowChange which then locked
s_populate_mutex, potentially causing the deadlock.
Fix this by using PlatformPopulateDevices to lock
m_devices_population_mutex before running the code that was previously
protected by s_populate_mutex. The functions in question lock
m_devices_population_mutex anyway, so this shouldn't meaningfully
increase contention on the lock.
Reproduction steps:
* Let Dolphin finish startup.
* In Win32.cpp::OnDevicesChanged set a breakpoint on the call to
PlatformPopulateDevices. When the breakpoint is triggered the function
will have locked s_populate_mutex, but since PlatformPopulateDevices
won't have run yet m_devices_population_mutex will still be unlocked.
* Unplug a device from your computer.
* Wait for the breakpoint to trigger. (At this point you can plug the
device back in).
* Freeze the ntdll.dll!TppWorkerThread() that triggered the breakpoint.
* Resume Dolphin and start a game.
* Core::EmuThread will call ControllerInterface::ChangeWindow which
calls RefreshDevices. It locks m_devices_population_mutex, then calls
InputBackend::HandleWindowChange, which tries to lock
s_populate_mutex.
* Unfreeze ntdll.dll!TppWorkerThread().
At this point EmuThread and TppWorkerThread are deadlocked. The UI is
still responsive since the Host thread is unaffected, but trying to stop
the game or close Dolphin normally will fail since EmuThread is unable
to stop.
|
|
|
|
i18n: Add comments
|
|
|
|
|
|
different threads on boot.
On boot should be the only time this happens.
|