Kaynağa Gözat

ILibraryAppletAccessor: Demote from ERROR to DEBUG for null storage logs

Avoids unnecessary console spam when the inline software keyboard is used.
Morph 5 yıl önce
ebeveyn
işleme
0a40106cf1
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      src/core/hle/service/am/am.cpp

+ 2 - 2
src/core/hle/service/am/am.cpp

@@ -971,7 +971,7 @@ private:
 
         auto storage = applet->GetBroker().PopNormalDataToGame();
         if (storage == nullptr) {
-            LOG_ERROR(Service_AM,
+            LOG_DEBUG(Service_AM,
                       "storage is a nullptr. There is no data in the current normal channel");
             IPC::ResponseBuilder rb{ctx, 2};
             rb.Push(ERR_NO_DATA_IN_CHANNEL);
@@ -1002,7 +1002,7 @@ private:
 
         auto storage = applet->GetBroker().PopInteractiveDataToGame();
         if (storage == nullptr) {
-            LOG_ERROR(Service_AM,
+            LOG_DEBUG(Service_AM,
                       "storage is a nullptr. There is no data in the current interactive channel");
             IPC::ResponseBuilder rb{ctx, 2};
             rb.Push(ERR_NO_DATA_IN_CHANNEL);