Commit Graph

7458 Commits

Author SHA1 Message Date
Stephen Kitt db185d326c Upgrade GHAs to drop save-state and set-output (#939)
This bumps actions/checkout to v3.1.0 and microsoft/setup-msbuild to
v1.1.3, which switch to environment files. See
https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
for context and
https://github.com/actions/checkout/releases/tag/v3.1.0 and
https://github.com/microsoft/setup-msbuild/releases/tag/v1.1.3 for
details of the changes.

Signed-off-by: Stephen Kitt <steve@sk2.org>

Signed-off-by: Stephen Kitt <steve@sk2.org>
2022-10-13 11:26:37 +02:00
Stephen Anthony 65e4959a75 More cleanups to FSNodeWINDOWS. 2022-10-12 18:45:24 -02:30
Thomas Jentzsch 7914f4a1b3 fixed build test 2022-10-12 22:21:10 +02:00
Thomas Jentzsch ecfc678a18 failed build test 2022-10-12 22:03:48 +02:00
Stephen Anthony 38dc5173ec More cleanups to FSNodePOSIX. 2022-10-12 12:58:00 -02:30
Stephen Anthony 93df53e751 Add missing directory separator that sometimes is missing in SQL database file. 2022-10-11 18:45:46 -02:30
Stephen Anthony 4ef65aa88b Remove Readme.txt, replace with README.md (which contains the former). 2022-10-10 23:33:51 -02:30
Stephen Anthony d6f1973688 Remove appveyor script; we can always re-enable if required. 2022-10-10 23:28:33 -02:30
Stephen Kitt 963c7866dc Run the build GHA on pushes as well as PRs (#937)
This ensures that commits get a checkmark if they pass all tests.

Signed-off-by: Stephen Kitt <steve@sk2.org>

Signed-off-by: Stephen Kitt <steve@sk2.org>
2022-10-10 18:33:56 -02:30
Stephen Anthony f6762cb96d Some optimizations for FSNodeWINDOWS. 2022-10-10 18:26:45 -02:30
Stephen Anthony ae5b448478 More optimization for FSNodePOSIX. 2022-10-10 17:05:22 -02:30
Stephen Anthony 75f93c566b Some minor optimizations to FSNodePOSIX. 2022-10-10 16:40:25 -02:30
Stephen Kitt 2d7aa7cbb8 Add a GitHub action to build on Windows (#936)
This reproduces the Appveyor build for 32- and 64-bit Windows.

Signed-off-by: Stephen Kitt <steve@sk2.org>

Signed-off-by: Stephen Kitt <steve@sk2.org>
2022-10-10 15:28:03 -02:30
Stephen Kitt 8ff021d1f8 Add a GitHub action to build on Linux and macOS (#935)
As with Travis CI, the test is only deemed successful on each platform
if the Stella build completes successfully.

For Linux, the test runs on Ubuntu with the toolchain test build
repository, using G++ 9, and the packaged version of SDL2, which is
guaranteed to be at least 2.0.10.

For macOS, SDL2 2.0.10 is still built from the upstream source code;
however that no longer builds with the newer Xcode versions available
in GHAs, so the build now uses "Unix-style" ./configure && make.

The runners provide two cores on Linux and three cores on macOS, so
the compile stages use the appropriate -j setting to build in
parallel.

Signed-off-by: Stephen Kitt <steve@sk2.org>

Signed-off-by: Stephen Kitt <steve@sk2.org>
2022-10-10 14:45:55 -02:30
Stephen Anthony dc888cf888 Fix minor warning from clang-tidy. 2022-10-09 21:50:57 -02:30
Stephen Anthony 031eb78fd8 Separate sound mute and enable functionality.
Mute simply changes the sound level; disabling sound completely is now done separately.
2022-10-09 21:28:35 -02:30
Thomas Jentzsch 44161326ad updated debugger doc for timers (screenshots) 2022-10-09 15:00:29 +02:00
Thomas Jentzsch 7736d65c84 fixed jitter emulation 2022-10-09 12:15:01 +02:00
Thomas Jentzsch bd51fbdac5 fixed frame layout detection 2022-10-09 07:38:08 +02:00
Stephen Anthony 7fd7f4df10 Updated sqlite3 to latest version. 2022-10-08 23:26:12 -02:30
Stephen Anthony ae75b94f23 Updated httplib to latest version. 2022-10-08 22:26:35 -02:30
Stephen Anthony 3ed08681ef Updated PNG lib to latest version. 2022-10-08 22:22:48 -02:30
Stephen Anthony c8192955b3 Updated JSON lib to latest version. 2022-10-08 22:15:53 -02:30
Stephen Anthony edc82b3888 Suggested fixes from clang-tidy. 2022-10-08 20:33:59 -02:30
Stephen Anthony 27f84976da Fix minor warning: parameter mirrors instance variables. 2022-10-08 20:11:31 -02:30
Thomas Jentzsch 5f1d6ee028 reworked timer syntax and code and fixed some bugs 2022-10-08 11:54:38 +02:00
Thomas Jentzsch 13e74507cb Merge branch 'master' of https://github.com/stella-emu/stella 2022-10-07 09:29:18 +02:00
Thomas Jentzsch 9b62b15637 fixed launcher image navigation for HiDPI mode 2022-10-07 09:29:02 +02:00
Stephen Anthony ce533245cf Add new class to Xcode project. 2022-10-06 13:20:53 -02:30
Stephen Anthony 64bcd660b2 Fix minor compile issues. 2022-10-06 13:07:27 -02:30
Thomas Jentzsch 9406bc7c6b ...plus a fix for the make file 2022-10-06 17:07:11 +02:00
Thomas Jentzsch 8682b5bda0 Merge branch 'master' of https://github.com/stella-emu/stella 2022-10-06 17:04:40 +02:00
Thomas Jentzsch ad8e5eb3f7 ...and the usual missing new files 2022-10-06 17:04:12 +02:00
Stephen Anthony 2a6fdcdb3d Fixed typo in module.mk. 2022-10-06 12:33:45 -02:30
Thomas Jentzsch 7a39ca8b6e added user defined timers to debugger (TODO: screenshots) 2022-10-06 16:55:00 +02:00
Thomas Jentzsch 7655f7cd8a Fixed "logBreaks" output in debugger 2022-10-03 18:16:14 +02:00
Stephen Anthony 79efea994a Some refactoring of SoundSDL2, placing WAV handling in its own inner class. 2022-10-01 21:06:12 -02:30
Thomas Jentzsch d6acadc329 fixed unwanted button up events in UI navigation 2022-10-01 21:21:20 +02:00
Thomas Jentzsch aebc097e95 enhanced UI navigation with a controller
added "Cancel" option to LauncherDialog context menu if opened with a controller
updated docs for image navigation in LauncherDialog
2022-10-01 11:07:02 +02:00
Stephen Anthony 72c6e69bf0 First pass at separating Sound mute/pause functionality.
This will need lots of testing, since it touches many parts of the code.
2022-09-24 21:33:39 -02:30
Stephen Anthony f98fef11db Fixed crash in resampling WAV playing; forgot to create an array.
Make WAV resampling default behaviour.
2022-09-19 01:33:36 -02:30
Stephen Anthony b927f214f3 Use unique_ptr instead of C-style allocations. 2022-09-18 16:56:57 -02:30
Thomas Jentzsch d0c94e5e14 eliminated frequent memory allocation while playing WAV files 2022-09-16 15:18:24 +02:00
Thomas Jentzsch ce684daacc fixed WAV echo problem and enabled on-the-fly resampling 2022-09-15 18:34:37 +02:00
Thomas Jentzsch 26d6f0db69 added on-the-fly WAV resampling (disabled, causes echo) 2022-09-15 15:21:10 +02:00
Thomas Jentzsch 37f8a5595f removed debug code and cast warning 2022-09-14 19:34:30 +02:00
Thomas Jentzsch af5272cff4 fixed interrupted WAV continuing to play at restart 2022-09-14 17:38:47 +02:00
Thomas Jentzsch 077366f34b fixed Sound muting for WAV files 2022-09-14 13:39:24 +02:00
Stephen Anthony 2208460aee More 'const' conversion, with help from clang-15. 2022-09-13 22:52:59 -02:30
Thomas Jentzsch 0330545769 implemented gapless playback for WAV files (KidVid) 2022-09-13 15:24:19 +02:00