Commit Graph

11328 Commits

Author SHA1 Message Date
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
adelikat f90db5beff IEmulator - more documentation 2016-12-12 13:14:01 -06:00
adelikat 5ff33e7569 Rename IController.Type to IController.Definition to more clearly describe the property 2016-12-12 12:30:32 -06:00
adelikat bd7bd831c7 PCEngine - lock down some variables to private or internal, explicitly mark some private variables 2016-12-12 10:31:38 -06:00
adelikat 618f5de54f PC Engine - break off services into their separate files 2016-12-12 10:23:07 -06:00
adelikat d78671a7e4 Emulation.Common - Separate some attributes to their own file, and better document some attributes and interfaces 2016-12-12 09:00:58 -06:00
nattthebear dbdac5e3f2 Fix stuff or not 2016-12-11 22:37:28 -05:00
nattthebear 010fb01bf8 Don't leak memory in the speex resampler wrapper if something goes bad 2016-12-11 20:02:16 -05:00
nattthebear 871c16028a Don't leak memory in the blip buff wrapper if something goes bad 2016-12-11 19:57:34 -05:00
zeromus 3cedc7479f change that new nes 2.0 uxrom handling to be more strict 2016-12-11 17:41:34 -06:00
nattthebear a98316ba97 Soudn refactoring: Unbreak clock & vsync thrtottle 2016-12-11 18:35:42 -05:00
zeromus 6ad442544b support mapper 002-00 submapper with WRAM if the header specifies it 2016-12-11 15:38:22 -06:00
nattthebear ca60a33293 mess some stuff up 2016-12-11 15:01:42 -05:00
nattthebear 47fa5bcb7c Minor cleanup 2016-12-11 14:16:25 -05:00
nattthebear eb72ff9053 Swag up NullSound 2016-12-11 14:07:12 -05:00
adelikat b465eaa470 Remove two sound refactor todo comments 2016-12-11 12:27:11 -06:00
nattthebear afc19affac minor beautification of DCFilter.cs 2016-12-11 13:20:04 -05:00
adelikat 3be1502b6b Clean lup 2016-12-11 11:40:45 -06:00
adelikat da5795255c Wire up Colecovision sound 2016-12-11 11:33:33 -06:00
adelikat b73a500d6b Major sound provider refactor. Create a unified interface ISoundProvider, that is an IEmulator service and break it off of IEmulator. IAsyncSoundProvider was kept as a shim for now, for legacy cores that were inherintly async. 2016-12-11 11:15:00 -06:00
alyosha-tas 5ac6746fb9 Intellivision fix MOB colors 2016-12-10 19:59:59 -05:00
alyosha-tas fc8ac3b190 Intellivision fix controller ports
They are apparently reversed. This fixes numerous games.
2016-12-10 18:56:35 -05:00
alyosha-tas 3f3828455c Intellivision more audio work
Still a ways to go
2016-12-10 13:48:02 -05:00
alyosha-tas 91f36bf638 Intellivision Partial audio
Still has some bugs and is missing envelope but its getting there
2016-12-09 23:00:40 -05:00
nattthebear df4b38990f GBAGPUView: Don't draw a sprite if its size + tile index combined make it go past the end of vram 2016-12-09 22:09:58 -05:00
adelikat a898599e69 NullEmulator - document non-applicable services 2016-12-09 10:28:27 -06:00
adelikat b697110098 Rename ISoundProvider to IAsyncSoundProvider to more accurately describe what the service does 2016-12-09 10:24:43 -06:00
adelikat 5b31b33713 Remove a now unused MaxVolume property from some sound provider classes 2016-12-08 20:06:25 -06:00
adelikat 5e800b7bba cleanup some unsightly comments in ISyncSoundProvider 2016-12-08 19:54:38 -06:00
adelikat 657de56123 Remove MaxVolume from ISoundProvider, provide an IMixedSoundProvider interface for classes that want to use SoundMIxer as part of their sound provider implementation 2016-12-08 19:51:17 -06:00
adelikat 538630f957 Intellivision - document a non-applicable emualtor service 2016-12-08 13:06:20 -06:00