mirror of
https://github.com/joel16/VitaShell.git
synced 2024-11-23 11:49:40 +00:00
d7de7edebe
* Changed how content type is determined Also added some code related to non-working (at this moment) theme promotion * revoked code related to theme promotion I give up, can't continue with the undocumented scePromoterUtilityPromotePkgWithRif error. * Added PoC Patch refresh code Note: right now it does not check if installed app_ver == patch app_ver, so it promotes ALL patches for installed titles. * Move pfs related functions to pfs.c/pfs.h * Reverted some unintended changes * Cleaned up debug prints * Cleaned up unused PFS code * Patch refresh PoC v2 * Fixed Misplaced pfsUmount() * Removed rest of the debug prints, feature is now fully functional
31 lines
935 B
C
31 lines
935 B
C
/*
|
|
VitaShell
|
|
Copyright (C) 2015-2018, TheFloW
|
|
|
|
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.
|
|
|
|
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.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef __PFS_H__
|
|
#define __PFS_H__
|
|
|
|
char pfs_mounted_path[MAX_PATH_LENGTH];
|
|
char pfs_mount_point[MAX_MOUNT_POINT_LENGTH];
|
|
int read_only;
|
|
|
|
int known_pfs_ids[4];
|
|
int pfsMount(const char *path);
|
|
int pfsUmount();
|
|
|
|
#endif
|