Mercurial > repos > blastem
view svp_util.c @ 1797:5ff8f0d28188
Make sure there are no races between main thread and audio thread around mix_buf. Fix lack of proper termination in shader loading code
author | Mike Pavone <pavone@retrodev.com> |
---|---|
date | Sun, 24 Mar 2019 13:31:22 -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]; }