mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 02:32:06 +00:00
Use std::map for rgblink symbols and sections
This commit is contained in:
@@ -556,9 +556,8 @@ static void applyFilePatches(struct Section *section, struct Section *dataSectio
|
||||
/*
|
||||
* Applies all of a section's patches, iterating over "components" of unionized sections
|
||||
* @param section The section to patch
|
||||
* @param arg Ignored callback arg
|
||||
*/
|
||||
static void applyPatches(struct Section *section, void *)
|
||||
static void applyPatches(struct Section *section)
|
||||
{
|
||||
if (!sect_HasData(section->type))
|
||||
return;
|
||||
@@ -570,7 +569,7 @@ static void applyPatches(struct Section *section, void *)
|
||||
void patch_ApplyPatches(void)
|
||||
{
|
||||
initRPNStack();
|
||||
sect_ForEach(applyPatches, NULL);
|
||||
sect_ForEach(applyPatches);
|
||||
freeRPNStack();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user