Provide RoseResources to roseQuality.

RoseResources is an alternative to manually digging through the bytecode.
This commit is contained in:
Alex Coyte
2017-07-31 10:38:30 +10:00
committed by Matthew Barr
parent 778addadc5
commit 37033ef9bb
4 changed files with 26 additions and 16 deletions

View File

@@ -35,9 +35,11 @@ struct RoseEngine;
namespace ue2 {
struct RoseResources;
/* used by heuristics to determine the small write engine. High numbers are
* intended to indicate a lightweight rose. */
u32 roseQuality(const RoseEngine *rose);
u32 roseQuality(const RoseResources &res, const RoseEngine *rose);
}