mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-11-16 16:30:03 +00:00
e9650f1c61
- Hack to work around games checking that the DSP event has been signaled by a real DSP interrupt.
27 lines
586 B
C++
27 lines
586 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include "core/hle/service/service.h"
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
// Namespace DSP_DSP
|
|
|
|
namespace DSP_DSP {
|
|
|
|
class Interface : public Service::Interface {
|
|
public:
|
|
Interface();
|
|
|
|
std::string GetPortName() const override {
|
|
return "dsp::DSP";
|
|
}
|
|
};
|
|
|
|
/// Signals that a DSP interrupt has occurred to userland code
|
|
void SignalInterrupt();
|
|
|
|
} // namespace
|