mirror of
https://github.com/pret/pmd-red.git
synced 2026-08-24 01:35:07 -05:00
fix weird fakematches
This commit is contained in:
@@ -1494,8 +1494,8 @@ void ply_memacc(struct MusicPlayerInfo *mplayInfo, struct MusicPlayerTrack *trac
|
||||
|
||||
cond_true:
|
||||
{
|
||||
void (*func)(struct MusicPlayerInfo *, struct MusicPlayerTrack *) = *(&gMPlayJumpTable[1]);
|
||||
func(mplayInfo, track);
|
||||
// *& is required for matching
|
||||
(*&gMPlayJumpTable[1])(mplayInfo, track);
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1513,8 +1513,7 @@ void ply_xcmd(struct MusicPlayerInfo *mplayInfo, struct MusicPlayerTrack *track)
|
||||
|
||||
void ply_xxx(struct MusicPlayerInfo *mplayInfo, struct MusicPlayerTrack *track)
|
||||
{
|
||||
void (*func)(struct MusicPlayerInfo *, struct MusicPlayerTrack *) = *(&gMPlayJumpTable[0]);
|
||||
func(mplayInfo, track);
|
||||
gMPlayJumpTable[0](mplayInfo, track);
|
||||
}
|
||||
|
||||
#define READ_XCMD_BYTE(var, n) \
|
||||
|
||||
Reference in New Issue
Block a user