mirror of
https://github.com/joel16/VitaShell.git
synced 2024-11-26 21:30:45 +00:00
Fix build errors on latest VitaSDK. (#583)
This commit is contained in:
parent
3d7ebe61e6
commit
2adb4b8b25
2
elf.h
2
elf.h
@ -214,7 +214,7 @@ typedef struct {
|
|||||||
/* SCE relocation entry */
|
/* SCE relocation entry */
|
||||||
|
|
||||||
// assuming LSB of bitfield is listed first
|
// assuming LSB of bitfield is listed first
|
||||||
union {
|
typedef union {
|
||||||
Elf32_Word r_short : 4;
|
Elf32_Word r_short : 4;
|
||||||
struct {
|
struct {
|
||||||
Elf32_Word r_short : 4;
|
Elf32_Word r_short : 4;
|
||||||
|
4
pfs.c
4
pfs.c
@ -41,6 +41,10 @@
|
|||||||
0x3F0: vs0:data/external
|
0x3F0: vs0:data/external
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
char pfs_mounted_path[MAX_PATH_LENGTH];
|
||||||
|
char pfs_mount_point[MAX_MOUNT_POINT_LENGTH];
|
||||||
|
int read_only;
|
||||||
|
|
||||||
int known_pfs_ids[] = {
|
int known_pfs_ids[] = {
|
||||||
0x6E,
|
0x6E,
|
||||||
0x12E,
|
0x12E,
|
||||||
|
8
pfs.h
8
pfs.h
@ -19,11 +19,11 @@
|
|||||||
#ifndef __PFS_H__
|
#ifndef __PFS_H__
|
||||||
#define __PFS_H__
|
#define __PFS_H__
|
||||||
|
|
||||||
char pfs_mounted_path[MAX_PATH_LENGTH];
|
extern char pfs_mounted_path[];
|
||||||
char pfs_mount_point[MAX_MOUNT_POINT_LENGTH];
|
extern char pfs_mount_point[];
|
||||||
int read_only;
|
extern int read_only;
|
||||||
|
|
||||||
int known_pfs_ids[4];
|
extern int known_pfs_ids[];
|
||||||
int pfsMount(const char *path);
|
int pfsMount(const char *path);
|
||||||
int pfsUmount();
|
int pfsUmount();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user