Commit Graph

11140 Commits

Author SHA1 Message Date
adelikat ed5b4120a5 Quicknes - blacklist a whole bunch of roms that don't run for various reasons, so that they fallback to NesHawk 2016-10-13 17:52:29 -05:00
adelikat bd60cf9929 Quicknes - fallback to neshawk when the ines header fails basic sanity checks, neshawk tends to handle this situation more gracefully, but more importantly this error happens before quicknes can determine if it supports the necessary board 2016-10-11 17:54:21 -05:00
alyosha-tas 49eb6e61a4 Revert previous per console test 2016-10-11 09:11:41 -04:00
alyosha-tas 2f94766f0e Revert previous per console test 2016-10-11 09:10:27 -04:00
hegyak f1ddafa6de Add a check for clearing the Gameshark Tool's text boxes. And actually clear both. 2016-10-10 11:13:01 -07:00
feos 9714aa5cc9 tastudio:
- preserve branch text per update (unless default text has changed)
- remove redundant code from paste functions, rely on global clipboard fully with cut/copy too
2016-10-10 19:00:59 +03:00
feos 93f78a69d2 tastudio: show cursor hotkey 2016-10-09 17:14:39 +03:00
feos 0a554a984f tastudio: fix infinite pasting loop 2016-10-09 16:21:01 +03:00
feos f52d8a526b tastudio: global clipboard has preference over internal 2016-10-09 15:51:47 +03:00
nattthebear a76226fcc2 update mgba, saveram still broken 2016-10-08 11:58:52 -04:00
alyosha-tas 609b01408b Update APU.cs 2016-10-07 13:59:00 -04:00
alyosha-tas 0a7002711f Update NES.Core.cs 2016-10-07 13:57:53 -04:00
adelikat e281950902 Close a lua instance before creating a new one, fixes #455 2016-10-06 15:17:05 -05:00
adelikat ef6c9131c6 Fix behavior when loading a new rom when a cheat is loaded, fixes #550 2016-10-06 13:57:39 -05:00
adelikat db194c8360 Basic Bot - Fix logic for determining the best attempt, no longer thinks every new attempt is better, I think this fixes #603 2016-10-06 12:03:32 -05:00
adelikat 4c140f676e Basic Bot - change dropdown style to DropdownList to avoid empty and invalid choices. Fixes #602 2016-10-06 11:34:34 -05:00
adelikat 2d9fde1bed Basic Bot - update Run button status when loading a bot file 2016-10-06 10:59:57 -05:00
adelikat 15c1fafa48 Hex Editor - when switching to a domain where highlighted addresses are out of range, clear the highlighted addresses, fixes #710 2016-10-06 09:35:50 -05:00
alyosha-tas 4c919c95c0 Match first VBlank timing to FCEUX
Irrelevent to sync since games wait for VBlank anyway, but extremely convenient for testing.
2016-10-05 22:26:47 -04:00
adelikat 3a36835af2 Ram Search - with the Diff column displayed, don't throw exceptions, Fixes #637. The Diff column still has issues with 4 byte watches though, but this fixes unending exceptions at least 2016-10-05 20:58:26 -05:00
adelikat ab0b78f143 Hex Editor - fix exception when pasting beyond the range of the domain, fixes #708 2016-10-05 19:59:46 -05:00
adelikat 3daad8d916 Hex Editor - fix a minor bug with displaying the selected address, fixes #709 2016-10-05 19:31:30 -05:00
alyosha-tas 7727a701b1 mapper 83 progress, still needs work 2016-10-03 18:14:50 -04:00
alyosha-tas 70016ba8ee Mapper 187 check
I think sonic and fight zero 97 need a different mapper
2016-10-03 18:11:18 -04:00
alyosha-tas 9b3bd8e94e Put Ying Xiong Chuan Qi to mapper 224
As far as I can tell, Mapper 74 and 224 are close to identical, they share the same base mapper (Waixing type I in Nestopia)

