Commit Graph

4629 Commits

Author SHA1 Message Date
Stephen Anthony e691853f0e First pass at fixing superfluous re-draws in the UI.
- This addresses issue 158, and reduces CPU usage to near 0% when no changes are happening
- This returns the code to the same performance levels as version 3.x.
2018-07-25 08:48:21 -02:30
Stephen Anthony a20bb6e95d Fix compile error when sound support is disabled. 2018-07-20 09:04:21 -02:30
Stephen Anthony 949964bdf6 Oops, forgot something in the last commit; do not include header files twice. 2018-07-13 12:35:40 -02:30
Stephen Anthony c2bfeb5799 Fix compile failure when debugger support is disabled. 2018-07-13 12:31:37 -02:30
Christian Speckner f3f966d12c Ignore break conditions while stepping frames. 2018-07-13 00:16:53 +02:00
Christian Speckner c72febe188 Fix audio dialog, remove dead code.
* Propery apply presets
    * Fix weird states when enabling / disabling audio
2018-07-11 22:50:04 +02:00
thrust26 21092b61be removed non-linear volume calculation 2018-07-11 22:37:21 +02:00
thrust26 02085c1482 minor polishing of the Audio dialog 2018-07-11 21:22:52 +02:00
thrust26 22bd9ee262 minor refinements of speed slider 2018-07-11 21:03:57 +02:00
Christian Speckner 03e2c275b7 Change speed units to %. 2018-07-11 20:49:37 +02:00
thrust26 4f48efc350 commented duplicate TIA zoom slider 2018-07-11 19:00:39 +02:00
Stephen Anthony 1a97c5bc93 Minor updates to Xcode project.
Changed uInt32 to uInt64 in several places, standardizing on uInt64 for cycle-related variables.
2018-07-01 23:23:11 -02:30
Stephen Anthony 4329eb5c37 Add missing file in VS project, and fix minor compile warnings. 2018-07-01 21:43:22 -02:30
Stephen Anthony cb6c04815e Remove HAVE_GETTIMEOFDAY defines for all ports.
- gettimeofday() is no longer used, so we don't need the define anymore
2018-07-01 21:21:01 -02:30
Stephen Anthony d8b4228ead Fixes for minor compile warnings in clang 6 and gcc 8.
Sorry that this is all I've been able to contribute for the past few weeks :(
2018-07-01 21:15:15 -02:30
Christian Speckner 258fc9c106 Add missing files, fix XCode build. 2018-07-02 01:06:46 +02:00
Christian Speckner f728a32731 More timing improvements. 2018-07-02 00:58:32 +02:00
Christian Speckner 621e0d9d79 Compile fix, more accurate timing. 2018-07-02 00:23:07 +02:00
Christian Speckner c270a45409 Merge branch 'feature/precise-audio' 2018-07-01 23:48:26 +02:00
Christian Speckner 1c93fce6fc Speed UI. 2018-07-01 12:54:51 +02:00
Christian Speckner 2b23c81126 Support variable emulation speed. 2018-06-27 23:12:50 +02:00
Christian Speckner 674e5f01c0 Massage preset values. 2018-06-25 00:42:40 +02:00
Christian Speckner 5656051aae Tie in UI. 2018-06-25 00:30:52 +02:00
Christian Speckner 47bbdb679e Remove unnecessary code, don't spam if audio is disabled. 2018-06-24 22:48:28 +02:00
Christian Speckner 176507cb46 Fix memory corruption on console reset. 2018-06-23 01:18:35 +02:00
Christian Speckner ef5261689a Major audio settings overhaul. 2018-06-23 00:58:28 +02:00
thrust26 d387369e92 Revert "make editable text display from the beginning by default"
This reverts commit c2f9c070b7.

Causes corrupted frame counter in debugger (when counter > 256)
2018-06-21 22:55:01 +02:00
Christian Speckner d127865dee Remove a leftover from refactoring. 2018-06-19 21:37:18 +02:00
thrust26 b78beab329 updated change log 2018-06-17 23:32:26 +02:00
Stephen Anthony 963905759e Controller/Genesis/Booster cleanup.
- Made BoosterGrip set defaults for analog pins, just like Genesis
- Removed superfluous call to update an unchangeable pin in Genesis
- Renamed Controller resistance constants to indicate that they are actually constants
2018-06-12 19:07:31 -02:30
thrust26 60519dbc6a minor fix for Booster.cxx
code cleanup in Genesis.cxx
2018-06-12 20:38:48 +02:00
thrust26 a9cd833975 fixes #317 2018-06-12 20:11:29 +02:00
thrust26 337375a2b2 Merge branch 'master' of https://github.com/stella-emu/stella 2018-06-10 15:10:17 +02:00
thrust26 93e42bc15f redefined Stella's PAL color palette 2018-06-10 15:10:04 +02:00
Christian Speckner 0f25515099 Update TODO. 2018-06-09 23:18:13 +02:00
Christian Speckner 0fbd875783 Documentation. 2018-06-09 23:16:59 +02:00
Christian Speckner 8781889a7f Documentation, cleaup, fix race in frame stats. 2018-06-09 00:31:20 +02:00
Stephen Anthony 6cb9efac28 Updated OSX project file for EmulationWorker class.
Fixed minor compile warning, and made a method const.
2018-06-07 19:56:36 -02:30
Stephen Anthony b955113f83 Updated VS project file for EmulationWorker class. 2018-06-07 19:44:13 -02:30
Christian Speckner 8edc597189 Hook and fix up EmulationWorker -> threading works, pick'n'pile is happy. 2018-06-07 23:38:14 +02:00
Christian Speckner ea94f5e795 Scheduling fixes. 2018-06-07 21:02:08 +02:00
Christian Speckner d8732c9378 Uups, fix evident error. 2018-06-07 20:59:15 +02:00
Christian Speckner 773a0cf906 Cleanup. 2018-06-07 20:55:33 +02:00
Christian Speckner afb1e1d1e1 Emulation worker. Currently untested and disconnected. 2018-06-07 20:54:30 +02:00
Stephen Anthony e0cf1d1dd5 Fix crash in OpenBSD framebuffer/texture cleanup.
- It seems that textures must be destroyed *before* the renderer is destroyed
- This isn't mentioned anywhere in the SDL docs, and it works everywhere else, but in any event it is now fixed
2018-06-07 12:46:26 -02:30
Stephen Anthony 819850f971 Fixed configure/Makefile to work without patches in OpenBSD. 2018-06-06 18:23:27 -02:30
Stephen Anthony cf34707e27 Use smart pointer to store static scanline data in FBSurface.
- in working on the OpenBSD crashing issue, I noticed that we can use a unique_ptr here
2018-06-06 17:57:15 -02:30
thrust26 17c60192dd made Display property changes in GameInfoDialog immediate 2018-06-03 12:03:28 +02:00
thrust26 a3955553b8 added missing auto detection for manual selected display format "Auto-detect" (50Hz ROM after 60Hz formats) 2018-06-03 11:39:42 +02:00
thrust26 f37651a46d fixed missing ConsoleInfo.DisplayFormat update 2018-06-02 17:18:10 +02:00