mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-24 19:52:37 +01:00
fix trailing comma in array
This commit is contained in:
parent
e65d1a3dd9
commit
3cb18ac5a9
@ -941,7 +941,7 @@ void libmixer_init()
|
|||||||
0xf000000048000000 // b
|
0xf000000048000000 // b
|
||||||
);
|
);
|
||||||
|
|
||||||
REG_SUB(libmixer, "surmxUti", cellSurMixerUtilGetLevelFromDB);
|
REG_SUB_EMPTY(libmixer, "surmxUti", cellSurMixerUtilGetLevelFromDB);
|
||||||
REG_SUB(libmixer, "surmxUti", cellSurMixerUtilGetLevelFromDBIndex);
|
REG_SUB_EMPTY(libmixer, "surmxUti", cellSurMixerUtilGetLevelFromDBIndex);
|
||||||
REG_SUB(libmixer, "surmxUti", cellSurMixerUtilNoteToRatio);
|
REG_SUB_EMPTY(libmixer, "surmxUti", cellSurMixerUtilNoteToRatio);
|
||||||
}
|
}
|
@ -112,7 +112,7 @@ u16 cellSoundSynth2Pitch2Note(u16 center_note, u16 center_fine, u16 pitch)
|
|||||||
|
|
||||||
void libsynth2_init()
|
void libsynth2_init()
|
||||||
{
|
{
|
||||||
REG_SUB(libsynth2, "synth2", cellSoundSynth2Init,
|
REG_SUB_EMPTY(libsynth2, "synth2", cellSoundSynth2Init,
|
||||||
/*
|
/*
|
||||||
0xffffffff7d800026,
|
0xffffffff7d800026,
|
||||||
0xfffffffff821ff41,
|
0xfffffffff821ff41,
|
||||||
@ -140,20 +140,20 @@ void libsynth2_init()
|
|||||||
0xffffffff3ba00000,
|
0xffffffff3ba00000,
|
||||||
*/
|
*/
|
||||||
);
|
);
|
||||||
REG_SUB(libsynth2, "synth2", cellSoundSynth2Exit);
|
REG_SUB_EMPTY(libsynth2, "synth2", cellSoundSynth2Exit);
|
||||||
REG_SUB(libsynth2, "synth2", cellSoundSynth2Config);
|
REG_SUB_EMPTY(libsynth2, "synth2", cellSoundSynth2Config);
|
||||||
REG_SUB(libsynth2, "synth2", cellSoundSynth2GetAddr);
|
REG_SUB_EMPTY(libsynth2, "synth2", cellSoundSynth2GetAddr);
|
||||||
REG_SUB(libsynth2, "synth2", cellSoundSynth2GetParam);
|
REG_SUB_EMPTY(libsynth2, "synth2", cellSoundSynth2GetParam);
|
||||||
REG_SUB(libsynth2, "synth2", cellSoundSynth2GetSwitch);
|
REG_SUB_EMPTY(libsynth2, "synth2", cellSoundSynth2GetSwitch);
|
||||||
REG_SUB(libsynth2, "synth2", cellSoundSynth2SetAddr);
|
REG_SUB_EMPTY(libsynth2, "synth2", cellSoundSynth2SetAddr);
|
||||||
REG_SUB(libsynth2, "synth2", cellSoundSynth2SetParam);
|
REG_SUB_EMPTY(libsynth2, "synth2", cellSoundSynth2SetParam);
|
||||||
REG_SUB(libsynth2, "synth2", cellSoundSynth2SetSwitch);
|
REG_SUB_EMPTY(libsynth2, "synth2", cellSoundSynth2SetSwitch);
|
||||||
REG_SUB(libsynth2, "synth2", cellSoundSynth2SetEffectMode);
|
REG_SUB_EMPTY(libsynth2, "synth2", cellSoundSynth2SetEffectMode);
|
||||||
REG_SUB(libsynth2, "synth2", cellSoundSynth2SetEffectAttr);
|
REG_SUB_EMPTY(libsynth2, "synth2", cellSoundSynth2SetEffectAttr);
|
||||||
REG_SUB(libsynth2, "synth2", cellSoundSynth2Note2Pitch);
|
REG_SUB_EMPTY(libsynth2, "synth2", cellSoundSynth2Note2Pitch);
|
||||||
REG_SUB(libsynth2, "synth2", cellSoundSynth2Pitch2Note);
|
REG_SUB_EMPTY(libsynth2, "synth2", cellSoundSynth2Pitch2Note);
|
||||||
REG_SUB(libsynth2, "synth2", cellSoundSynth2VoiceTrans);
|
REG_SUB_EMPTY(libsynth2, "synth2", cellSoundSynth2VoiceTrans);
|
||||||
REG_SUB(libsynth2, "synth2", cellSoundSynth2VoiceTransStatus);
|
REG_SUB_EMPTY(libsynth2, "synth2", cellSoundSynth2VoiceTransStatus);
|
||||||
REG_SUB(libsynth2, "synth2", cellSoundSynth2SetCoreAttr);
|
REG_SUB_EMPTY(libsynth2, "synth2", cellSoundSynth2SetCoreAttr);
|
||||||
REG_SUB(libsynth2, "synth2", cellSoundSynth2Generate);
|
REG_SUB_EMPTY(libsynth2, "synth2", cellSoundSynth2Generate);
|
||||||
}
|
}
|
@ -470,8 +470,12 @@ void StaticAnalyse(void* ptr, u32 size, u32 base);
|
|||||||
void StaticExecute(u32 code);
|
void StaticExecute(u32 code);
|
||||||
void StaticFinalize();
|
void StaticFinalize();
|
||||||
|
|
||||||
#define REG_SUB(module, group, name,...) \
|
#define REG_SUB(module, group, name, args...) \
|
||||||
static const u64 name ## _table[] = {__VA_ARGS__ ## 0}; \
|
static const u64 name ## _table[] = {args, 0}; \
|
||||||
|
module.AddFuncSub(group, name ## _table, #name, name)
|
||||||
|
|
||||||
|
#define REG_SUB_EMPTY(module, group, name,...) \
|
||||||
|
static const u64 name ## _table[] = {0}; \
|
||||||
module.AddFuncSub(group, name ## _table, #name, name)
|
module.AddFuncSub(group, name ## _table, #name, name)
|
||||||
|
|
||||||
extern u64 get_system_time();
|
extern u64 get_system_time();
|
Loading…
Reference in New Issue
Block a user