From 11464a7e037ac9cf0e3845536fdad92b3958b954 Mon Sep 17 00:00:00 2001 From: beirich Date: Sun, 9 Sep 2012 01:40:29 +0000 Subject: [PATCH] Move Gambatte files to Nintendo folder Clean up some missing file links in the csproj file --- BizHawk.Emulation/BizHawk.Emulation.csproj | 14 ++++++++++---- .../{Gambatte => Nintendo/Gameboy}/Gambatte.cs | 2 +- .../{Gambatte => Nintendo/Gameboy}/LibGambatte.cs | 0 3 files changed, 11 insertions(+), 5 deletions(-) rename BizHawk.Emulation/Consoles/{Gambatte => Nintendo/Gameboy}/Gambatte.cs (93%) rename BizHawk.Emulation/Consoles/{Gambatte => Nintendo/Gameboy}/LibGambatte.cs (100%) diff --git a/BizHawk.Emulation/BizHawk.Emulation.csproj b/BizHawk.Emulation/BizHawk.Emulation.csproj index 80b3177dfb..9faf7323a8 100644 --- a/BizHawk.Emulation/BizHawk.Emulation.csproj +++ b/BizHawk.Emulation/BizHawk.Emulation.csproj @@ -110,8 +110,6 @@ - - @@ -119,6 +117,8 @@ + + @@ -390,9 +390,10 @@ - + + - + @@ -420,6 +421,11 @@ + + + + + diff --git a/BizHawk.Emulation/Consoles/Gambatte/Gambatte.cs b/BizHawk.Emulation/Consoles/Nintendo/Gameboy/Gambatte.cs similarity index 93% rename from BizHawk.Emulation/Consoles/Gambatte/Gambatte.cs rename to BizHawk.Emulation/Consoles/Nintendo/Gameboy/Gambatte.cs index 50d57c70c4..8fba46ba58 100644 --- a/BizHawk.Emulation/Consoles/Gambatte/Gambatte.cs +++ b/BizHawk.Emulation/Consoles/Nintendo/Gameboy/Gambatte.cs @@ -227,7 +227,7 @@ namespace BizHawk.Emulation.Consoles.Gambatte void InitSound() { metaspu = new Sound.MetaspuSoundProvider(Sound.ESynchMethod.ESynchMethod_V); - resampler = new Sound.Utilities.SpeexResampler(2, 2097152, 44100, 2097152, 44100, metaspu.buffer.enqueue_samples); + resampler = new Sound.Utilities.SpeexResampler(5, 2097152, 44100, 2097152, 44100, metaspu.buffer.enqueue_samples); } public void GetSamples(short[] samples) diff --git a/BizHawk.Emulation/Consoles/Gambatte/LibGambatte.cs b/BizHawk.Emulation/Consoles/Nintendo/Gameboy/LibGambatte.cs similarity index 100% rename from BizHawk.Emulation/Consoles/Gambatte/LibGambatte.cs rename to BizHawk.Emulation/Consoles/Nintendo/Gameboy/LibGambatte.cs