Skip to content

Commit

Permalink
Initial splitting of source for cdvdman and cdvdfsv
Browse files Browse the repository at this point in the history
Use cd_file_t type instead of cdl_file_t, and move the extra flag entry into the RPC structure

Add ifdef guards on some include files

Move cdvdman default settings to ifdefs
  • Loading branch information
uyjulian committed Jun 26, 2021
1 parent 57d7477 commit 5f924f8
Show file tree
Hide file tree
Showing 17 changed files with 2,146 additions and 2,027 deletions.
2 changes: 1 addition & 1 deletion modules/iopcore/cdvdfsv/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
IOP_BIN = cdvdfsv.irx
IOP_OBJS = cdvdfsv.o imports.o exports.o
IOP_OBJS = cdvdfsv.o searchfile.o ncmd.o scmd.o imports.o exports.o

IOP_INCS += -I../common

Expand Down
30 changes: 30 additions & 0 deletions modules/iopcore/cdvdfsv/cdvdfsv-internal.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
/*
Copyright 2009, jimmikaelkael
Licenced under Academic Free License version 3.0
Review open-ps2-loader README & LICENSE files for further details.
*/

#ifndef __CDVDFSV_INTERNAL__
#define __CDVDFSV_INTERNAL__

#include <intrman.h>
#include <loadcore.h>
#include <stdio.h>
#include <sifcmd.h>
#include <sifman.h>
#include <sysclib.h>
#include <thbase.h>
#include <thevent.h>
#include <thsemap.h>

#include "cdvdman.h"
#include "smsutils.h"

extern void cdvdfsv_register_scmd_rpc(SifRpcDataQueue_t *rpc_DQ);
extern void cdvdfsv_register_ncmd_rpc(SifRpcDataQueue_t *rpc_DQ);
extern void cdvdfsv_register_searchfile_rpc(SifRpcDataQueue_t *rpc_DQ);
extern void sysmemSendEE(void *buf, void *EE_addr, int size);
extern int sceCdChangeThreadPriority(int priority);
extern u8 *cdvdfsv_buf;

#endif
Loading

0 comments on commit 5f924f8

Please sign in to comment.