diff --git a/src/include/86box/nv/vid_nv3.h b/src/include/86box/nv/vid_nv3.h index 49bc8c64e..957714799 100644 --- a/src/include/86box/nv/vid_nv3.h +++ b/src/include/86box/nv/vid_nv3.h @@ -1549,6 +1549,9 @@ void nv3_class_017_method(uint32_t name, uint32_t method_id, nv3_ramin_co void nv3_class_018_method(uint32_t name, uint32_t method_id, nv3_ramin_context_t context, nv3_grobj_t grobj); void nv3_class_01c_method(uint32_t name, uint32_t method_id, nv3_ramin_context_t context, nv3_grobj_t grobj); +// Notification Engine +void nv3_notify_if_needed(nv3_grobj_t grobj); + // NV3 PFIFO void nv3_pfifo_init(); uint32_t nv3_pfifo_read(uint32_t address); diff --git a/src/video/nv/nv3/classes/nv3_class_shared_methods.c b/src/video/nv/nv3/classes/nv3_class_shared_methods.c index 555a180e6..663214cec 100644 --- a/src/video/nv/nv3/classes/nv3_class_shared_methods.c +++ b/src/video/nv/nv3/classes/nv3_class_shared_methods.c @@ -39,7 +39,7 @@ void nv3_generic_method(uint32_t name, uint32_t method_id, nv3_ramin_context_t c } } -void nv3_notify() +void nv3_notify_if_needed(nv3_grobj_t grobj) { } \ No newline at end of file diff --git a/src/video/nv/nv3/subsystems/nv3_pgraph.c b/src/video/nv/nv3/subsystems/nv3_pgraph.c index 510d8c1d3..117a88733 100644 --- a/src/video/nv/nv3/subsystems/nv3_pgraph.c +++ b/src/video/nv/nv3/subsystems/nv3_pgraph.c @@ -588,6 +588,8 @@ void nv3_pgraph_arbitrate_method(uint32_t param, uint16_t method, uint8_t channe fatal("NV3 (nv3_pgraph_arbitrate_method): Attempted to execute method on invalid, or unimplemented, class ID %s", nv3_class_names[class_id]); return; } + + nv3_notify_if_needed(grobj); } /* Arbitrates graphics object submission to the right object types */