Commit Graph

18 Commits

Author SHA1 Message Date
zeromus 10bceeb0dc Nope, I think it's a good idea now.
Revert "This reverts commit c878c85daeaaf0cae3e28f24bc1a8b511293d7b6."
This reverts commit 1d1f2a18c6.
2020-04-23 21:20:59 -04:00
zeromus 1d1f2a18c6 This reverts commit c878c85dae. 2020-04-23 21:06:12 -04:00
zeromus c878c85dae for your consideration: sync settings return flags instead of a bool, so we can have more granularity in what needs resetting than just "reboot core". for instance, we would like to minimize the number of times the window layout is redone by not doing it when the screen settings havent changed. HOWEVER, while I was writing this commit message, I realized, I should probably do it just by being more cautious in kicking off the layout (unless the data coming from the core has changed, a layout shouldnt happen). So I am going to make this commit, in case it inspires anyone, and then revert it. 2020-04-23 21:05:56 -04:00
adelikat 606c3bf1c2
use more advanced language features in Emulation.Cores (#1852)
* Use expression bodies in Emulation.Cores, and a few other misc cleanups

* remove unused usings in Emulation.Common

* cleanups in Tables_Direct.cs

* some cleanups in nes boards - redundant code

* remove some redundant array initializers in Emulation.Cores

* cleanup AmstradCPC.Controllers

* use object initializers in a lot of places

* nes mappers - remove disch's notes comments in favor of the nesdev wiki link

* cleanup CdtConverter.cs, mostly use of object initializers

* remove redundant .ToString() calls in Emulation.Cores

* using var in Emulation.Cores

* AmstradCPC/ZXSpectrum - simplify some linq, tabs instead of spaces, a few other misc cleanups

* Use null-propagation in Emulation.Cores
2020-02-17 16:54:51 -06:00
YoshiRulz 6f3f01125c
Enable SA1504 and fix noncompliance
"All accessors should be single-line or multi-line"
i.e. no block form on one line
2020-01-25 14:56:56 +10:00
MrWint a93916e24c Gambatte core: Add RTC divisor offset support. 2019-06-02 13:24:54 +02:00
MrWint 7d33d604ae cycle-based RTC 2019-05-28 22:56:39 +02:00
alyosha-tas b480476932 Gambatte: Make initial colors grey scale
Also make equal length frames false by default, fixes #1176
2018-05-26 11:54:01 -04:00
nattthebear bd23975201 Hackadoodle to change the initial value of the DIV register? This is probably a bad idea 2018-02-20 18:30:27 -05:00
alyosha-tas c18298c8a5 GameBoy: Disable BIOS in Gambatte. Use GBHawk for GameBoy, Gambatte for CGB. 2017-11-11 09:07:58 -05:00
nattthebear 468c52f5de Gambatte: Settings: Use an enum for ConsoleMode instead of stringly typed. Developers who have been using recent dev builds will need to change "Default" to 0 in config.inneys... 2017-07-09 16:27:32 -04:00
alyosha-tas 08b6dadd49 Gambatte: Add core picker option
Replaces ForceDMG so that you can play gameboy roms in color game boy as well
2017-07-06 17:53:14 -04:00
alyosha-tas b54a738c97 Add files via upload 2017-06-24 16:01:07 -04:00
alyosha-tas 627b666d3e Add files via upload 2017-06-24 13:05:00 -04:00
adelikat 2426cfa31a misc cleanup of related Gambatte files 2017-04-25 10:42:11 -05:00
zeromus 0cac65c184 use gambatte window option in emuhawk 2016-04-12 03:02:11 -05:00
zeromus 89a4381d9d add GB layer toggles 2016-02-08 02:18:24 -06:00
adelikat c3a4077ffb Break up Gambatte.cs into separate files 2015-01-16 18:37:42 +00:00