Skip to content

Commit

Permalink
add BURN_SND_ROUTE_NONE route. Also, tweak volume for sfz3mix samples
Browse files Browse the repository at this point in the history
  • Loading branch information
dinkc64 committed Dec 23, 2023
1 parent 77e8567 commit ad3a0a4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/burn/burnint.h
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ void BurnExitMemoryManager();

// ---------------------------------------------------------------------------
// sound routes
#define BURN_SND_ROUTE_NONE 0
#define BURN_SND_ROUTE_LEFT 1
#define BURN_SND_ROUTE_RIGHT 2
#define BURN_SND_ROUTE_BOTH (BURN_SND_ROUTE_LEFT | BURN_SND_ROUTE_RIGHT)
Expand Down
4 changes: 2 additions & 2 deletions src/burn/drv/capcom/d_cps2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11576,10 +11576,10 @@ static INT32 Cps2TurboInit()
for (int i = 0; i < 0x40; i++) {
// Left side
BurnSampleSetRoute(i + 0x00, BURN_SND_SAMPLE_ROUTE_1, 0.10, BURN_SND_ROUTE_LEFT);
BurnSampleSetRoute(i + 0x00, BURN_SND_SAMPLE_ROUTE_2, 0.10, BURN_SND_ROUTE_LEFT);
BurnSampleSetRoute(i + 0x00, BURN_SND_SAMPLE_ROUTE_2, 0.10, BURN_SND_ROUTE_NONE);
// Right side
BurnSampleSetRoute(i + 0x40, BURN_SND_SAMPLE_ROUTE_1, 0.10, BURN_SND_ROUTE_RIGHT);
BurnSampleSetRoute(i + 0x40, BURN_SND_SAMPLE_ROUTE_2, 0.10, BURN_SND_ROUTE_RIGHT);
BurnSampleSetRoute(i + 0x40, BURN_SND_SAMPLE_ROUTE_2, 0.10, BURN_SND_ROUTE_NONE);
}
}

Expand Down

0 comments on commit ad3a0a4

Please sign in to comment.