Skip to content

Commit

Permalink
Merge pull request #225 from chaoticgd/mdebugfloatfix
Browse files Browse the repository at this point in the history
Fix the names of some procedure descriptor fields
  • Loading branch information
chaoticgd authored Aug 9, 2024
2 parents e576c96 + 3939974 commit deb06f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/ccc/mdebug_section.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@ static void print_procedure_descriptor(FILE* out, const ProcedureDescriptor& pro
fprintf(out, " Saved Register Mask %d\n", procedure_descriptor.saved_register_mask);
fprintf(out, " Saved Register Offset %d\n", procedure_descriptor.saved_register_offset);
fprintf(out, " Optimization Entry Index %d\n", procedure_descriptor.optimization_entry_index);
fprintf(out, " Saved Register Mask %d\n", procedure_descriptor.fsaved_register_mask);
fprintf(out, " Saved Register Offset %d\n", procedure_descriptor.fsaved_register_offset);
fprintf(out, " Saved Float Register Mask %d\n", procedure_descriptor.saved_float_register_mask);
fprintf(out, " Saved Float Register Offset %d\n", procedure_descriptor.saved_float_register_offset);
fprintf(out, " Frame Size %d\n", procedure_descriptor.frame_size);
fprintf(out, " Frame Pointer Register %hd\n", procedure_descriptor.frame_pointer_register);
fprintf(out, " Return PC Register %hd\n", procedure_descriptor.return_pc_register);
Expand Down
4 changes: 2 additions & 2 deletions src/ccc/mdebug_section.h
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ CCC_PACKED_STRUCT(ProcedureDescriptor,
/* 0x0c */ s32 saved_register_mask;
/* 0x10 */ s32 saved_register_offset;
/* 0x14 */ s32 optimization_entry_index;
/* 0x18 */ s32 fsaved_register_mask;
/* 0x1c */ s32 fsaved_register_offset;
/* 0x18 */ s32 saved_float_register_mask;
/* 0x1c */ s32 saved_float_register_offset;
/* 0x20 */ s32 frame_size;
/* 0x24 */ s16 frame_pointer_register;
/* 0x26 */ s16 return_pc_register;
Expand Down

0 comments on commit deb06f7

Please sign in to comment.