st0016.cpp: Fix debug build

This commit is contained in:
AJR 2021-10-23 15:49:55 -04:00
parent 71bfb683e7
commit f489f974b9

View File

@ -733,7 +733,7 @@ u32 st0016_cpu_device::update(screen_device &screen, bitmap_ind16 &bitmap, const
{
int h, j;
FILE *p = fopen("vram.bin", "wb");
fwrite(m_spriteram.get(), 1, 0x1000 * MAX_SPR_BANK, p);
fwrite(&m_spriteram[0], 1, 0x1000 * MAX_SPR_BANK, p);
fclose(p);
p = fopen("vram.txt","wt");