Update src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp
All checks were successful
eden-license / license-header (pull_request) Successful in 26s
All checks were successful
eden-license / license-header (pull_request) Successful in 26s
This commit is contained in:
parent
1595ca113b
commit
29ef4800cc
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ NvResult nvhost_gpu::AllocateObjectContext(IoctlAllocObjCtx& params) {
|
|||
LOG_DEBUG(Service_NVDRV, "called, class_num={:#X}, flags={:#X}, obj_id={:#X}", params.class_num,
|
||||
params.flags, params.obj_id);
|
||||
|
||||
if (!channel_state->initialized) {
|
||||
if (!channel_state || !channel_state->initialized) {
|
||||
LOG_CRITICAL(Service_NVDRV, "No address space bound to allocate a object context!");
|
||||
return NvResult::NotInitialized;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue