Stephen Anthony
a3bd550cb3
Minor style/formatting fixes.
2024-08-11 14:25:39 -02:30
Christian Speckner
9fa896354f
Move debug dump to CLI option, don't dump by default.
2024-08-11 15:59:13 +02:00
Christian Speckner
0e3fc4f3a6
Remove debug code.
2024-08-11 15:46:22 +02:00
Christian Speckner
c01703ce1f
Add R_ARM_REL32 .
2024-08-11 15:40:55 +02:00
Christian Speckner
e61efe6765
Fix and hook up speed setting.
2024-08-11 15:21:47 +02:00
Christian Speckner
9bf342c998
Implement "strict mode".
2024-08-11 14:54:02 +02:00
thrust26
cf8d751105
fixed reordering bug
2024-08-11 12:50:10 +02:00
Christian Speckner
563c28dd66
Fix race condition with use-after-free in TimerManager.
2024-08-11 11:31:43 +02:00
Christian Speckner
417e37c51f
Fix use-after-free on the audio thread when Console is destroyed.
2024-08-11 11:26:58 +02:00
Christian Speckner
412225bc04
Throw on invalid relocation type.
2024-08-11 11:26:58 +02:00
thrust26
14eac4bc62
ELF correctly sorted in display list
2024-08-11 09:22:45 +02:00
thrust26
507702ef25
replaced "cycles" with "MIPS" in DeveloperDialog
2024-08-11 08:33:25 +02:00
Christian Speckner
f16c9b4c02
Remove unnecessary check.
2024-08-10 23:49:31 +02:00
thrust26
b4cb3c54a5
Merge branch 'master' of https://github.com/stella-emu/stella
2024-08-10 15:52:55 +02:00
thrust26
76dfe8563d
Added new and changed existing ARM developer options
...
TODO: doc
2024-08-10 15:50:15 +02:00
Christian Speckner
74e25cb8e0
Set ELF system type and palette according to game props.
2024-08-10 12:35:52 +02:00
Christian Speckner
dd046c4f7c
Trap if add would switch instruction set.
2024-08-10 09:29:23 +02:00
Christian Speckner
434ff28458
Implement most of vcslib.
2024-08-08 22:45:46 +02:00
Christian Speckner
d8bad1efc7
Silence warnings.
2024-08-08 21:57:14 +02:00
Christian Speckner
c8ac92ee9f
Work around clang idiosyncrasies.
2024-08-08 21:43:00 +02:00
Stephen Anthony
e48c8fbedb
Merge branch 'master' into elf
2024-08-07 18:00:26 -02:30
Stephen Anthony
3be7e6e4a7
Potential optimization for AudioChannel. Fix spelling mistake.
2024-08-07 17:58:12 -02:30
Stephen Anthony
e4a665e7d2
Merge branch 'master' into elf
2024-08-07 12:14:59 -02:30
Stephen Anthony
7e8c868df7
Various fixes to latest sound code (style, clang-tidy, etc.)
2024-08-07 12:14:07 -02:30
Stephen Illingworth
5d68a1fd1c
Improvement to volume sampling in TIA audio ( #1038 )
...
volume of audio channels sampled every on every tick. sum of samples is
averaged and a new sample output twice per scanline
this fixes issues with ROMs that change the volume of the audio multiple
times per scanline. for example, the experimental ROM in the following
thread now works correctly
https://forums.atariage.com/topic/370460-8-bit-digital-audio-from-2600/
(note that the ROM does not initialise the machine cleanly and so running
the emulator with developer options (random memory etc.) can cause
incorrect audio)
2024-08-07 10:18:42 +02:00
Stephen Anthony
4b86397f9c
Fix narrowing issue.
2024-08-06 22:36:39 -02:30
Stephen Anthony
24309542e4
Replace C-style macros with C++ inlines using reinterpret_cast.
2024-08-06 22:07:50 -02:30
Stephen Anthony
e574566116
Fix C-style rand(); use our Random class instead.
2024-08-06 21:42:29 -02:30
Stephen Anthony
190c9c01b0
Convert C-style union and malloc/free to C++ std::variant and unique_ptr.
2024-08-06 20:28:44 -02:30
Stephen Anthony
ba1b163f92
Fix warning for potential incorrect rounding.
...
The proper approach is std::lround, but it won't be constexpr until C++23.
2024-08-06 16:52:08 -02:30
Stephen Anthony
934fa282ba
Revert "Fix warning for rand(); NOLINT for now, as the proper fix isn't until C++23."
...
This reverts commit 5ce96542cb
.
2024-08-06 16:50:33 -02:30
Stephen Anthony
5ce96542cb
Fix warning for rand(); NOLINT for now, as the proper fix isn't until C++23.
2024-08-06 16:48:59 -02:30
Stephen Anthony
2d83fc0a26
Add `TIDY` clang-tidy script to tools.
2024-08-05 16:12:27 -02:30
Stephen Anthony
bf9515f34d
libretro: Run clang-tidy on all files.
2024-08-03 21:15:22 -02:30
Stephen Anthony
4e546f1891
Fixes from clang-tidy for the entire codebase, including header files.
2024-08-03 20:35:45 -02:30
Stephen Anthony
752219d4e2
Fix Visual Studio build for json header rename.
2024-08-02 16:11:39 -02:30
Stephen Anthony
428ef20a06
Rename json.hxx to json.hpp, just as it's distributed.
...
This has the nice side-effect of removing it from processing with clang-tidy.
2024-08-02 14:49:10 -02:30
Stephen Anthony
34a6b6979b
Run clang-tidy on `src/debugger`.
2024-08-02 09:47:59 -02:30
Stephen Anthony
54538fa46c
libretro: Add cart ELF support.
2024-08-01 17:29:14 -02:30
Stephen Anthony
d4423d40f8
Fix Windows compile error from last commit.
2024-08-01 12:36:36 -02:30
Stephen Anthony
a6d47814fd
More fixes for warnings from clang-tidy, in `src/cheat` and `src/common`.
2024-08-01 12:20:40 -02:30
Stephen Anthony
4773c53f8f
Fix potential overflow in cycle calculation.
2024-07-31 13:41:42 -02:30
Stephen Anthony
151becc4fb
Fix compile error from last commit.
2024-07-31 13:37:38 -02:30
Stephen Anthony
86bb28d042
More fixes for warnings from clang-tidy.
2024-07-31 12:45:14 -02:30
Stephen Anthony
406f1e6956
Merge branch 'master' into elf
2024-07-30 18:03:53 -02:30
thrust26
c3b500ae61
removed interrupt handling code
2024-07-30 21:49:00 +02:00
Stephen Anthony
7c97728895
Use std::clamp.
2024-07-30 16:42:48 -02:30
thrust26
b367744e0e
Fixed undefined order of startup vector peeks
...
Added ELF test ROMs
2024-07-30 20:52:04 +02:00
Stephen Anthony
986d631b7c
Fix some clang-tidy warnings.
2024-07-30 14:52:21 -02:30
Stephen Anthony
75e54fd3ee
Add ELF files to Xcode project.
2024-07-30 14:47:40 -02:30