J.D. Purcell
36daa01ad6
Sound cleanup. In case you're curious, the "SilenceLeaveRoomForFrameCount" part ended up not mattering (and may have been slightly counterproductive) once SoundOutputProvider had the ability to be notified of underruns. It doesn't matter for BufferedAsync either.
2016-12-18 20:45:38 -05:00
J.D. Purcell
f2e9ca2ac9
Fix fast-forward when using audio throttle and XAudio2 or OpenAL.
2016-12-18 15:23:23 -05:00
J.D. Purcell
970a9017d4
Fix typo in previous commit.
2016-12-18 13:03:58 -05:00
alyosha-tas
6bc9a027b3
Intellivision Bug fix to STIC
2016-12-17 22:09:23 -05:00
alyosha-tas
d8c39235bf
Update gamedb_intv.txt
2016-12-17 18:32:36 -05:00
alyosha-tas
3789485d3b
Update intv game db
2016-12-17 18:24:12 -05:00
alyosha-tas
8ab8eb43b9
Update Cartridge.cs
2016-12-17 18:23:30 -05:00
alyosha-tas
5d0bc69085
Intellivision finish cartridge mapping
2016-12-17 14:00:03 -05:00
alyosha-tas
204647e065
intellivision add gamedb selection to cartridge
...
start process of mapper selection
2016-12-17 12:13:32 -05:00
alyosha-tas
8102674411
Update gamedb.txt
2016-12-17 12:11:44 -05:00
alyosha-tas
a2d366a20d
Start intellivision gamedb
2016-12-17 12:10:58 -05:00
adelikat
40be0dd0b3
Refactor the way a Null ControllerDefinition is created
2016-12-16 23:34:18 -06:00
adelikat
2b4267d2c9
nitpicky code refactorings on unimportant files, nothing to see here
2016-12-16 15:47:28 -06:00
J.D. Purcell
7843664f68
Improve FPS smoothing to initialize with a real value instead of ramping up from zero. Re-initialize the FPS data after pausing or changing fast forward/rewind state to eliminate ramp-up and ramp-down in those cases. Only the initial behavior has changed; the FPS calculation/smoothing is otherwise mathematically identical.
2016-12-16 16:01:21 -05:00
adelikat
eda79c2212
Make an interface for CodeDataLog, and move CodeDataLog to Base Implementations
2016-12-16 11:33:02 -06:00
adelikat
691632f188
More IAsyncSoundProvider and related classes to BizHawk.Emulation.Cores and make them internal, since they are implementation details, and they are deprecrated and not intended to be used in future cores.
2016-12-16 08:50:05 -06:00
J.D. Purcell
c971fba7df
Prevent divide by zero. Would sometimes result in fSkipFrames being PositiveInfinity, which gets propagated to fSkipFramesError, resulting in the "while (fSkipFramesError <= -1.0f..." loop freezing.
2016-12-15 22:10:38 -05:00
J.D. Purcell
cabf27f5d9
Move a few files related to sound output from BizHawk.Emulation.Common to BizHawk.Client.EmuHawk.
2016-12-15 19:25:09 -05:00
J.D. Purcell
b0141c516e
Multi-disk Bundler: Fix DPI scaling issues and improve control positioning.
2016-12-15 15:06:35 -05:00
adelikat
2059558771
Lua - fix emu.getdisplaytype() that has been broken for a long time, also fix it to properly use the IEmulatorService system instead of reflection shenanigans
2016-12-15 13:09:52 -06:00
adelikat
54eb678387
create an ICreateGameDBEntires specialized service and have Atari2600 implement it. Use this in the log window instead of sneaky reflection to access the method
2016-12-15 10:45:20 -06:00
J.D. Purcell
d95edc273e
Sound cleanup.
2016-12-14 23:26:01 -05:00
J.D. Purcell
a33a8252ff
A bit more sound cleanup.
2016-12-14 22:03:25 -05:00
J.D. Purcell
84480e4235
Fix sound bugs + cleanup.
2016-12-14 21:19:46 -05:00
J.D. Purcell
206ea9887b
Text savestate fixes.
2016-12-14 18:35:03 -05:00
J.D. Purcell
036358fbf9
Fix bug with async sound.
2016-12-14 18:27:04 -05:00
J.D. Purcell
afd55fdc6b
Revert "Default to Sync sound instead of Async"
...
This reverts commit 6702f7795c
.
2016-12-14 18:26:19 -05:00
adelikat
adb7af2134
a few nitpick cleanups
2016-12-14 14:30:43 -06:00
adelikat
8e4142e839
ControllerDefinition - fix CategoryLabels not being copied in the copy constructor
2016-12-14 14:24:37 -06:00
adelikat
1d8cec5ae5
Merge branch 'master' of https://github.com/TASVideos/BizHawk
2016-12-14 14:12:45 -06:00
adelikat
2d9213c379
IController - Remove the indexer property and refactor code accordingly, also simplify and cleanup many of the IController implementations
2016-12-14 14:12:16 -06:00
alyosha-tas
6702f7795c
Default to Sync sound instead of Async
...
It seems like 'CanProvideAsync' was always returning true so the else if at 1621 was defaulting to setting Async, which caused an exception later.
This seems similar to some TAStudio issues where different people are getting different results depending on Windows version, but I don't see any issue with not setting Async mode.
2016-12-14 15:07:04 -05:00
adelikat
e94de78ebd
Lua - fix movie.getinput() to return float values instead of passing "False" no matter what
2016-12-14 13:22:01 -06:00
adelikat
a955e6a3a2
Break up InputAdapters into separate files because it was getting unwieldy
2016-12-14 13:12:37 -06:00
adelikat
72a59087b5
Use the IController indexing property less in preparation for removing it from the interface. Replaced with its more explicity counter-part .IsPressed()
2016-12-14 12:42:15 -06:00
adelikat
aaed8e67d5
NullController - remove a bunch of methods that were originally part of IController but no longer are, and clean up the code a bit
2016-12-14 09:16:54 -06:00
adelikat
40418ad25d
More documentaiton for IEmulatorServices, related classes/interfaces, and base implementations
2016-12-14 09:11:07 -06:00
alyosha-tas
0c3da629c8
Fix for exception in marker window
2016-12-13 22:37:06 -05:00
alyosha-tas
f723abe478
Intellivision PSG bug fix and clean up
2016-12-13 19:56:45 -05:00
adelikat
389e1000da
Merge branch 'master' of https://github.com/TASVideos/BizHawk
2016-12-13 15:57:09 -06:00
adelikat
f83a54dff7
better documentation of IEMulatorSErvices
2016-12-13 15:56:20 -06:00
alyosha-tas
33843265f8
Update CP1610 to include Halts from SR2
2016-12-13 16:47:21 -05:00
alyosha-tas
eabd8dbf07
Intellivision simulate CPU halts
...
NOTE: This is accurate only to a good approximation. The STIC steals too many cycles to ignore (~1000) but the timing is only estimated, see:
http://spatula-city.org/~im14u2c/intv/tech/master.html
2016-12-13 16:45:30 -05:00
alyosha-tas
16c1468903
Intellivision fix colored square mode
2016-12-13 16:42:12 -05:00
adelikat
8c57dd98f3
NESHawk - add IsFDS flag and use it in NesSchema instead of a check for BoardName == "FDS"
2016-12-13 15:24:53 -06:00
alyosha-tas
c6d8666f23
Intellivion copy paste enough stuff to get the sound working
...
Sound now fully implemented including in savestates
2016-12-13 12:26:56 -05:00
alyosha-tas
ed091083d2
Intellivision PSG clean up and bug fix
...
Things sound correct now.
2016-12-13 10:22:15 -05:00
alyosha-tas
d8a2f51099
Implement Sound Envelope
...
Just needs to be re-wired up
2016-12-12 17:53:05 -05:00
adelikat
dd48864058
AsVideoProviderOrDefault() extension method
2016-12-12 13:47:11 -06:00
adelikat
5caae72682
NullVideo - make Instance static
2016-12-12 13:43:56 -06:00