Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix build errors on latest VitaSDK. #583

Merged
merged 1 commit into from
Oct 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion elf.h
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 214,7 @@ typedef struct {
/* SCE relocation entry */

// assuming LSB of bitfield is listed first
union {
typedef union {
Elf32_Word r_short : 4;
struct {
Elf32_Word r_short : 4;
Expand Down
4 changes: 4 additions & 0 deletions pfs.c
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 41,10 @@
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[] = {
0x6E,
0x12E,
Expand Down
8 changes: 4 additions & 4 deletions pfs.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 19,11 @@
#ifndef __PFS_H__
#define __PFS_H__

char pfs_mounted_path[MAX_PATH_LENGTH];
char pfs_mount_point[MAX_MOUNT_POINT_LENGTH];
int read_only;
extern char pfs_mounted_path[];
extern char pfs_mount_point[];
extern int read_only;

int known_pfs_ids[4];
extern int known_pfs_ids[];
int pfsMount(const char *path);
int pfsUmount();

Expand Down