commit 166c3d2e9b5ee469f226f42dd8cfe74ba6ff6be0
Author: nukeykt <alexeytf2@icloud.com>
AuthorDate: Sun Feb 28 21:59:12 2016 +0900
Commit: nukeykt <alexeytf2@icloud.com>
CommitDate: Sun Feb 28 21:59:12 2016 +0900
opl: Fix tab characters
---
opl/opl3.c | 6 +++---
opl/opl3.h | 2 +-
opl/opl_sdl.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/opl/opl3.c b/opl/opl3.c
index 090854bc..81ef0f6a 100644
--- a/opl/opl3.c
+++ b/opl/opl3.c
@@ -1420,11 +1420,11 @@ void OPL3_WriteRegBuffered(opl3_chip *chip, Bit16u reg, Bit8u v)
void OPL3_GenerateStream(opl3_chip *chip, Bit16s *sndptr, Bit32u numsamples)
{
- Bit32u i;
+ Bit32u i;
- for(i = 0; i < numsamples; i++)
+ for(i = 0; i < numsamples; i++)
{
OPL3_GenerateResampled(chip, sndptr);
sndptr += 2;
- }
+ }
}
diff --git a/opl/opl3.h b/opl/opl3.h
index 0c738af5..7d2ace42 100644
--- a/opl/opl3.h
+++ b/opl/opl3.h
@@ -114,7 +114,7 @@ struct _opl3_chip {
Bit16s zeromod;
Bit32s mixbuff[2];
//OPL3L
- Bit32s rateratio;
+ Bit32s rateratio;
Bit32s samplecnt;
Bit16s oldsamples[2];
Bit16s samples[2];
diff --git a/opl/opl_sdl.c b/opl/opl_sdl.c
index 40449fef..370e6b87 100644
--- a/opl/opl_sdl.c
+++ b/opl/opl_sdl.c
@@ -152,7 +152,7 @@ static void AdvanceTime(unsigned int nsamples)
SDL_UnlockMutex(callback_queue_mutex);
}
-
+
// Call the OPL emulator code to fill the specified buffer.
static void FillBuffer(int16_t *buffer, unsigned int nsamples)