dc39d06950
This commit fixes several kernel object leaks. The most severe of them was threads not being removed from the private handle table used for CoreTiming events. This resulted in Threads never being released, which in turn held references to Process, causing CodeSets to never be freed when loading other applications.
30 lines
632 B
C++
30 lines
632 B
C++
// Copyright 2014 Citra Emulator Project
|
|
// Licensed under GPLv2 or any later version
|
|
// Refer to the license.txt file included.
|
|
|
|
#pragma once
|
|
|
|
#include <string>
|
|
|
|
#include "core/hle/service/service.h"
|
|
|
|
////////////////////////////////////////////////////////////////////////////////////////////////////
|
|
// Namespace DSP_DSP
|
|
|
|
namespace DSP_DSP {
|
|
|
|
class Interface : public Service::Interface {
|
|
public:
|
|
Interface();
|
|
~Interface() override;
|
|
|
|
std::string GetPortName() const override {
|
|
return "dsp::DSP";
|
|
}
|
|
};
|
|
|
|
/// Signals that a DSP interrupt has occurred to userland code
|
|
void SignalInterrupt();
|
|
|
|
} // namespace
|