accidentally swapped left and right audio channels, whoops

This commit is contained in:
FIX94 2017-05-29 05:49:02 +02:00
parent f8fc506ae9
commit 181618bc95
No known key found for this signature in database
GPG Key ID: CE39016A19D8EADA
2 changed files with 11 additions and 9 deletions

18
apu.c
View File

@ -15,15 +15,17 @@
#include "mem.h"
#include "cpu.h"
#define P1_ENABLE_LEFT (1<<0)
#define P2_ENABLE_LEFT (1<<1)
#define WAV_ENABLE_LEFT (1<<2)
#define NOISE_ENABLE_LEFT (1<<3)
//Upper bits of FF25 are Left
#define P1_ENABLE_LEFT (1<<4)
#define P2_ENABLE_LEFT (1<<5)
#define WAV_ENABLE_LEFT (1<<6)
#define NOISE_ENABLE_LEFT (1<<7)
#define P1_ENABLE_RIGHT (1<<4)
#define P2_ENABLE_RIGHT (1<<5)
#define WAV_ENABLE_RIGHT (1<<6)
#define NOISE_ENABLE_RIGHT (1<<7)
//Lower bits of FF25 are Right
#define P1_ENABLE_RIGHT (1<<0)
#define P2_ENABLE_RIGHT (1<<1)
#define WAV_ENABLE_RIGHT (1<<2)
#define NOISE_ENABLE_RIGHT (1<<3)
static uint8_t APU_IO_Reg[0x50];

2
main.c
View File

@ -26,7 +26,7 @@
#define DEBUG_KEY 0
#define DEBUG_LOAD_INFO 1
static const char *VERSION_STRING = "fixGB Alpha v0.5";
static const char *VERSION_STRING = "fixGB Alpha v0.5.1";
static void gbEmuDisplayFrame(void);
static void gbEmuMainLoop(void);