Commit Graph

7584 Commits

Author SHA1 Message Date
Stephen Anthony 2c4b98ef7a Yet more cleanups in FSNodeWINDOWS. 2022-10-29 16:12:39 -02:30
Thomas Jentzsch 6cbb06b10a added VSYNC warning to console info overlay in developer mode 2022-10-20 12:48:51 +02:00
Stephen Anthony 7a8845548d Speed up file/directory access in Windows by 3-4x. 2022-10-18 17:21:13 -02:30
Stephen Anthony 7193c40532 More cleanups to FSNodeWINDOWS. 2022-10-15 19:54:51 -02:30
Stephen Kitt 89d1193342
Use apt-get instead of apt (#938)
This avoids warnings about apt's suitability for use in scripts.

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

Signed-off-by: Stephen Kitt <steve@sk2.org>
2022-10-13 09:31:14 -02:30
Stephen Kitt e3170edb96
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 6e46d46ffa More cleanups to FSNodeWINDOWS. 2022-10-12 18:45:24 -02:30
Thomas Jentzsch e63975847f fixed build test 2022-10-12 22:21:10 +02:00
Thomas Jentzsch d38831bbb2 failed build test 2022-10-12 22:03:48 +02:00
Stephen Anthony 63e99ef0d1 More cleanups to FSNodePOSIX. 2022-10-12 12:58:00 -02:30
Stephen Anthony dfb64f05a8 Add missing directory separator that sometimes is missing in SQL database file. 2022-10-11 18:45:46 -02:30
Stephen Anthony 35e0cf7a67 Remove Readme.txt, replace with README.md (which contains the former). 2022-10-10 23:33:51 -02:30
Stephen Anthony 3629a264bc Remove appveyor script; we can always re-enable if required. 2022-10-10 23:28:33 -02:30
Stephen Kitt 9ce0d374f6
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 35bc4ac8b6 Some optimizations for FSNodeWINDOWS. 2022-10-10 18:26:45 -02:30
Stephen Anthony 0a14629fa4 More optimization for FSNodePOSIX. 2022-10-10 17:05:22 -02:30
Stephen Anthony 437046bb6b Some minor optimizations to FSNodePOSIX. 2022-10-10 16:40:25 -02:30
Stephen Kitt 44c5d35301
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 d7d73234ff
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 7b5d25d9f1 Fix minor warning from clang-tidy. 2022-10-09 21:50:57 -02:30
Stephen Anthony 7de717114c 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 4044af5770 updated debugger doc for timers (screenshots) 2022-10-09 15:00:29 +02:00
Thomas Jentzsch 5a558a6afe fixed jitter emulation 2022-10-09 12:15:01 +02:00
Thomas Jentzsch 9e973bc955 fixed frame layout detection 2022-10-09 07:38:08 +02:00
Stephen Anthony e752f376e9 Updated sqlite3 to latest version. 2022-10-08 23:26:12 -02:30
Stephen Anthony 0bfb51cd30 Updated httplib to latest version. 2022-10-08 22:26:35 -02:30
Stephen Anthony 26cca6ad1a Updated PNG lib to latest version. 2022-10-08 22:22:48 -02:30
Stephen Anthony e33542da57 Updated JSON lib to latest version. 2022-10-08 22:15:53 -02:30
Stephen Anthony 1001fdae14 Suggested fixes from clang-tidy. 2022-10-08 20:33:59 -02:30
Stephen Anthony 6fb5903fcc Fix minor warning: parameter mirrors instance variables. 2022-10-08 20:11:31 -02:30
Thomas Jentzsch aadb28a618 reworked timer syntax and code and fixed some bugs 2022-10-08 11:54:38 +02:00
Thomas Jentzsch a8142633ce Merge branch 'master' of https://github.com/stella-emu/stella 2022-10-07 09:29:18 +02:00
Thomas Jentzsch b43fdbe52c fixed launcher image navigation for HiDPI mode 2022-10-07 09:29:02 +02:00
Stephen Anthony 6b5e2515a1 Add new class to Xcode project. 2022-10-06 13:20:53 -02:30
Stephen Anthony 744532fbba Fix minor compile issues. 2022-10-06 13:07:27 -02:30
Thomas Jentzsch e5f391d5a1 ...plus a fix for the make file 2022-10-06 17:07:11 +02:00
Thomas Jentzsch 083c9dc8d5 Merge branch 'master' of https://github.com/stella-emu/stella 2022-10-06 17:04:40 +02:00
Thomas Jentzsch 4633f4e394 ...and the usual missing new files 2022-10-06 17:04:12 +02:00
Stephen Anthony e8e82dc2dd Fixed typo in module.mk. 2022-10-06 12:33:45 -02:30
Thomas Jentzsch 3de6002c46 added user defined timers to debugger (TODO: screenshots) 2022-10-06 16:55:00 +02:00
Thomas Jentzsch d8ed1d1d13 Fixed "logBreaks" output in debugger 2022-10-03 18:16:14 +02:00
Stephen Anthony d893b12807 Some refactoring of SoundSDL2, placing WAV handling in its own inner class. 2022-10-01 21:06:12 -02:30
Thomas Jentzsch cff0821f33 fixed unwanted button up events in UI navigation 2022-10-01 21:21:20 +02:00
Thomas Jentzsch 65115cc3a1 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 129ec5886a 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 518f8eb5bd 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 3b073054ff Use unique_ptr instead of C-style allocations. 2022-09-18 16:56:57 -02:30
Thomas Jentzsch 79bf02f5e3 eliminated frequent memory allocation while playing WAV files 2022-09-16 15:18:24 +02:00
Thomas Jentzsch fbcf4670b9 fixed WAV echo problem and enabled on-the-fly resampling 2022-09-15 18:34:37 +02:00
Thomas Jentzsch 5e09f486af added on-the-fly WAV resampling (disabled, causes echo) 2022-09-15 15:21:10 +02:00