mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-10-13 04:47:52 +00:00
hle: rename legacy errors to Results
This commit is contained in:
parent
0c4bb90be2
commit
ea36f70e02
35 changed files with 169 additions and 183 deletions
|
@ -19,7 +19,7 @@ void AudioManager::Shutdown() {
|
|||
|
||||
Result AudioManager::SetOutManager(BufferEventFunc buffer_func) {
|
||||
if (!running) {
|
||||
return Service::Audio::ERR_OPERATION_FAILED;
|
||||
return Service::Audio::ResultOperationFailed;
|
||||
}
|
||||
|
||||
std::scoped_lock l{lock};
|
||||
|
@ -35,7 +35,7 @@ Result AudioManager::SetOutManager(BufferEventFunc buffer_func) {
|
|||
|
||||
Result AudioManager::SetInManager(BufferEventFunc buffer_func) {
|
||||
if (!running) {
|
||||
return Service::Audio::ERR_OPERATION_FAILED;
|
||||
return Service::Audio::ResultOperationFailed;
|
||||
}
|
||||
|
||||
std::scoped_lock l{lock};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue