mirror of
https://github.com/holub/mame
synced 2025-10-07 01:16:22 +03:00
(nw) Fixed the build (subCmd set but not used)
This commit is contained in:
parent
773045e758
commit
375b940b2c
@ -1284,7 +1284,7 @@ void zeus2_device::zeus2_draw_model(uint32_t baseaddr, uint16_t count, int logit
|
|||||||
{
|
{
|
||||||
int countneeded = 2;
|
int countneeded = 2;
|
||||||
uint8_t cmd;
|
uint8_t cmd;
|
||||||
uint8_t subCmd;
|
// uint8_t subCmd;
|
||||||
|
|
||||||
/* accumulate 2 words of data */
|
/* accumulate 2 words of data */
|
||||||
databuffer[databufcount++] = WAVERAM_READ32(base, curoffs * 2 + 0);
|
databuffer[databufcount++] = WAVERAM_READ32(base, curoffs * 2 + 0);
|
||||||
@ -1292,7 +1292,7 @@ void zeus2_device::zeus2_draw_model(uint32_t baseaddr, uint16_t count, int logit
|
|||||||
|
|
||||||
/* if this is enough, process the command */
|
/* if this is enough, process the command */
|
||||||
cmd = databuffer[0] >> 24;
|
cmd = databuffer[0] >> 24;
|
||||||
subCmd = (databuffer[1] >> 24) & 0xfc;
|
// subCmd = (databuffer[1] >> 24) & 0xfc;
|
||||||
|
|
||||||
if ((cmd == 0x38) || (cmd == 0x2d)) {
|
if ((cmd == 0x38) || (cmd == 0x2d)) {
|
||||||
countneeded = zeus_quad_size;
|
countneeded = zeus_quad_size;
|
||||||
|
Loading…
Reference in New Issue
Block a user