diff options
| author | Jeod <47716344+JeodC@users.noreply.github.com> | 2026-07-21 20:40:49 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-07-22 01:40:49 +0100 |
| commit | 5f5903421dc58a63499b21df2015b65b3f47d561 (patch) | |
| tree | aebb35f13c27ada1540146667c2b924323e43f3b /src/factories/bk64/ConfigFactory.h | |
| parent | 5b79bdbc01cea67ac8ac387e3f6b982017413b39 (diff) | |
BK: suppress extraction warnings per port policy (#229)
Diffstat (limited to 'src/factories/bk64/ConfigFactory.h')
| -rw-r--r-- | src/factories/bk64/ConfigFactory.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/factories/bk64/ConfigFactory.h b/src/factories/bk64/ConfigFactory.h index 7822647..c2c6982 100644 --- a/src/factories/bk64/ConfigFactory.h +++ b/src/factories/bk64/ConfigFactory.h @@ -69,6 +69,12 @@ enum class CustomCodeKind : uint16_t { BB_INJECTED = 2, }; +// Pre-extraction probe for callers that decide the warning policy themselves +// (e.g. the extraction UI checks RomhackTable for hand-ported hashes): reports +// the detected blob's kind and its SHA1 as 40 lowercase hex chars + NUL. +// Returns false (kind NONE, empty hash) when no blob is found. +bool GetCustomCodeBlobInfo(const std::vector<uint8_t>& rom, CustomCodeKind& outKind, char outSha1Hex[41]); + // CODE_CONSTANTS key IDs - they index into the sBBConfigs table. enum class CodeConstantKey : uint16_t { NEW_GAME_MAP = 0, |
