From 2903080d018947de73f20c23a5360a63fa99043a Mon Sep 17 00:00:00 2001 From: MoochMcGee Date: Fri, 20 May 2016 16:52:31 -0500 Subject: [PATCH] Fix compilation when LOG_NV2A is defined --- src/mame/video/chihiro.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mame/video/chihiro.cpp b/src/mame/video/chihiro.cpp index 4430eff2a65..bd6bdd835b9 100644 --- a/src/mame/video/chihiro.cpp +++ b/src/mame/video/chihiro.cpp @@ -6,7 +6,7 @@ #include "machine/pic8259.h" #include "includes/chihiro.h" -// #define LOG_NV2A +//#define LOG_NV2A const char *vertex_program_disassembler::srctypes[] = { "??", "Rn", "Vn", "Cn" }; const char *vertex_program_disassembler::scaops[] = { "NOP", "IMV", "RCP", "RCC", "RSQ", "EXP", "LOG", "LIT", "???", "???", "???", "???", "???", "???", "???", "???", "???" }; @@ -2843,7 +2843,7 @@ int nv2a_renderer::geforce_exec_method(address_space & space, UINT32 chanel, UIN offset = data & 0xffffff; count = (data >> 24) & 0xff; #ifdef LOG_NV2A - printf("vertex %d %d %d\n\r", type, offset, count); + printf("vertex %d %d\n\r", offset, count); #endif for (n = 0; n <= count; n++) { read_vertices_0x1810(space, vertex_software + vertex_first, n + offset, 1); @@ -4281,7 +4281,7 @@ void nv2a_renderer::geforce_assign_object(address_space & space, UINT32 chanel, handle = space.read_dword(address); handle = geforce_object_offset(handle); #ifdef LOG_NV2A - machine().logerror(" assign to subchannel %d object at %d", subch, handle); + machine().logerror(" assign to subchannel %d object at %d", subchannel, handle); #endif channel[chanel][subchannel].object.objhandle = handle; handle = ramin[handle / 4];