diff options
| author | 2023-02-13 11:21:43 -0500 | |
|---|---|---|
| committer | 2023-02-13 19:03:12 -0500 | |
| commit | ceda2d280e8a3030c1e23083c5cea9158387fe4c (patch) | |
| tree | 8041460840ed81d4cb74d87eecfb8fb720cdfa15 /src/audio_core | |
| parent | kernel: use GetCurrentProcess (diff) | |
| download | yuzu-ceda2d280e8a3030c1e23083c5cea9158387fe4c.tar.gz yuzu-ceda2d280e8a3030c1e23083c5cea9158387fe4c.tar.xz yuzu-ceda2d280e8a3030c1e23083c5cea9158387fe4c.zip | |
general: rename CurrentProcess to ApplicationProcess
Diffstat (limited to 'src/audio_core')
| -rw-r--r-- | src/audio_core/renderer/system.cpp | 2 | ||||
| -rw-r--r-- | src/audio_core/sink/sink_stream.cpp | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/audio_core/renderer/system.cpp b/src/audio_core/renderer/system.cpp index 4fac30c7c..31cbee282 100644 --- a/src/audio_core/renderer/system.cpp +++ b/src/audio_core/renderer/system.cpp | |||
| @@ -127,7 +127,7 @@ Result System::Initialize(const AudioRendererParameterInternal& params, | |||
| 127 | render_device = params.rendering_device; | 127 | render_device = params.rendering_device; |
| 128 | execution_mode = params.execution_mode; | 128 | execution_mode = params.execution_mode; |
| 129 | 129 | ||
| 130 | core.Memory().ZeroBlock(*core.Kernel().CurrentProcess(), transfer_memory->GetSourceAddress(), | 130 | core.Memory().ZeroBlock(*core.ApplicationProcess(), transfer_memory->GetSourceAddress(), |
| 131 | transfer_memory_size); | 131 | transfer_memory_size); |
| 132 | 132 | ||
| 133 | // Note: We're not actually using the transfer memory because it's a pain to code for. | 133 | // Note: We're not actually using the transfer memory because it's a pain to code for. |
diff --git a/src/audio_core/sink/sink_stream.cpp b/src/audio_core/sink/sink_stream.cpp index 06c2a876e..76889b375 100644 --- a/src/audio_core/sink/sink_stream.cpp +++ b/src/audio_core/sink/sink_stream.cpp | |||
| @@ -270,7 +270,7 @@ void SinkStream::Stall() { | |||
| 270 | if (stalled_lock) { | 270 | if (stalled_lock) { |
| 271 | return; | 271 | return; |
| 272 | } | 272 | } |
| 273 | stalled_lock = system.StallProcesses(); | 273 | stalled_lock = system.StallApplication(); |
| 274 | } | 274 | } |
| 275 | 275 | ||
| 276 | void SinkStream::Unstall() { | 276 | void SinkStream::Unstall() { |
| @@ -278,7 +278,7 @@ void SinkStream::Unstall() { | |||
| 278 | if (!stalled_lock) { | 278 | if (!stalled_lock) { |
| 279 | return; | 279 | return; |
| 280 | } | 280 | } |
| 281 | system.UnstallProcesses(); | 281 | system.UnstallApplication(); |
| 282 | stalled_lock.unlock(); | 282 | stalled_lock.unlock(); |
| 283 | } | 283 | } |
| 284 | 284 | ||