// Copyright (c) 2012- PPSSPP Project.12// This program is free software: you can redistribute it and/or modify3// it under the terms of the GNU General Public License as published by4// the Free Software Foundation, version 2.0 or later versions.56// This program is distributed in the hope that it will be useful,7// but WITHOUT ANY WARRANTY; without even the implied warranty of8// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the9// GNU General Public License 2.0 for more details.1011// A copy of the GPL 2.0 should have been included with the program.12// If not, see http://www.gnu.org/licenses/1314// Official git repository and contact information can be found at15// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.1617#pragma once1819#include "Core/Dialog/PSPDialog.h"20#include "Core/MemMapHelpers.h"2122struct SceUtilityNpSigninParam {23pspUtilityDialogCommon common;24// Initially all zero? Or is there a possibility for one of these unknown to be a buffer to a packet data if it wasn't null?25int npSigninStatus;26int unknown1;27int unknown2;28int unknown3;29};3031class PSPNpSigninDialog : public PSPDialog {32public:33PSPNpSigninDialog(UtilityDialogType type) : PSPDialog(type) {}3435int Init(u32 paramAddr);36int Update(int animSpeed) override;37int Shutdown(bool force = false) override;38void DoState(PointerWrap &p) override;39pspUtilityDialogCommon* GetCommonParam() override;4041protected:42bool UseAutoStatus() override {43return false;44}4546private:47void DrawBanner();48void DrawIndicator();49void DrawLogo();5051SceUtilityNpSigninParam request = {};52u32 requestAddr = 0;53//int npSigninResult = -1;5455u64 startTime = 0;56int step = 0;57};585960