26 Commits
Author SHA1 Message Date
SourMesen 1489d34441 SNES: Added support for BlueRetro controller (#220)
This controller/adapter supports rumble as well as reading the state of both analog sticks and the L/R triggers.

Code by @RandalLinden
2026-07-16 05:10:26 -07:00
SourMesen 0532a2ec98 NES: Fixed issues with 2/4 player adapters (#194)
-The pachinko/subor mouse/ntt/virtual boy controllers could be selected in the UI for 2p/4p adapters, but did not work at all
-Keybindings for the "custom keys" for some controllers were not working when connected to a 2p/4p adapter
-Pachinko controller did not allow the user to configure the keybindings for NES-style buttons
2026-06-26 20:40:09 -07:00
NovaSquirrel 6312748563 SNES: Add Turbo File Twin support (#109)
* SNES: Add Turbo File Twin support

* SNES: Try to make write mode flag more accurate

Hardware tests on Turbo File Twin seem to be showing that if you write data then it stops reporting that the write flag is on, despite letting you write more data

* SNES: Move bit array access to a utility

Also add note about how bit 26 in STF report is not fully verified

* SNES: Add behavior seen when reading without read command

When you turn the strobe on and off outside of a read command, the shift register gets reloaded with the most recently read or written byte

* NES, SNES: Emulator::SaveBattery() for saving console and controller

* Fix range limit in SetBitInArray

* Add notes about unknown aspects of TFII mode

* Add comments to make it clear what's unknown

* STF mode ignores out-of-range addresses

Also allocate _data instead of putting it in the class
2026-05-15 00:05:31 -07:00
NovaSquirrel 1e2b4b5755 SNES: Add support for NTT Data Keypad (#86)
* SNES: Add support for NTT Data Keypad

Also make it available on NES

* SNES: Disable Multitap for NTT Data Keypad for now
2026-05-05 19:23:29 -07:00
SourMesen e391fd8f9a Code: Add auto-formatting rules for C++ (clang-format) and enforce in CI via "clang-format" and "dotnet format" (#78)
* Code: Add auto-formatting rules for C++ projects (clang-format) and enforce code style via "clang-format" and "dotnet format"

* fix ui format warnings
2026-04-30 06:03:55 -07:00
Sour 5350959230 SNES: Added new controller type that supports rumble 2025-06-23 10:26:31 +09:00
Sour 2d96724b28 Debugger: SNES - Added new "break on..." options
Invalid vram/oam/cgram access, controller read while auto-read is running
2025-03-27 21:30:38 +09:00
Sour f762ceead9 SNES: Fixed return values for reads to 4017/4213 + fixed open bus when reading CPU internal registers
Fixes most of the openbus_test tests
2025-03-24 10:03:32 +09:00
Sour e4d317635f SNES: Improved gamepad auto-read behavior
Based on new tests: blip-autojoy-test, blip-autojoy-test-automatic, enable-autojoy-late-test-2
2024-12-20 18:51:03 +09:00
Sour 6b77200364 SNES: Improved gamepad auto-read emulation based on research/test rom 2024-12-14 14:39:42 +09:00
Sour efcf0d1523 SNES: Improved gamepad auto-read emulation
-Read each bit at roughly the correct cycles (instead of all at once at the start of nmi)
-Don't perform auto-read when auto-read flag is disabled at the very start of nmi, before it actually starts
2023-08-17 18:24:03 +09:00
Sour bf2fa11053 Movies: Fixed desync when using rewind during movie playback
Affected all systems except NES
2023-02-10 20:59:21 -05:00
Sour d449f0c641 Debugger: Added cpuType parameter for Lua events 2023-01-24 22:14:24 -05:00
Sour eac9f2073c SNES: Fixed controller auto-read behavior when $4016.0 is set to 1 (auto-read returns the state of the first button 16 times) 2022-10-08 12:48:00 -04:00
Sour 7108bdde36 Refactoring - Moved some leftover files out of the root folder 2022-09-08 21:48:49 -04:00
Sour 152abf690b Rename stdafx.h to pch.h 2022-09-08 21:29:52 -04:00
Sour 83e5eea2c5 Input: Allow mapping all buttons that were previously hardcoded to specific mouse buttons 2022-07-23 11:16:11 -04:00
Sour eda3db9620 UI: Implemented show lag counter option 2022-07-22 12:11:35 -04:00
Sour 05180385ab PCE: Implemented save states 2022-07-20 18:49:25 -04:00
Sour b456170551 Save states: Serializer rework/rewrite 2022-07-20 00:40:32 -04:00
Sour 1c055bb4af Save States: Load/save emulation settings for netplay/rewind states, fixes some TODOs, fixes some NES issues when loading a state taken in a different region 2022-03-31 14:36:15 -04:00
Sour e3c0ab88a4 Fixed exception when switching from one console type to another
The UI is tried to draw controllers based on the old console's controller data, but the new console was loaded (and the control manager threw an exception when an incompatible controller was attached)
2022-03-19 16:18:26 -04:00
Sour 1f222fd300 NES/SNES: Allow more flexibility when configuring inputs (2x multitap, etc.) 2022-03-11 23:51:42 -05:00
Sour 9e158c6f2f FDS: Fixed insert disk not working properly 2022-02-03 00:19:36 -05:00
Sour 3615ef0eb1 Core: Enabled warning level 4, fixed/disabled warnings 2022-01-23 12:36:35 -05:00
Sour 0b228f5951 Refactoring: Added Snes prefix to files/classes 2022-01-22 11:55:17 -05:00