Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

Merge pull request #1520 from JamePeng/checknew3ds

bunneia465aaaa54c5
diff --cc src/core/hle/service/apt/apt.cpp
index 73fce60795,e6fcbc7144..bbf170b714
--- a/src/core/hle/service/apt/apt.cpp
+++ b/src/core/hle/service/apt/apt.cpp
@@@ -12,8 -12,8 +12,9 @@@
#include "core/hle/service/apt/apt_a.h"
#include "core/hle/service/apt/apt_s.h"
#include "core/hle/service/apt/apt_u.h"
+#include "core/hle/service/apt/bcfnt/bcfnt.h"
#include "core/hle/service/fs/archive.h"
+ #include "core/hle/service/ptm/ptm.h"
#include "core/hle/kernel/event.h"
#include "core/hle/kernel/mutex.h"
@@@ -31,8 -38,13 +32,11 @@@ static Kernel::SharedPtr<Kernel::Mutex
static Kernel::SharedPtr<Kernel::Event> notification_event; ///< APT notification event
static Kernel::SharedPtr<Kernel::Event> parameter_event; ///< APT parameter event
-static std::shared_ptr<std::vector<u8>> shared_font;
-
static u32 cpu_percent; ///< CPU time available to the running application
+ // APT::CheckNew3DSApp will check this unknown_ns_state_field to determine processing mode
+ static u8 unknown_ns_state_field;
+
/// Parameter data to be returned in the next call to Glance/ReceiveParameter
static MessageParameter next_parameter;