mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-21 13:22:23 -08:00
go wide on msf stream extraction
This commit is contained in:
1 parent
d0ece7bc57
commit
d52b6d7bca
3 files changed
+32
-6
No files matched your search
@@ -230,6 +230,7 @@ msf_raw_stream_table_from_data(Arena *arena, String8 msf_data)
|
||||
internal String8
|
||||
msf_data_from_stream_number(Arena *arena, String8 msf_data, MSF_RawStreamTable *st, MSF_StreamNumber sn)
|
||||
{
|
||||
ProfBeginFunction();
|
||||
String8 result = {0};
|
||||
if(sn < st->stream_count)
|
||||
{
|
||||
@@ -268,6 +269,7 @@ msf_data_from_stream_number(Arena *arena, String8 msf_data, MSF_RawStreamTable *
|
||||
|
||||
result = str8(stream_buf, copy_size);
|
||||
}
|
||||
ProfEnd();
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user