Commit Graph

11254 Commits

Author SHA1 Message Date
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
alyosha-tas 0b9e7532e3 Update MMC3.cs
make some things public needed for mapper 215
2016-09-28 12:53:44 -04:00
alyosha-tas 81d6247522 Add in MK3 Extra 60 2016-09-28 12:52:36 -04:00
hegyak b3d91049de Change PrereqsAlert.Designer.cs to point to GitHub instead of SF 2016-09-27 18:06:54 -07:00
pjgat09 9316188717 N64 cxd4: Updating the submodule reference 2016-09-27 16:01:19 -04:00
pjgat09 78942a8422 N64: Added cxd4 to the RSP options 2016-09-27 15:10:38 -04:00
pjgat09 6e0349890f N64: Adding the release cxd4 dll 2016-09-27 15:03:33 -04:00
pjgat09 9d45c24932 N64: Adding a submodule for the cxd4 LLE RSP plugin 2016-09-27 14:38:05 -04:00
adelikat 7a31121f20 NESHawk - Provide a UI for initial ram pattern override 2016-09-27 09:52:21 -04:00
Isotarge 3e88b91b65 Take Affect -> Take Effect
Thanks to puwexil for pointing this out
2016-09-27 16:07:34 +09:30
pjgat09 32be471382 GLideN64: Changed UseNativeResolutionFactor to an int setting 2016-09-26 11:13:07 -04:00
Kyle Howell 3d88f77ec6 Fixed TAStudio crash when deselecting "Show Player X". The horizontal scrollbar was not updated which caused an exception when scrolling to the right. 2016-09-25 16:55:34 -06:00
Kyle Howell 4834e31bb8 Fixed bug with InputRoll selected rows drawing hidden columns. 2016-09-25 14:04:57 -06:00
Kyle Howell d66181a597 Fixed bug with right click inputRoll selction. 2016-09-25 12:47:37 -06:00
alyosha-tas a9cded19bb Fix bug in NES BG evaluation
Fixes a long standikng bug in micro machines
2016-09-25 11:52:12 -04:00
alyosha-tas 2bdd0c44cb Fix Mapper 121 2016-09-24 21:02:55 -04:00
alyosha-tas 1d479559c7 Fix Mapper 219
Note: I don't know how or if this game works. It behaves the same as on any other emulator though.
2016-09-24 12:54:21 -04:00
alyosha-tas c2f545faf5 Add in 3D Blocks 2016-09-24 12:52:00 -04:00
alyosha-tas 0ee9907d84 Fix Mapper 199 2016-09-24 10:43:06 -04:00
alyosha-tas 5533207161 Fix mapper 199 entries 2016-09-24 10:42:19 -04:00
adelikat 3157457fa6 fix compile error 2016-09-24 10:35:33 -04:00
alyosha-tas 04f49d34a9 Fix other Mapper 195 Regs 2016-09-23 19:15:34 -04:00
alyosha-tas 90f52e6919 Correctly Set God Slayer 2016-09-23 19:14:26 -04:00
alyosha-tas 8d6198d337 Fix Super 24 Board 2016-09-23 17:49:46 -04:00
alyosha-tas 4fbbd15be0 Add Super 24 entry 2016-09-23 17:48:50 -04:00
alyosha-tas d6de51125c Fix Mapper 195
Note: God Slayer moved to mapper 74 (per Nestopia)
2016-09-23 13:51:47 -04:00
alyosha-tas 8821d1ca3c Updates for mapper 195 2016-09-23 13:50:24 -04:00
alyosha-tas 06c3545c9b Fix Mapper 123 2016-09-23 13:04:40 -04:00
alyosha-tas bb75653cd7 Update UNIF_UNL-SHERO.cs 2016-09-23 11:47:54 -04:00
alyosha-tas 4b51420231 Fix SHERO board 2016-09-23 11:46:28 -04:00
alyosha-tas 9a06c726a6 Add Street Heroes entry 2016-09-23 11:45:24 -04:00
Isotarge 315e5d64b1 DK64: Fix bone displacement issues
A temporary solution until N64 emulation accuracy improves, based on my
research at
https://docs.google.com/document/d/15XNghhrc-thXJpbKzWWuHXl-NXdzcaDLEf7poFVruh8
2016-09-23 15:02:29 +09:30
alyosha-tas a7bfe1e63f Fix Jump 2 2016-09-22 23:29:26 -04:00
alyosha-tas 3d157851a3 Add SD Gundam Gaiden
Picks proper mapper (159)
2016-09-22 22:02:43 -04:00
alyosha-tas 5335217245 Progress on mapper 19
CHR needs debugging
2016-09-22 17:59:52 -04:00
alyosha-tas 1f484854a9 Some progress on mapper 83
loads the 128 k PRG games, with some CHR bugs
2016-09-22 17:57:22 -04:00
alyosha-tas 7d644b4a10 Reset to old state
Forgot i changed this when debugging.
2016-09-22 17:54:46 -04:00