Added missing fixes
This commit is contained in:
@@ -122,9 +122,9 @@ u32 nvhost_gpu::AllocateObjectContext(const std::vector<u8>& input, std::vector<
|
|||||||
}
|
}
|
||||||
|
|
||||||
u32 nvhost_gpu::SubmitGPFIFO(const std::vector<u8>& input, std::vector<u8>& output) {
|
u32 nvhost_gpu::SubmitGPFIFO(const std::vector<u8>& input, std::vector<u8>& output) {
|
||||||
submit_gpfifo params;
|
|
||||||
if (input.size() < 24)
|
if (input.size() < 24)
|
||||||
UNIMPLEMENTED();
|
UNIMPLEMENTED();
|
||||||
|
submit_gpfifo params;
|
||||||
std::memcpy(¶ms, input.data(), 24);
|
std::memcpy(¶ms, input.data(), 24);
|
||||||
LOG_WARNING(Service_NVDRV, "(STUBBED) called, gpfifo=%lx, num_entries=%x, flags=%x",
|
LOG_WARNING(Service_NVDRV, "(STUBBED) called, gpfifo=%lx, num_entries=%x, flags=%x",
|
||||||
params.gpfifo, params.num_entries, params.flags);
|
params.gpfifo, params.num_entries, params.flags);
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ private:
|
|||||||
IocAllocObjCtxCommand = 0xC0104809,
|
IocAllocObjCtxCommand = 0xC0104809,
|
||||||
};
|
};
|
||||||
|
|
||||||
enum CtxObjects {
|
enum class CtxObjects {
|
||||||
Ctx2D = 0x902D,
|
Ctx2D = 0x902D,
|
||||||
Ctx3D = 0xB197,
|
Ctx3D = 0xB197,
|
||||||
CtxCompute = 0xB1C0,
|
CtxCompute = 0xB1C0,
|
||||||
|
|||||||
Reference in New Issue
Block a user