Skip to content

Commit

Permalink
pofParser: honour CFM1/CFM2 data pointer
Browse files Browse the repository at this point in the history
  • Loading branch information
trabucayre committed Feb 1, 2025
1 parent 8160e71 commit 6f42d28
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/pofParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ int POFParser::parse()
/* update pointers to memory area */
ptr = (uint8_t *)_bit_data.data();
mem_section["CFM0"].data = &ptr[mem_section["CFM0"].offset + 0x0C];
if (mem_section.find("CFM1") != mem_section.end())
mem_section["CFM1"].data = &ptr[mem_section["CFM1"].offset + 0x0C];
if (mem_section.find("CFM2") != mem_section.end())
mem_section["CFM2"].data = &ptr[mem_section["CFM2"].offset + 0x0C];
mem_section["UFM"].data = &ptr[mem_section["UFM"].offset + 0x0C];
mem_section["ICB"].data = &ptr[mem_section["ICB"].offset + 0x0C];

Expand Down

0 comments on commit 6f42d28

Please sign in to comment.