Use std::deque for section patches

This commit is contained in:
Rangi42
2024-02-21 11:06:36 -05:00
committed by Sylvie
parent b87ee62e6c
commit 8083ef605f
3 changed files with 14 additions and 28 deletions

View File

@@ -3,6 +3,7 @@
#ifndef RGBDS_SECTION_H
#define RGBDS_SECTION_H
#include <deque>
#include <stdint.h>
#include "linkdefs.hpp"
@@ -23,7 +24,7 @@ struct Section {
uint32_t bank;
uint8_t align; // Exactly as specified in `ALIGN[]`
uint16_t alignOfs;
struct Patch *patches;
std::deque<struct Patch *> *patches;
uint8_t *data;
};