mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-07 06:18:42 +00:00
minor fixes
This commit is contained in:
+5
-5
@@ -66,18 +66,18 @@ msf_raw_stream_table_from_data(Arena *arena, String8 msf_data)
|
|||||||
//
|
//
|
||||||
// The "data" in the directory describes streams:
|
// The "data" in the directory describes streams:
|
||||||
// PDB20:
|
// PDB20:
|
||||||
// struct Pdb20StreamSize{
|
// struct Pdb20StreamSize {
|
||||||
// U32 size;
|
// U32 size;
|
||||||
// U32 unknown; // looks like kind codes or revision counters or something
|
// U32 unknown; // looks like kind codes or revision counters or something
|
||||||
// }
|
// }
|
||||||
// struct{
|
// struct {
|
||||||
// U32 stream_count;
|
// U32 stream_count;
|
||||||
// Pdb20StreamSize stream_sizes[stream_count];
|
// Pdb20StreamSize stream_sizes[stream_count];
|
||||||
// U16 stream_indices[stream_count][...];
|
// U16 stream_indices[stream_count][...];
|
||||||
// }
|
// }
|
||||||
//
|
//
|
||||||
// PDB70:
|
// PDB70:
|
||||||
// struct{
|
// struct {
|
||||||
// U32 stream_count;
|
// U32 stream_count;
|
||||||
// U32 stream_sizes[stream_count];
|
// U32 stream_sizes[stream_count];
|
||||||
// U32 stream_indices[stream_count][...];
|
// U32 stream_indices[stream_count][...];
|
||||||
@@ -289,8 +289,8 @@ msf_parsed_from_data(Arena *arena, String8 msf_data)
|
|||||||
result = push_array_no_zero(arena, MSF_Parsed, 1);
|
result = push_array_no_zero(arena, MSF_Parsed, 1);
|
||||||
result->streams = streams;
|
result->streams = streams;
|
||||||
result->stream_count = st->stream_count;
|
result->stream_count = st->stream_count;
|
||||||
result->block_size = st->page_size;
|
result->page_size = st->page_size;
|
||||||
result->block_count = st->total_page_count;
|
result->page_count = st->total_page_count;
|
||||||
}
|
}
|
||||||
|
|
||||||
scratch_end(scratch);
|
scratch_end(scratch);
|
||||||
|
|||||||
+2
-2
@@ -33,8 +33,8 @@ struct MSF_Parsed
|
|||||||
{
|
{
|
||||||
String8 *streams;
|
String8 *streams;
|
||||||
U64 stream_count;
|
U64 stream_count;
|
||||||
U64 block_size;
|
U64 page_size;
|
||||||
U64 block_count;
|
U64 page_count;
|
||||||
};
|
};
|
||||||
|
|
||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
|
|||||||
Reference in New Issue
Block a user