But for future reference let's distinguish mapper 224 here.
2016-10-02 20:28:28 -04:00
alyosha-tas 3adb129e2c Update gamedb.txt 2016-10-02 20:26:22 -04:00
alyosha-tas ea080c2c39 pocahontas mapper 2016-10-02 11:56:49 -04:00
alyosha-tas 0573c00ae3 Add pocahontas mapper 2016-10-02 11:56:04 -04:00
alyosha-tas 5387c89372 Add Pocahontas 2 to gamedb 2016-10-02 11:54:17 -04:00
alyosha-tas 20bc25acd2 Fix UNIF FK23C
Works except for Dipswitches
2016-10-01 16:49:51 -04:00
feos 5ed5613826 tastudio: paste from OS clipboard if _tasClipboard is empty 2016-10-01 20:12:50 +03:00
feos fc66ec1b02 Lua docs: fix #703 2016-09-29 18:09:58 +03:00
Meerkov 6a9510c9ae Re-enable Thread Sleep when not in Absolute Zero mode 2016-09-29 01:19:25 -07:00
Meerkov 129fdf2a68 Revert "Allow Fast Forward Volume to be Louder than Normal Volume"
This reverts commit 4bd6608940.
2016-09-29 01:10:23 -07:00
Meerkov 9eafac83d4 Improve Absolute Zero Mode by 15-30%
Short-circuits out of the Render function in the main program loop.

With an NES game running at 8500 FPS before, this brings it to 9700 FPS.

With no game loaded, running at 45k FPS, this brings it to 60k FPS.
2016-09-29 00:57:32 -07:00
Meerkov 151c88feb8 Removes busy-wait
This sleep doesn't appear to be needed. It's just busy waiting.

We save CPU cycles by not doing this.
2016-09-29 00:18:55 -07:00
Meerkov 1b8d32e82f Refactor the FPS Counter to it's own function
1) Takes the block of code that calculates the string to print and gives
it it's own function.

2) Stores a static display variable. Fixes incorrect FPS while fast
forwarding as a result.

3) Reduces updates per second to 12 from 16.
2016-09-29 00:04:39 -07:00
Meerkov 68a362c8ff Fix subtle bug in renderSound
Bug as follows:

renderSound was true when any of the following:
_currAviWriter!=null&&_currAviWriter.UsesAudio
!IsTurboing || _currAviWriter!=null

So, if _currAviWriter!=null, it didn't matter if it has the UsesAudio
flag on or not.
2016-09-28 23:14:18 -07:00
Meerkov 4bd6608940 Allow Fast Forward Volume to be Louder than Normal Volume
Allows FF Volume to override the normal volume, instead of multiplying
it (which could only decrease the volume).
2016-09-28 22:40:14 -07:00
Meerkov 4aa64b1f34 Refactor atten variable checks
Cleans up volume checks, makes it a bit easier to follow by removing
negations.
2016-09-28 22:37:26 -07:00
zeromus 9c3f5ba2bd Merge pull request #705 from Meerkov/master
Create Smoother FPS Counter
2016-09-29 00:12:46 -05:00
Meerkov d3547b15d4 Fix bug with Mute Frame Advance
It will actually mute when you hold the Frame Advance button.

Previously, the setting did nothing.
2016-09-28 22:02:38 -07:00
Meerkov 49d7f79ce5 Reduce redundant attenuation code in main loop
This simplifies the code for setting the attenuation by setting it to 0,
and moving all the checks that change it next to each other.
2016-09-28 21:48:35 -07:00
Meerkov cd46188efe Remove Unused Variable
UpdateFrame can never be true, so all of this code is pointless.
2016-09-28 21:24:09 -07:00
Meerkov 4e99ed17ae Replace spaces with tabs 2016-09-28 21:16:24 -07:00
Meerkov 91c5eda526 Update FPS Counter
Changes the FPS counter to fade.

Why: FPS counter has a bug where it doesn't normalize the frame count to
the time passed since last update. This can result in an error of 1 FPS.
When running at 30 FPS, that is ~3.33%. The lower the FPS, the worse
this error grows.

1) Adds a parameter for how often to update the FPS (e.g. 16 times per
second).

2) Normalizes to the number of seconds passed since last update (fixing
the bug).

3) Adds a smoothing parameter (e.g. weigh the most recent interval at
8x, and normalize with current displayed date). This results in less
jumpy FPS because it takes into account historical data.
2016-09-28 21:04:53 -07:00
alyosha-tas 7763f79e6f add gameDB entry for 223 mapper 2016-09-28 21:59:14 -04:00
alyosha-tas 65b3ce30a5 fix mapper 223 2016-09-28 20:42:24 -04:00
alyosha-tas d612719a79 Fix Mapper 217
and clean up 215
2016-09-28 18:17:12 -04:00
alyosha-tas 25b9878c9b Fix mapper 215
This one was tricky. 

Really, I don't see how this could be implemented in hardware as coded, but it works without errors so I'll leave it at that.
2016-09-28 12:55:43 -04:00