From: hgn Date: Thu, 6 Nov 2025 03:07:03 +0000 (+0000) Subject: oops X-Git-Url: https://skaterift.com/git/?a=commitdiff_plain;h=cc327036235f68670193dde526430e13adfb1627;p=vg.git oops --- diff --git a/source/engine/model_entity.h b/source/engine/model_entity.h index a044aa8..e2c07cd 100644 --- a/source/engine/model_entity.h +++ b/source/engine/model_entity.h @@ -44,7 +44,7 @@ enum entity_alias k_ent_waterfall = 201, k_ent_rb2 = 202, k_ent_heatpipe = 203, - + k_ent_waterlevel = 204, k_ent_viewstone = 205, k_ent_max }; diff --git a/source/engine/vg_audio.c b/source/engine/vg_audio.c index 0a32788..9919e01 100644 --- a/source/engine/vg_audio.c +++ b/source/engine/vg_audio.c @@ -1144,7 +1144,7 @@ static void _audio_mixer( ma_device *device, void *stream, const void *input__, { /* Setup vorbis decoder */ u8 *buf = (u8*)_audio.decoding_buffer, - *loc = &buf[AUDIO_DECODE_SIZE*id]; + *loc = &buf[AUDIO_DECODE_SIZE*(id-1)]; stb_vorbis_alloc alloc = { @@ -1385,7 +1385,7 @@ void _audio_gui(void) if( channel->stage == k_channel_stage_none ) { - _graphics_fill_rect( row, (union colour){{ 0x33,0x33,0x33,0x50 }} ); + //_graphics_fill_rect( row, (union colour){{ 0x33,0x33,0x33,0x50 }} ); } else if( channel->stage == k_channel_stage_allocation ) {