mirror of
https://github.com/ACreTeam/ac-decomp
synced 2026-05-23 14:41:38 -04:00
jaudio_NES: match & link connect
This commit is contained in:
+1
-1
@@ -765,7 +765,7 @@ config.libs = [
|
||||
Object(NonMatching, "jaudio_NES/internal/centcalc.c"),
|
||||
Object(NonMatching, "jaudio_NES/internal/channel.c"),
|
||||
Object(NonMatching, "jaudio_NES/internal/cmdstack.c"),
|
||||
Object(NonMatching, "jaudio_NES/internal/connect.c"),
|
||||
Object(Matching, "jaudio_NES/internal/connect.c"),
|
||||
Object(NonMatching, "jaudio_NES/internal/driver.c"),
|
||||
Object(Matching, "jaudio_NES/internal/driverinterface.c"),
|
||||
Object(Matching, "jaudio_NES/internal/dsp_cardunlock.c"),
|
||||
|
||||
@@ -271,11 +271,8 @@ u16 Jac_WsPhysicalToVirtual(u16 ws)
|
||||
*/
|
||||
void Jac_WsConnectTableSet(u32 id, u32 val)
|
||||
{
|
||||
u32* id2 = &id;
|
||||
u32* bnk = &val;
|
||||
|
||||
if (id != 0xffff && id < 0x100 && WS_V2P_TABLE[id] == -1) {
|
||||
WS_V2P_TABLE[id] = *bnk;
|
||||
WS_V2P_TABLE[id] = val;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -286,11 +283,8 @@ void Jac_WsConnectTableSet(u32 id, u32 val)
|
||||
*/
|
||||
void Jac_BnkConnectTableSet(u32 id, u32 val)
|
||||
{
|
||||
u32* id2 = &id;
|
||||
u32* bnk = &val;
|
||||
|
||||
if (id != 0xffff && id < 0x100 && BNK_V2P_TABLE[id] == -1) {
|
||||
BNK_V2P_TABLE[id] = *bnk;
|
||||
BNK_V2P_TABLE[id] = val;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user