tmp-hid-mitm: less aggressively enable controllers
This fixes a crash in SSBU and possibly other games.
This commit is contained in:
1 parent
c62c4846fc
commit
a750e55f75
2 files changed
+45
-2
No files matched your search
@@ -25,11 +25,15 @@ class HidMitmService : public IMitmServiceObject {
|
||||
enum class CommandId {
|
||||
SetSupportedNpadStyleSet = 100,
|
||||
};
|
||||
private:
|
||||
bool should_set_system_ext = false;
|
||||
public:
|
||||
HidMitmService(std::shared_ptr<Service> s, u64 pid, sts::ncm::TitleId tid) : IMitmServiceObject(s, pid, tid) {
|
||||
/* ... */
|
||||
}
|
||||
|
||||
~HidMitmService();
|
||||
|
||||
static bool ShouldMitm(u64 pid, sts::ncm::TitleId tid) {
|
||||
/* TODO: Consider removing in Atmosphere 0.10.0/1.0.0. */
|
||||
/* We will mitm:
|
||||
|
||||
Reference in new issue
Block a user