summaryrefslogtreecommitdiff
path: root/Source/Core
AgeCommit message (Collapse)Author
2024-03-28Core::RunOnCPUThread: Avoid Global System Accessormitaclaw
2024-03-28Merge pull request #12659 from mitaclaw/qt-debug-fontJMC47
DolphinQt Settings: Signal Debug Font By Const Reference
2024-03-28Merge pull request #12658 from mitaclaw/core-global-system-2bJMC47
Core: Remove RunAsCPUThread
2024-03-28DolphinQt: A Ubiquitous Signal For When Symbols Changemitaclaw
There were three distinct mechanisms for signaling symbol changes in DolphinQt: `Host::NotifyMapLoaded`, `MenuBar::NotifySymbolsUpdated`, and `CodeViewWidget::SymbolsChanged`. The behavior of these signals has been consolidated into the new `Host::PPCSymbolsUpdated` signal, which can be emitted from anywhere in DolphinQt to properly update symbols everywhere in DolphinQt.
2024-03-25Core: Fix IPL device m_cursor overflowJosJuice
Not sure if the behavior I'm implementing here is what real hardware does, but since this is a buffer overflow, I'd like to get it fixed quickly. Hardware verification can happen later. https://bugs.dolphin-emu.org/issues/13506
2024-03-25Core: Get rid of IPL device macrosJosJuice
Having to look up macros that are defined elsewhere makes the code harder to reason about. The macros don't remove enough repetition to justify their existence in my opinion.
2024-03-24DSPHLE: Implement 2024 libasnd uCodesPokechu22
2024-03-24DSPHLE: Redefine asnd SwapLeftRight to apply to old versionsPokechu22
2024-03-24DolphinQt: Tweak the aspect ratio setting descriptionJosJuice
With this, I intend to make it clearer that Auto, Force 4:3, Force 16:9 and Custom are really the same thing, just with the aspect ratio of the simulated TV being selected in a different way. I also extended the introduction in a way I feel will clarify things but which you are welcome to bikeshed :) I was thinking of this during the review of 41b19e262f, but wanted to put it in a separate PR as to avoid blocking it on bikeshedding. I'm a bit unsure what to do about the word "analog" in "analog TV". I felt that repeating it for each of these options would be too repetitive. I suppose there's a reason why we used the word originally, but digital TVs do give you basically the same aspect ratio for GC/Wii games as analog TVs. (Of course, whether it's 4:3-like or 16:9-like depends on what aspect ratio you set in the TV's settings, but that's the case for widescreen CRTs too.)
2024-03-23DolphinQt: Update AboutDialog to include number of commits ahead of master.Jordan Woyak
2024-03-23Replace SCM_IS_MASTER with SCM_COMMITS_AHEAD_MASTERJordan Woyak
2024-03-23JitArm64: Optimize divwuxBram Speeckaert
When the divisor is a constant value, we can emit more efficient code. For powers of two, we can use bit shifts. For other values, we can instead use a multiplication by magic constant method. - Example 1 - Division by 16 (power of two) Before: mov w24, #0x10 ; =16 udiv w27, w25, w24 After: lsr w27, w25, #4 - Example 2 - Division by 10 (fast) Before: mov w25, #0xa ; =10 udiv w27, w26, w25 After: mov w27, #0xcccd ; =52429 movk w27, #0xcccc, lsl #16 umull x27, w26, w27 lsr x27, x27, #35 - Example 3 - Division by 127 (slow) Before: mov w26, #0x7f ; =127 udiv w27, w27, w26 After: mov w26, #0x408 ; =1032 movk w26, #0x8102, lsl #16 umaddl x27, w27, w26, x26 lsr x27, x27, #38
2024-03-23Jit64: Refactor divwuxBram Speeckaert
Now that we've moved the logic to DivUtils, refactor the Jit64 code to use it.
2024-03-23DivUtils: Add unsigned division magic functionBram Speeckaert
Takes the logic from Jit64 and moves it into DivUtils, so it can be reused by other backends as well.
2024-03-23JitArm64: Skip SXTW in ComputeRC0(u64)JosJuice
MOVI2R can set the upper bits to ones for free by using MOVN instead of MOVZ.
2024-03-23Core: Remove RunAsCPUThreadmitaclaw
It's a fine function, but CPUThreadGuard is more vogue. Also, its potential for being confused with RunOnCPUThread will not be missed.
2024-03-22DolphinQt Settings: Signal Debug Font By Const Referencemitaclaw
2024-03-22Merge pull request #12606 from mitaclaw/state-global-systemAdmiral H. Curtiss
State: Avoid Global System Accessor
2024-03-22Merge pull request #12620 from mitaclaw/jit-interface-cpu-thread-guardAdmiral H. Curtiss
JitInterface::ClearCache: Modernize With CPUThreadGuard
2024-03-22Merge pull request #12648 from mitaclaw/core-global-systemAdmiral H. Curtiss
Core: Avoid (Some) Global System Accessor
2024-03-22Merge pull request #12654 from jordan-woyak/gcadapter-timeoutAdmiral H. Curtiss
GCAdapter: Adjust libusb transfer timeout to 100ms.
2024-03-22Merge pull request #12355 from fuzziqersoftware/tapserver-modem-adapterAdmiral H. Curtiss
Implement tapserver-based modem adapter
2024-03-22Merge pull request #12652 from iwubcode/json_util_updateAdmiral H. Curtiss
Common: add even more json utility functions
2024-03-21VideoCommon: Scan texture dumping directory + subdirectories to not re-dump ↵Jordan Woyak
existing files.
2024-03-21Merge pull request #12642 from jordan-woyak/state-write-osd-errorsAdmiral H. Curtiss
Core/State: Display messages on state write failures.
2024-03-20Merge pull request #12603 from Sam-Belliveau/oklab_resamplingJMC47
Add HDR to Metal + Perceptual HDR
2024-03-21Merge pull request #12650 from jordan-woyak/balloon-tip-multimonAdmiral H. Curtiss
DolphinQt: Fix BalloonTip positioning on secondary monitors.
2024-03-21Merge pull request #12649 from mitaclaw/kill-is-running-in-current-threadAdmiral H. Curtiss
Core: Remove Unused IsRunningInCurrentThread Function
2024-03-20Core/State: Display messages on state write failures.Jordan Woyak
2024-03-20Merge pull request #12641 from jordan-woyak/d3d-before-oglJordan Woyak
VideoCommon: Prefer D3D11/12 over OpenGL on Windows.
2024-03-20GCAdapter: Adjust libusb transfer timeout to 100ms.Jordan Woyak
2024-03-20Common: add json utility functions 'ReadStringFromJson' and ↵iwubcode
'ReadBoolFromJson' to match 'ReadNumericFromJson' functionality for other data types, similarly support other data types for 'ToJsonArray'
2024-03-20Common: update 'ReadNumericOrDefault' to 'ReadNumericFromJson' and have it ↵iwubcode
return an optional, this provides the caller with more flexibility
2024-03-20DolphinQt: Fix BalloonTip positioning on secondary monitors.Jordan Woyak
2024-03-18Core: Remove Unused IsRunningInCurrentThread Functionmitaclaw
2024-03-18Core: Avoid (Some) Global System Accessormitaclaw
2024-03-17prevent backpressure when m_read_enabled is not setMartin Michelsen
2024-03-17fix tapserver SIGPIPE handling on LinuxMartin Michelsen
2024-03-17respond to further review feedbackMartin Michelsen
2024-03-17close modem socket after joining read threadMartin Michelsen
2024-03-17handle ATH0 commandMartin Michelsen
2024-03-17fix warnings in windows buildMartin Michelsen
2024-03-17respond to review feedback on tapserver implementationMartin Michelsen
2024-03-17add modem files to windows buildMartin Michelsen
2024-03-17Implement GC modem adapterMartin Michelsen
This implements the GameCube modem adapter. This implementation is stable but not perfect; it drops frames if the receive FIFO length is exceeded. This is probably due to the unimplemented interrupt mentioned in the comments. If the tapserver end of the connection is aware of this limitation, it's easily circumvented by lowering the MTU of the link, but ideally this wouldn't be necessary. This has been tested with a couple of different versions of Phantasy Star Online, including Episodes 1 & 2 Trial Edition. The Trial Edition is the only version of the game that supports the Modem Adapter and not the Broadband Adapter, which is what made this commit necessary in the first place.
2024-03-17rewrite tapserver interface for better error handlingMartin Michelsen
2024-03-17add TAPServer.cpp to Windows buildMartin Michelsen
2024-03-17implement tapserver BBA on all platformsMartin Michelsen
This expands the tapserver BBA interface to be available on all platforms. tapserver itself is still macOS-only, but newserv (the PSO server) is not, and it can directly accept local and remote tapserver connections as well. This makes the tapserver interface potentially useful on all platforms.
2024-03-17Merge pull request #12644 from jordan-woyak/ar-multiAdmiral H. Curtiss
DolphinQt: Allow Cheat Search to create multiple AR codes.
2024-03-17Merge pull request #12616 from mitaclaw/dvd-interface-cpu-thread-guardAdmiral H. Curtiss
DVDInterface: Modernize With CPUThreadGuard