From b789e17a8d3f3add0fdcf3624c7833cd7459e59f Mon Sep 17 00:00:00 2001 From: korenkonder Date: Sun, 28 Dec 2025 01:15:57 +0300 Subject: [PATCH] Fixed crash when trying to play Nekomimi Archive PV --- src/CRE/effect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/CRE/effect.cpp b/src/CRE/effect.cpp index b1f96bc0..4f61e26a 100644 --- a/src/CRE/effect.cpp +++ b/src/CRE/effect.cpp @@ -6078,7 +6078,7 @@ static void particle_init(vec3* offset) { const size_t ptcl_vtx_count = ptcl_count * 0x06; ptcl_data = force_malloc(ptcl_count); - ptcl_vertex_data = force_malloc(ptcl_count); + ptcl_vertex_data = force_malloc(ptcl_count * 6); particle_rot_data* data = ptcl_data; for (size_t i = 0; i < ptcl_count; i++, data++)