Fix LCD corruption

Fixed an issue whereby minigb_apu was being compiled even though sound
support was disabled. This was somehow causing the LCD to become
corrupted.

Additionally added sleep routines during DMA transfer to LCD.

Additionally made sound support an option within cmake.

Signed-off-by: Mahyar Koshkouei <mk@deltabeard.com>
This commit is contained in:
Mahyar Koshkouei
2022-05-21 12:42:25 +01:00
parent 71761c5dd4
commit 33e86e5a51
3 changed files with 41 additions and 13 deletions
-1
View File
@@ -32,7 +32,6 @@
#pragma once
#include "hedley.h"
#include "minigb_apu.h"
#include <stdint.h> /* Required for int types */
#include <string.h> /* Required for memset */