Commit Graph

179 Commits

Author SHA1 Message Date
adelikat 635c1cdd05 Merge branch 'domainedmemoryhooks' of https://github.com/TASVideos/BizHawk into domainedmemoryhooks 2017-10-29 12:40:52 -05:00
adelikat ebcd237858 Merge branch 'master' into domainedmemoryhooks 2017-10-29 12:38:29 -05:00
zeromus 43b04a4ee0 fix "BSNES in SGB mode creates two entries for the WRAM domain" #1012 2017-10-03 15:35:16 -05:00
zeromus b868c07a10 blind commit: add SMP hooks to bsnes to test hook scoping system (need to build a waterbox to proceed) 2017-08-23 10:08:43 -04:00
adelikat cd289c474e memorycallbacks with domains - Phase 2 - change api to Call methods and refactor accordingly, everything should behave as it was before the refactor at this point. No cores have yet to be implemented with domains other than the default bus they already had 2017-08-03 18:08:07 -05:00
adelikat 04ce66c397 phase 1 of changing memory callback api to specify domain - require cores to specify which domains are available and have the domain passed in when creating callbacks. Still todo - cores need to pass in domain name on CallReads/Writes/Executes methods 2017-08-01 22:05:17 -05:00
nattthebear d5c07447d2 BSnes: Ignore the "crop SGB frame" setting if SGB is not active. 2017-07-14 18:55:21 -04:00
adelikat c6e0e9fa57 Rename CoreAttributes to CoreAttribute as to not be a bad person 2017-07-12 14:10:55 -05:00
nattthebear bc9726f687 Waterbox: Connect basic stdio. You get an empty stdin, real stdout and stderr, and can present readonly files to the core. 2017-07-01 21:02:52 -04:00
adelikat 9c60243f4e remove unused deterministic flag from LibsnesCore contructor 2017-06-29 19:56:17 -05:00
adelikat f5883d8332 oops, fix merge 2017-06-19 12:43:23 -05:00
adelikat 4982af7521 Merge branch 'master' into waterbox2
# Conflicts:
#	BizHawk.Emulation.Cores/Consoles/Nintendo/SNES/LibsnesCore.ISaveRam.cs
2017-06-19 10:04:46 -05:00
nattthebear 1292b27163 Add some draft work for supporting sysv <-> msabi interop. I wonder if we'll ever use this? I'd put it on a separate branch but it would be merge hell. 2017-06-18 08:51:09 -04:00
alyosha-tas 5b731cf8b8 SNES saveram: check for existance
checks if SGB saveram exists before attempting to assign it to the buffer pointer.

