From 3a425efb8738ae7c30559893b1a790f878013938 Mon Sep 17 00:00:00 2001 From: yz70s Date: Sun, 24 May 2020 08:32:31 +0200 Subject: [PATCH] xbox_nv2a.cpp: add placeholder for methods 1e80-1e90 (nw) --- src/mame/video/xbox_nv2a.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/mame/video/xbox_nv2a.cpp b/src/mame/video/xbox_nv2a.cpp index d0b806f5d8c..d858f2b9856 100644 --- a/src/mame/video/xbox_nv2a.cpp +++ b/src/mame/video/xbox_nv2a.cpp @@ -3802,6 +3802,12 @@ int nv2a_renderer::execute_method_3d(address_space& space, uint32_t chanel, uint vertexprogram.upload_parameter_index++; } } + if ((maddress >= 0x1e80) && (maddress < 0x1e90)) { + machine().logerror("Setting v0 vertex program input component %d to %f\n", (maddress - 0x1e80) / 4, *((float *)&data)); + } + if (maddress == 0x1e90) { + machine().logerror("Received explicit method to run vertex program\n"); + } // Register combiners if (maddress == 0x1e60) { combiner.stages = data & 15;