mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-06-30 17:47:33 -04:00
Clean up SharedMemory placement new.
This commit is contained in:
parent
49d6cda731
commit
b3f4ea8978
2 changed files with 7 additions and 14 deletions
|
@ -322,14 +322,7 @@ void EventDispatcher::event_bubble_encoder(const ui::EncoderEvent event) {
|
|||
}
|
||||
|
||||
void EventDispatcher::init_message_queues() {
|
||||
shared_memory.baseband_message = nullptr;
|
||||
new (&shared_memory.application_queue) MessageQueue(
|
||||
shared_memory.application_queue_data, SharedMemory::application_queue_k
|
||||
);
|
||||
new (&shared_memory.app_local_queue) MessageQueue(
|
||||
shared_memory.app_local_queue_data, SharedMemory::app_local_queue_k
|
||||
);
|
||||
shared_memory.m4_panic_msg[0] = 0;
|
||||
new (&shared_memory) SharedMemory;
|
||||
}
|
||||
|
||||
MessageHandlerRegistration::MessageHandlerRegistration(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue