Loading and unloading of the synth module.
More...
#include <synthmodule.h>
|
| static int | Load (int argc, char **argv) |
| | Enable the SPU2 DMA interrupts, start the RPC layer, and start the server thread.
|
| static int | Unload (int argc, char **argv) |
| | Stop and delete the server thread when the first argument is "other".
|
Loading and unloading of the synth module.
The class has no RTTI, and its name is inferred from its role. Every member is static. The module never runs its global constructors. The synthesiser's tables start zeroed, and Synth::Init() prepares them.
◆ Load()
| int SynthModule::Load |
( |
int | argc, |
|
|
char ** | argv ) |
|
static |
Enable the SPU2 DMA interrupts, start the RPC layer, and start the server thread.
- Parameters
-
| argc | Argument count. |
| argv | Arguments. |
- Returns
- REMOVABLE_RESIDENT_END once the server thread runs, otherwise NO_RESIDENT_END.
- Ghidra address:
- NTSC-U/C: 0x00000130
- Ghidra address:
- PAL: 0x00000130
◆ Unload()
| int SynthModule::Unload |
( |
int | argc, |
|
|
char ** | argv ) |
|
static |
Stop and delete the server thread when the first argument is "other".
- Parameters
-
| argc | Argument count. |
| argv | Arguments. |
- Returns
- NO_RESIDENT_END when the module unloaded or the argument differs, otherwise REMOVABLE_RESIDENT_END.
- Ghidra address:
- NTSC-U/C: 0x000001c0
- Ghidra address:
- PAL: 0x000001c0
The documentation for this class was generated from the following file: