fix: resolve ByteBuffer hardcoded path and static const linker errors

This commit is contained in:
MatthewBeshay
2026-03-31 21:50:15 +11:00
parent a18cb3d484
commit 2f92b07c1f
15 changed files with 87 additions and 151 deletions
@@ -999,9 +999,6 @@ void UIScene_MainMenu::LoadTrial(void) {
StorageManager.ResetSaveData();
// Need to set the mode as trial
ProfileManager.StartTrialGame();
// No saving in the trial
StorageManager.SetSaveDisabled(true);
app.SetGameHostOption(eGameHostOption_WasntSaveOwner, false);
@@ -43,10 +43,6 @@ void UIScene_TrialExitUpsell::handleInput(int iPad, int key, bool repeat,
// CD - Added for audio
ui.PlayUISFX(eSFX_Press);
// 4J-PB - need to check this user can access the store
{
false, iPad, /*eSen_UpsellID_Full_Version_Of_Game*/ 0);
}
}
break;
}
@@ -456,20 +456,6 @@ int UIScene_PauseMenu::UnlockFullSaveReturned(
void* pParam, int iPad, C4JStorage::EMessageResult result) {
Minecraft* pMinecraft = Minecraft::GetInstance();
if (result == C4JStorage::EMessage_ResultAccept) {
if (ProfileManager.IsSignedInLive(pMinecraft->player->GetXboxPad())) {
// 4J-PB - need to check this user can access the store
{
false, pMinecraft->player->GetXboxPad(),
/*eSen_UpsellID_Full_Version_Of_Game*/ 0);
}
}
} else {
// SentientManager.RecordUpsellResponded(iPad,
// eSen_UpsellID_Full_Version_Of_Game, app.m_dwOfferID,
// eSen_UpsellOutcome_Declined);
}
return 0;
}