2016-08-06 06:59:41 +00:00
|
|
|
/*
|
2017-10-13 10:42:36 +00:00
|
|
|
VitaShell
|
2017-12-30 10:43:37 +00:00
|
|
|
Copyright (C) 2015-2018, TheFloW
|
2016-08-06 06:59:41 +00:00
|
|
|
|
2017-10-13 10:42:36 +00:00
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
|
|
it under the terms of the GNU General Public License as published by
|
|
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
|
|
(at your option) any later version.
|
2016-08-06 06:59:41 +00:00
|
|
|
|
2017-10-13 10:42:36 +00:00
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
2016-08-06 06:59:41 +00:00
|
|
|
|
2017-10-13 10:42:36 +00:00
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
2016-08-06 06:59:41 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __INIT_H__
|
|
|
|
#define __INIT_H__
|
|
|
|
|
|
|
|
#include "file.h"
|
|
|
|
|
2016-09-04 08:44:48 +00:00
|
|
|
#define NET_INIT_SIZE 1 * 1024 * 1024
|
|
|
|
|
2017-02-27 20:53:38 +00:00
|
|
|
extern char vitashell_titleid[12];
|
2017-02-13 20:07:09 +00:00
|
|
|
|
2017-06-22 22:21:00 +00:00
|
|
|
extern int is_safe_mode;
|
2017-02-13 20:07:09 +00:00
|
|
|
|
2017-03-18 09:56:46 +00:00
|
|
|
extern SceUID kernel_modid, user_modid;
|
|
|
|
|
2016-08-06 06:59:41 +00:00
|
|
|
extern int language, enter_button, date_format, time_format;
|
|
|
|
|
2016-08-29 17:07:12 +00:00
|
|
|
typedef struct {
|
2017-10-13 10:42:36 +00:00
|
|
|
const char *path;
|
|
|
|
void *buffer;
|
|
|
|
int size;
|
|
|
|
int replace;
|
2016-08-29 17:07:12 +00:00
|
|
|
} DefaultFile;
|
|
|
|
|
2016-12-12 18:56:02 +00:00
|
|
|
vita2d_pgf *loadSystemFonts();
|
|
|
|
|
2018-09-13 12:46:10 +00:00
|
|
|
int isSafeMode();
|
2016-08-06 06:59:41 +00:00
|
|
|
void initVitaShell();
|
|
|
|
void finishVitaShell();
|
|
|
|
|
2018-08-27 15:34:44 +00:00
|
|
|
#endif
|