1
0
mirror of https://github.com/livingcomputermuseum/ContrAlto.git synced 2026-04-29 05:06:17 +00:00

Added support for Unix/OS X using Mono. This uses SDL2 for display, keyboard, and mouse.

This commit is contained in:
Josh Dersch
2017-06-07 11:18:32 -07:00
parent 4bc85daa36
commit 6cadb08b0e
27 changed files with 3123 additions and 33887 deletions

View File

@@ -82,8 +82,12 @@ namespace Contralto.IO
/// <param name="data"></param>
public void Load(int address, ushort data, TaskType task, bool extendedMemory)
{
if (Configuration.EnableAudioDAC)
{
//
// This is only supported on Windows platforms at this time.
//
if (Configuration.EnableAudioDAC &&
Configuration.Platform == PlatformType.Windows)
{
// Ensure we have a sink for audio output capture if so configured.
if (Configuration.EnableAudioDACCapture && _waveFile == null)
{