Commit graph

75 commits

Author SHA1 Message Date
Björn Gerdau
7ac42366dc
Add iSifSendCmdIntr
Makes Test Drive Unlimited boot
2021-05-11 15:43:49 +02:00
Jean-Philip Desjardins
691d34d22a Don't unregister a SIF module if it was not registered by a call to SifRegisterRpc.
FF12 does some module unloading logic and tries to unregister MCSERV which is an HLE module.
2021-03-10 13:43:13 -05:00
Jean-Philip Desjardins
eff67d5532 Add missing functions in SIFCMD. 2021-03-09 13:07:02 -05:00
Jean-Philip Desjardins
c666117b1e Add SaveState and LoadState in Module interface. 2020-09-22 17:20:14 -04:00
Jean-Philip Desjardins
2076edf3c0 Fix Linux build. 2019-08-17 13:51:31 -04:00
Jean-Philip Desjardins
e5ae547e66 Move saved state helper classes to a subfolder. 2019-02-06 19:04:51 -05:00
Ian Brown
57cc582dcc Initialise stack to 0xFF. Required by ubisound.irx in rayman revolution due to it using some uninitialised stack space and assuming it to be non-zero. 2019-01-29 22:39:50 +00:00
Jean-Philip Desjardins
e9a6f17ab8 Implement SifSendCmdIntr. 2019-01-02 21:05:16 -05:00
Jean-Philip Desjardins
947f9a5357 Remove extra parameters. 2019-01-02 20:02:10 -05:00
Jean-Philip Desjardins
1be5aa66ed Fix init order. 2019-01-02 19:56:14 -05:00
Jean-Philip Desjardins
a93c78c5be Call SIF call RPC end function. 2018-10-19 12:37:57 -04:00
Jean-Philip Desjardins
1e1eed8a67 Style fixes. 2018-05-25 12:26:07 -04:00
Jean-Philip Desjardins
0f2fcc31bb Use Warn function. 2018-05-25 12:24:51 -04:00
Clang-Format
acf75535ec Clang format 2018-04-30 21:01:23 +01:00
Mahmood(Thunder07)
97c229ec98 Cleanup
Silence:"warning: '0' flag ignored with precision and ‘%X’ gnu_printf format"
2017-05-29 06:01:32 +01:00
Mahmood(Thunder07)
342fca4aa0 Cleanup/Update for loops 2017-05-08 19:11:51 +01:00
Jean-Philip Desjardins
8da6f75740 Halve delay time for binding to RPC server. 2017-03-26 18:36:18 -04:00
Jean-Philip Desjardins
3217abd531 Induce a delay in SifBindRpc.
To give some time to the EE to register its RPC server.
2017-03-26 18:36:18 -04:00
Jean-Philip Desjardins
4a084fb9c7 Add passthrough for unknown/harmless SIF command. 2016-12-20 18:55:48 -05:00
Jean-Philip Desjardins
6a39d85132 Check system call result. 2016-12-20 18:55:15 -05:00
Jean-Philip Desjardins
5b20998f18 Fix some SIF packet field values. 2016-12-20 18:55:15 -05:00
Jean-Philip Desjardins
3bd46252ec Fix SIFCMDHEADER layout. 2016-12-20 18:55:15 -05:00
Jean-Philip Desjardins
a1812a59d8 Cleanup. 2016-12-20 18:55:14 -05:00
Jean-Philip Desjardins
87bc0dfc1d Cleanup. 2016-12-20 18:55:14 -05:00
Jean-Philip Desjardins
690cb17241 Cleanup. 2016-12-20 18:55:14 -05:00
Jean-Philip Desjardins
813d0956df Cleanup. 2016-12-20 18:55:14 -05:00
Jean-Philip Desjardins
79f5fe7ee8 Reset module data after allocating. 2016-12-20 18:55:14 -05:00
Jean-Philip Desjardins
1fbf98fec4 Move "executing command" flag in module data. 2016-12-20 18:55:14 -05:00
Jean-Philip Desjardins
996f705f92 Move some of SIFCMD module's state in RAM. 2016-12-20 18:55:14 -05:00
Jean-Philip Desjardins
77f1c67201 Remove misplaced Reschedule.
Broke Cdvdman callbacks.
2016-11-26 20:29:51 -05:00
Jean-Philip Desjardins
1d53f3cf0b SIF commands are executed serially. 2016-11-19 17:28:28 -05:00
Jean-Philip Desjardins
72af35f788 Add support for SIF software registers. 2016-11-19 17:27:21 -05:00
Jean-Philip Desjardins
94b55fc4ce Move command handlers in separate functions. 2016-11-19 17:27:21 -05:00
Jean-Philip Desjardins
7e9522106d Allow setting custom handlers for system SIF commands. 2016-11-19 17:27:21 -05:00
Jean-Philip Desjardins
b32607ca9d Cleanup. 2016-11-19 17:27:21 -05:00
Jean-Philip Desjardins
c46a740de7 Add various checks to catch some error cases. 2016-11-19 17:27:21 -05:00
Jean-Philip Desjardins
22e67f51d2 Allow usage of SifGetNextRequest and SifExecRequest. 2016-06-18 00:40:39 -04:00
Jean-Philip Desjardins
9d7c9d05a4 Cleanup. 2016-06-18 00:35:50 -04:00
Jean-Philip Desjardins
9a01d3fbff Don't copy SIF RPC call parameters if buffer pointer is null. 2016-05-28 21:09:14 -04:00
Jean-Philip Desjardins
38e9947bde Removed hacks that were allowing the built-in PadMan to be "overloaded".
Could lead to wierd situations if the "overloaded" module wasn't loaded in a timely fashion.
2016-01-23 22:12:28 -05:00
Jean-Philip Desjardins
fcf1b11f1b Moved EE and GS specific files in a separate folder. 2015-05-06 00:54:15 -04:00
Jean-Philip Desjardins
0785932c72 Version of FILEIO to use is now determined by which IOPRP package is loaded by the game. Also added support for the version of FILEIO module used by Dark Cloud. 2015-01-26 03:39:44 -05:00
Ian Brown
779c49f835 Added support for custom SIF command handlers (from bigianb). 2014-12-21 22:01:12 -05:00
Jean-Philip Desjardins
801acebb8c Cleanup. 2014-12-21 21:08:46 -05:00
Ian Brown
45a025872f more IOP functions 2014-12-21 20:01:37 -05:00
Jean-Philip Desjardins
f0be005cb2 Enabled IOP to bind to and call RPC servers on the EE side. 2014-11-08 01:14:48 -05:00
Jean-Philip Desjardins
3c898bd839 Added SIFDMAREG struct. 2014-11-07 02:27:33 -05:00
Jean-Philip Desjardins
e180b67368 SIF code cleanup. 2014-11-06 04:16:16 -05:00
Jean-Philip Desjardins
f5b6e94f15 Moved some SIF related definitions to a separate file. 2014-11-06 00:35:27 -05:00
Jean-Philip Desjardins
3e85ad4091 Added SifCallRpc debug info. 2014-11-05 23:20:16 -05:00