Преглед на файлове

kernel/physical_core: Ensure is_interrupted is always initialized

Lioncash преди 3 години
родител
ревизия
dcca650599
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/core/hle/kernel/physical_core.h

+ 1 - 1
src/core/hle/kernel/physical_core.h

@@ -85,7 +85,7 @@ private:
     std::mutex guard;
     std::condition_variable on_interrupt;
     std::unique_ptr<Core::ARM_Interface> arm_interface;
-    bool is_interrupted;
+    bool is_interrupted{};
 };
 
 } // namespace Kernel