Skip to content

Commit

Permalink
Uncommented the clear writes and other clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
bubble2k16 committed Mar 23, 2018
1 parent b5d60cd commit 86cfb6f
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions source/3dsimpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -351,11 +351,11 @@ void impl3dsGenerateSoundSamples(int numberOfSamples)
{
if (Settings.UseFastDSPCore)
{
//S9xSetAPUDSPClearWrites();
S9xSetAPUDSPClearWrites();
}
else
{
//DSP_ClearWrites();
DSP_ClearWrites();
S9xSetAPUDSPReplay ();
S9xMixSamplesIntoTempBuffer(numberOfSamples * 2);
}
Expand All @@ -381,11 +381,8 @@ void impl3dsOutputSoundSamples(int numberOfSamples, short *leftSamples, short *r
{
S9xApplyMasterVolumeOnTempBufferIntoLeftRightBuffers(leftSamples, rightSamples, 256 * 2);
}


}


//---------------------------------------------------------
// This is called when a ROM needs to be loaded and the
// emulator engine initialized.
Expand Down Expand Up @@ -432,15 +429,11 @@ void impl3dsPrepareForNewFrame()
}


short samples[32000 * 4];


//---------------------------------------------------------
// Executes one frame.
//---------------------------------------------------------
void impl3dsRunOneFrame(bool firstFrame, bool skipDrawingFrame)
{

Memory.ApplySpeedHackPatches();
gpu3dsEnableAlphaBlending();

Expand Down

0 comments on commit 86cfb6f

Please sign in to comment.