mirror of
https://github.com/AppleWin/AppleWin.git
synced 2024-09-29 06:55:15 +00:00
VC Express compile-fix - scoping of for()
This commit is contained in:
parent
ad1749999d
commit
095fb07c0f
@ -1245,7 +1245,8 @@ void MB_Initialize()
|
|||||||
{
|
{
|
||||||
memset(&g_MB,0,sizeof(g_MB));
|
memset(&g_MB,0,sizeof(g_MB));
|
||||||
|
|
||||||
for(int i=0; i<NUM_VOICES; i++)
|
int i;
|
||||||
|
for(i=0; i<NUM_VOICES; i++)
|
||||||
ppAYVoiceBuffer[i] = new short [SAMPLE_RATE]; // Buffer can hold a max of 1 seconds worth of samples
|
ppAYVoiceBuffer[i] = new short [SAMPLE_RATE]; // Buffer can hold a max of 1 seconds worth of samples
|
||||||
|
|
||||||
AY8910_InitAll((int)g_fCurrentCLK6502, SAMPLE_RATE);
|
AY8910_InitAll((int)g_fCurrentCLK6502, SAMPLE_RATE);
|
||||||
|
Loading…
Reference in New Issue
Block a user