diff --git a/src/app/core/common.h b/src/app/core/common.h index 5217f66f..481a876f 100644 --- a/src/app/core/common.h +++ b/src/app/core/common.h @@ -11,6 +11,11 @@ unsigned int SnesToPc(unsigned int addr); int AddressFromBytes(uint8_t addr1, uint8_t addr2, uint8_t addr3); int HexToDec(char *input, int length); +template +T* ReserveBytes(size_t size) { + auto bytes = new T[size]; +} + } // namespace core } // namespace app } // namespace yaze