mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Use std::deque for section patches
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user