jaudio_NES: match & link connect

This commit is contained in:
Cuyler36
2025-06-21 07:03:43 -04:00
parent a12f9bf772
commit 4bc33f2ae7
2 changed files with 3 additions and 9 deletions
+1 -1
View File
@@ -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"),
+2 -8
View File
@@ -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;
}
}