early-access version 1555

This commit is contained in:
pineappleEA
2021-04-04 09:54:28 +02:00
parent 8e92a6f41a
commit 9ecece0489
91 changed files with 924 additions and 6717 deletions

View File

@@ -2,16 +2,19 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
// This file references various implementation details from Atmosphere, an open-source firmware for
// the Nintendo Switch. Copyright 2018-2020 Atmosphere-NX.
#pragma once
#include <atomic>
#include "common/common_types.h"
#include "common/spin_lock.h"
#include "core/hle/kernel/global_scheduler_context.h"
#include "core/hle/kernel/k_priority_queue.h"
#include "core/hle/kernel/k_scheduler_lock.h"
#include "core/hle/kernel/k_scoped_lock.h"
#include "core/hle/kernel/k_spin_lock.h"
namespace Common {
class Fiber;
@@ -192,7 +195,7 @@ private:
u64 last_context_switch_time{};
const s32 core_id;
KSpinLock guard{};
Common::SpinLock guard{};
};
class KScopedSchedulerLock : KScopedLock<GlobalSchedulerContext::LockType> {