mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-16 14:07:55 -05:00
GPU: Make the debug_context variable a member of the frontend instead of a global.
This commit is contained in:
@ -23,8 +23,6 @@
|
||||
|
||||
namespace Tegra {
|
||||
|
||||
std::shared_ptr<DebugContext> g_debug_context;
|
||||
|
||||
void DebugContext::DoOnEvent(Event event, void* data) {
|
||||
{
|
||||
std::unique_lock<std::mutex> lock(breakpoint_mutex);
|
||||
|
@ -160,6 +160,4 @@ private:
|
||||
std::list<BreakPointObserver*> breakpoint_observers;
|
||||
};
|
||||
|
||||
extern std::shared_ptr<DebugContext> g_debug_context;
|
||||
|
||||
} // namespace Tegra
|
||||
|
Reference in New Issue
Block a user