view svp_util.c @ 2520:0e9d7ef03983

Update PCM cur_ptr to ST when channel is not playing. Fixes sound effects in Final Fight CD
author Michael Pavone <pavone@retrodev.com>
date Mon, 07 Oct 2024 21:38:54 -0700
parents ca158bc091f9
children
line wrap: on
line source


void svp_prog_read_16(svp_context *context)
{
	uint16_t address = context->scratch1 >> 1;
	context->scratch1 = context->rom[address];
}