mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Allocator refactor
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
#include "DeflateCodec.h"
|
||||
#include "MacFileInfo.h"
|
||||
#include "ZipFile.h"
|
||||
#include "GpAllocator_C.h"
|
||||
#include "PLDrivers.h"
|
||||
|
||||
#include <stdio.h>
|
||||
#include <string>
|
||||
@@ -12,6 +14,9 @@
|
||||
|
||||
int toolMain(int argc, const char **argv)
|
||||
{
|
||||
GpDriverCollection *drivers = PLDrivers::GetDriverCollection();
|
||||
drivers->SetDriver<GpDriverIDs::kAlloc>(GpAllocator_C::GetInstance());
|
||||
|
||||
if (argc != 2)
|
||||
{
|
||||
fprintf(stderr, "Usage: MergeGPF <file.gpf>");
|
||||
|
||||
Reference in New Issue
Block a user