mirror of
https://github.com/citra-emu/citra.git
synced 2024-11-26 06:50:06 +00:00
core: mii_selector.cpp fix warning on MSVC
This commit is contained in:
parent
4714b060b8
commit
7ea0c321af
@ -39,7 +39,7 @@ ResultCode MiiSelector::ReceiveParameter(const Service::APT::MessageParameter& p
|
|||||||
heap_memory = std::make_shared<std::vector<u8>>(capture_info.size);
|
heap_memory = std::make_shared<std::vector<u8>>(capture_info.size);
|
||||||
// Create a SharedMemory that directly points to this heap block.
|
// Create a SharedMemory that directly points to this heap block.
|
||||||
framebuffer_memory = Kernel::SharedMemory::CreateForApplet(
|
framebuffer_memory = Kernel::SharedMemory::CreateForApplet(
|
||||||
heap_memory, 0, heap_memory->size(), MemoryPermission::ReadWrite,
|
heap_memory, 0, static_cast<u32>(heap_memory->size()), MemoryPermission::ReadWrite,
|
||||||
MemoryPermission::ReadWrite, "MiiSelector Memory");
|
MemoryPermission::ReadWrite, "MiiSelector Memory");
|
||||||
|
|
||||||
// Send the response message with the newly created SharedMemory
|
// Send the response message with the newly created SharedMemory
|
||||||
|
Loading…
Reference in New Issue
Block a user