mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-09-27 11:36:29 -05:00
Remove mac disclaimer + minor code cleanup
This commit is contained in:
@@ -190,7 +190,6 @@ void LoadMainExecutable()
|
||||
currentBaseApplicationHash = generateHashFromRawRPXData(baseRpxData, baseRpxSize);
|
||||
}
|
||||
free(baseRpxData);
|
||||
debug_printf("RPXHash: 0x%08x\n", currentBaseApplicationHash);
|
||||
}
|
||||
|
||||
fs::path getTitleSavePath()
|
||||
|
||||
@@ -199,8 +199,6 @@ void nnNfpExport_SetActivateEvent(PPCInterpreter_t* hCPU)
|
||||
ppcDefineParamStructPtr(osEvent, coreinit::OSEvent, 0);
|
||||
ppcDefineParamMPTR(osEventMPTR, 0);
|
||||
|
||||
debug_printf("nn_nfp.SetActivateEvent(0x%08x)\n", osEventMPTR);
|
||||
|
||||
coreinit::OSInitEvent(osEvent, coreinit::OSEvent::EVENT_STATE::STATE_NOT_SIGNALED, coreinit::OSEvent::EVENT_MODE::MODE_AUTO);
|
||||
|
||||
nnNfpLock();
|
||||
@@ -228,7 +226,6 @@ void nnNfpExport_SetDeactivateEvent(PPCInterpreter_t* hCPU)
|
||||
|
||||
void nnNfpExport_Initialize(PPCInterpreter_t* hCPU)
|
||||
{
|
||||
debug_printf("Nfp Initialize()\n");
|
||||
nfp_data.nfpIsInitialized = true;
|
||||
nfp_data.isDetecting = false;
|
||||
nfp_data.hasActiveAmiibo = false;
|
||||
|
||||
@@ -151,7 +151,7 @@ std::optional<int> LaunchSettings::HandleCommandline(const std::vector<std::wstr
|
||||
try {
|
||||
if (titleParam.starts_with('='))
|
||||
titleParam.erase(titleParam.begin());
|
||||
TitleId titleId;
|
||||
TitleId titleId{};
|
||||
if (!TitleIdParser::ParseFromStr(titleParam, titleId))
|
||||
std::cerr << "Invalid title id format";
|
||||
s_load_title_id = titleId;
|
||||
|
||||
@@ -385,22 +385,6 @@ bool CemuApp::OnInit()
|
||||
wxWlSetAppId(m_mainFrame, "info.cemu.Cemu");
|
||||
#endif
|
||||
|
||||
// show warning on macOS about state of builds
|
||||
#if BOOST_OS_MACOS
|
||||
if (!config.did_show_macos_disclaimer)
|
||||
{
|
||||
const auto message = _(
|
||||
"Thank you for testing the in-development build of Cemu for macOS.\n \n"
|
||||
"The macOS port is currently purely experimental and should not be considered stable or ready for issue-free gameplay. "
|
||||
"There are also known issues with degraded performance due to the use of MoltenVk and Rosetta for ARM Macs. We appreciate your patience while we improve Cemu for macOS.");
|
||||
wxMessageDialog dialog(nullptr, message, _("Preview version"), wxCENTRE | wxOK | wxICON_WARNING);
|
||||
dialog.SetOKLabel(_("I understand"));
|
||||
dialog.ShowModal();
|
||||
config.did_show_macos_disclaimer = true;
|
||||
GetConfigHandle().Save();
|
||||
}
|
||||
#endif
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@@ -100,7 +100,7 @@ struct wxCemuConfig
|
||||
|
||||
ConfigValue<bool> did_show_vulkan_warning{false};
|
||||
ConfigValue<bool> did_show_graphic_pack_download{false}; // no longer used but we keep the config value around in case people downgrade Cemu. Despite the name this was used for the Getting Started dialog
|
||||
ConfigValue<bool> did_show_macos_disclaimer{false};
|
||||
ConfigValue<bool> did_show_macos_disclaimer{false}; // no longer used
|
||||
|
||||
ConfigValue<bool> show_icon_column{true};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user