mirror of
https://github.com/skyline-emu/skyline.git
synced 2024-06-02 07:38:48 +02:00
12 lines
384 B
C++
12 lines
384 B
C++
|
#include <common.h>
|
||
|
#include "memoryPool.h"
|
||
|
|
||
|
namespace skyline::service::audren {
|
||
|
void MemoryPool::ProcessInput(const MemoryPoolIn &input) {
|
||
|
if (input.state == MemoryPoolState::RequestAttach)
|
||
|
output.state = MemoryPoolState::Attached;
|
||
|
else if (input.state == MemoryPoolState::RequestDetach)
|
||
|
output.state = MemoryPoolState::Detached;
|
||
|
}
|
||
|
}
|