mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 14:19:46 -06:00
DSPAnalyzer: Break tight coupling to SDSP
Allows the analyzer to exist independently of the DSP structure. This allows for unit-tests to be created in a nicer manner. SDSP is only necessary during the analysis phase, so we only need to keep a reference around to it then as opposed to the entire lifecycle of the analyzer. This also allows the copy/move assignment operators to be defaulted, as a reference member variable prevents that.
This commit is contained in:
@ -93,7 +93,7 @@ void CodeLoaded(DSPCore& dsp, const u8* ptr, size_t size)
|
||||
UpdateDebugger();
|
||||
|
||||
dsp.ClearIRAM();
|
||||
state.GetAnalyzer().Analyze();
|
||||
state.GetAnalyzer().Analyze(state);
|
||||
}
|
||||
|
||||
void UpdateDebugger()
|
||||
|
Reference in New Issue
Block a user