wavelength 1.0.0
Loading...
Searching...
No Matches
SynthModule Class Reference

Loading and unloading of the synth module. More...

#include <synthmodule.h>

Static Public Member Functions

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".

Detailed Description

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.

Member Function Documentation

◆ Load()

int SynthModule::Load ( int argc,
char ** argv )
static

Enable the SPU2 DMA interrupts, start the RPC layer, and start the server thread.

Parameters
argcArgument count.
argvArguments.
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
argcArgument count.
argvArguments.
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: