src/util/patch.c (view raw)
1#include "util/patch.h"
2
3#include "util/patch-ips.h"
4#include "util/patch-ups.h"
5
6bool loadPatch(struct VFile* vf, struct Patch* patch) {
7 patch->vf = vf;
8
9 if (loadPatchIPS(patch)) {
10 return true;
11 }
12
13 if (loadPatchUPS(patch)) {
14 return true;
15 }
16
17 patch->outputSize = 0;
18 patch->applyPatch = 0;
19 return false;
20}