service: Remove remaining uses of BufferDescriptor*.
This commit is contained in:
parent
f09dbaee17
commit
6fe712735f
5 changed files with 8 additions and 14 deletions
|
@ -14,9 +14,8 @@ namespace Nvidia {
|
|||
void NVDRV::Open(Kernel::HLERequestContext& ctx) {
|
||||
LOG_DEBUG(Service_NVDRV, "called");
|
||||
|
||||
auto buffer = ctx.BufferDescriptorA()[0];
|
||||
|
||||
std::string device_name = Memory::ReadCString(buffer.Address(), buffer.Size());
|
||||
const auto& buffer = ctx.ReadBuffer();
|
||||
std::string device_name(buffer.begin(), buffer.end());
|
||||
|
||||
u32 fd = nvdrv->Open(device_name);
|
||||
IPC::ResponseBuilder rb{ctx, 4};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue