mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-02-24 20:43:04 +00:00
cpu_interrupt_handler: Misc style changes
This commit is contained in:
@@ -7,9 +7,7 @@
|
||||
|
||||
namespace Core {
|
||||
|
||||
CPUInterruptHandler::CPUInterruptHandler() {
|
||||
interrupt_event = std::make_unique<Common::Event>();
|
||||
}
|
||||
CPUInterruptHandler::CPUInterruptHandler() : interrupt_event{std::make_unique<Common::Event>()} {}
|
||||
|
||||
CPUInterruptHandler::~CPUInterruptHandler() = default;
|
||||
|
||||
@@ -17,7 +15,7 @@ void CPUInterruptHandler::SetInterrupt(bool is_interrupted_) {
|
||||
if (is_interrupted_) {
|
||||
interrupt_event->Set();
|
||||
}
|
||||
this->is_interrupted = is_interrupted_;
|
||||
is_interrupted = is_interrupted_;
|
||||
}
|
||||
|
||||
void CPUInterruptHandler::AwaitInterrupt() {
|
||||
|
||||
Reference in New Issue
Block a user