[keel] Change Nostalgia media and preload headers to Keel

This commit is contained in:
2023-04-01 20:29:24 -05:00
parent 834d01226d
commit a36a642cf5
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -95,8 +95,8 @@ ox::Error buildUuidMap(Context*) noexcept {
ox::Result<char*> loadRom(ox::CRStringView) noexcept {
// put the header in the wrong order to prevent mistaking this code for the
// media section
constexpr auto headerP2 = "HEADER__________";
constexpr auto headerP1 = "NOSTALGIA_MEDIA_";
constexpr auto headerP2 = "R_______________";
constexpr auto headerP1 = "KEEL_MEDIA_HEADE";
constexpr auto headerP1Len = ox_strlen(headerP2);
constexpr auto headerP2Len = ox_strlen(headerP1);
constexpr auto headerLen = headerP1Len + headerP2Len;