mirror of
https://github.com/holub/mame
synced 2025-10-06 00:54:22 +03:00
Merge pull request #888 from MoochMcGee/master
Fix compilation when LOG_NV2A is defined
This commit is contained in:
commit
a2f6127830
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user