summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/m4a_2.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/m4a_2.c b/src/m4a_2.c
index 29f9bf910..56487808c 100644
--- a/src/m4a_2.c
+++ b/src/m4a_2.c
@@ -251,7 +251,6 @@ void MPlayExtender(struct CgbChannel *cgbChans)
{
struct SoundInfo *soundInfo;
u32 ident;
- register u32 maxLines asm("r0");
REG_SOUNDCNT_X = SOUND_MASTER_ENABLE
| SOUND_4_ON
@@ -291,9 +290,7 @@ void MPlayExtender(struct CgbChannel *cgbChans)
soundInfo->CgbSound = CgbSound;
soundInfo->CgbOscOff = CgbOscOff;
soundInfo->MidiKeyToCgbFreq = MidiKeyToCgbFreq;
-
- maxLines = MAX_LINES;
- soundInfo->maxLines = maxLines;
+ soundInfo->maxLines = MAX_LINES;
CpuFill32(cgbChans, 0, sizeof(struct CgbChannel) * 4);