From f489f974b9a89caf8bf68f01d9ab39382251e2a5 Mon Sep 17 00:00:00 2001 From: AJR Date: Sat, 23 Oct 2021 15:49:55 -0400 Subject: [PATCH] st0016.cpp: Fix debug build --- src/mame/machine/st0016.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/machine/st0016.cpp b/src/mame/machine/st0016.cpp index f0bd0046c01..463b8118e2b 100644 --- a/src/mame/machine/st0016.cpp +++ b/src/mame/machine/st0016.cpp @@ -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");