Also return null if no saveram is found, which conforms to what other cores are doing and what EMUHawk expects
2017-06-16 08:50:28 -04:00
nattthebear 1314912cf8 libsnes: Hack about a bit to make the graphics debugger function again. It probably crashes somewhere... 2017-06-13 17:55:07 -04:00
adelikat 97d7dd7f42 merging master into waterbox2 this one was messy may be regressions 2017-06-13 08:16:25 -05:00
adelikat 8c40d2908c bnes - remove the force determinism setting (hack) since it is no longer relevant 2017-06-12 21:03:11 -05:00
adelikat 9eb2fcc34c bsnes - remove profile sync setting and related code 2017-06-12 20:56:34 -05:00
zeromus 6db010e384 add 'crop SGB frame' option; fixes #871 2017-06-11 18:20:55 -05:00
nattthebear edbe83bc13 libsnes: savestate uncompressed size 14MB=>10MB (for a game with nothing special) 2017-06-11 15:30:54 -04:00
nattthebear 8cf1e43e70 libsnes: move tile cache out of savestates. saves like 400kB. meh. 2017-06-11 11:28:29 -04:00
nattthebear a6e4b87f36 comments 2017-06-11 07:50:41 -04:00
nattthebear fa9dcfae35 waterbox: When compiled in debug mode, forcibly evict self at every opportunity. This can be used to catch bugs using pointers past their valid time. Catch and fix two such bugs in the libsnes wrapper. 2017-06-11 07:47:16 -04:00
nattthebear 91e239e11f use the ancient zen art of copy paste to give libsnes the same aspect ratio fix that snes9x has. 2017-06-11 07:15:51 -04:00
nattthebear 67ff767f95 libsnes: recreate the emu cothread at the end of init, to avoid pointer poison that was breaking xor state consistency. Big todo: all init functionality really needs to happen from the main thread, as there are many syscalls that reenter managed in that code, and reentering managed from a cothread stack is a Bad Thing 2017-06-10 19:51:59 -04:00
nattthebear ba7543c19a snes waterbox: fix a leaky pointer which was breaking xorstate integrity 2017-06-10 17:19:18 -04:00
nattthebear baf7a7973b snes: do some more savestate prep, including removing the unused cheat system, which cost sixteen megidobites of ram 2017-06-10 15:53:38 -04:00
nattthebear fcbb85a579 snes: move some stuff to sealed_heap 2017-06-10 15:20:06 -04:00
nattthebear 9ffa44d0a6 snes: waterbox is now working 2017-06-10 14:16:25 -04:00
nattthebear 36be9e9fc7 snes: waterboxification phase 2 2017-06-10 14:16:25 -04:00
nattthebear 9975a05695 snes: waterboxification phase 1 2017-06-10 14:16:24 -04:00
adelikat 0c9925a369 bsnes - default to compatibility profile 2017-06-04 13:29:47 -05:00
adelikat 5f1b8cdc09 SNES - fix frame 0 loadstating 2017-05-27 10:21:14 -05:00
adelikat 12a4ec1ac7 SNES - only register the trace logger on compatibility profile 2017-05-27 09:54:53 -05:00
zeromus 5b44f0960f snes: support trace logging GB and SMP cores (C# side and dlls) 2017-05-14 13:51:02 -05:00
nattthebear ebe789eed2 heh 2017-05-10 07:45:23 -04:00
zeromus c641e163f9 SGB CDL c# side; and fix SGB loading (broken by pwrap refactors) 2017-05-06 16:23:26 -05:00
adelikat 1dae91e6a8 clean up core constructors - consistent parameter casing, and put them at the top of the class 2017-05-05 19:05:36 -05:00
adelikat 59139ab266 Spell out Numerator and Denominator 2017-05-05 11:25:38 -05:00
adelikat 62a13d961d Move VsyncNum and VsyncDen out of CoreComm and into IVideoProvider 2017-05-05 11:21:37 -05:00
J.D. Purcell 8b2b12585a Mostly whitespace cleanup to reduce difference with mono-portable branch. 2017-05-02 23:09:50 -04:00
nattthebear e3fab1a4d5 cleaner 2017-05-02 18:15:33 -04:00
adelikat 698c6741ae Refactor IEmulator and remove the IController property, instead pass it as a paramter to the FrameAdvance() method 2017-05-01 20:09:11 -05:00
adelikat ded1c2d7b7 Break off BoardName from IEmulator into a separate IBoardInfo service 2017-04-30 21:01:54 -05:00
adelikat 3192cc70ae slight refactor to IEmulator - make the IController property set only to more clearly express the client -> core relationship 2017-04-26 19:09:00 -05:00
adelikat 2de20e956b use Dictionary initializers instead of object initializers for various GetCpuFlagsAndRegisters() methods 2017-04-25 08:28:06 -05:00
nattthebear 5bebd0685a snes: add a toggle multitap button 2017-04-22 17:08:33 -04:00
adelikat d14b2abd17 Revert "now no one gets to have any fun"
This reverts commit e199dfda0d.
2017-04-22 15:14:20 -05:00
nattthebear e199dfda0d now no one gets to have any fun 2017-04-22 16:04:39 -04:00
nattthebear 12b4be4fbc justifier 2017-04-22 10:41:45 -04:00