Commit Graph

1201 Commits

Author SHA1 Message Date
Kawa 1ebed1701a
Merge pull request #6 from Sintendo/setting-input-crash
settings/input: Fix updateControls crashes
2020-04-03 00:38:21 +02:00
Sintendo 97452b6ec3 settings/input: Fix updateControls crashes
updateControls assumes that when activeMapping is set, an item from
mappingList is guaranteed to be selected. However, there are several
scenarios that break this assumption:

- changing port during an active mapping
- changing device during an active mapping
- reloading the input driver during an active mapping

In all of these cases, updateControls is eventually called. It sees an
outstanding activeMapping and proceeds to figure out the offset of the
currently selected item, but since there are no selected items it ends
up dereferncing a null pointer.

The assumption can be honored by having reloadMappings cancel the
outstanding activeMapping, thus preventing a crash.

Fixes #4.
2020-04-01 01:05:10 +02:00
MerryMage 69d527f322 presentation: Bugfix for macOS: about -> aboutBsnes 2020-03-22 17:24:53 +00:00
byuu da335007e7 Remove documentation website link. 2020-03-23 01:28:48 +09:00
byuu 3df6623fbf Convert bsnes into a group project and relicense it to GPLv3 or later. 2020-03-23 00:57:29 +09:00
byuu 8e80d2f8a4 v115 2020-03-03 19:56:48 +09:00
byuu bd1759eb45 Add credits. 2020-02-28 17:31:25 +09:00
byuu 5296176151 v114.6
Fixed accuracy PPU rendering issue affecting Secret of Mana
2020-02-26 19:57:21 +09:00
byuu 64d20a062a Windows compilation fix. 2020-02-23 21:03:24 +09:00
byuu c22ef09f13 PulseAudio compilation fix. 2020-02-23 20:36:28 +09:00
byuu 2223a843c9 Restore IOKit fix that was missing from higan ruby sync. 2020-02-23 20:34:10 +09:00
byuu d2211d8818 v114.5
* improved appended firmware detection [devinacker]
* added dynamic rate control support to ALSA and PulseAudio drivers [RedDwarf]
* added option to use native file dialogs
2020-02-23 20:23:25 +09:00
byuu c13745d753 v110.4
Merged Super Game Boy MLT_REQ fix [devinacker]
2020-02-18 20:07:05 +09:00
byuu 7053a0b605 Readme updated. 2020-01-18 14:23:10 +09:00
byuu 58eb6838b7 Fixed links in readme. 2020-01-18 01:25:55 +09:00
byuu 1f4f1223a1 v114.3
Dot PPU: latch fine BG Hscroll at H=0 instead of H=56
(fixes minor scanline issues in Full Throttle Racing scoring screen)
(note: exact latch position is not currently known)
2020-01-17 09:09:01 +09:00
byuu 3cc8c589cc Remove debugging variables. 2020-01-16 23:16:37 +09:00
byuu 52d5b3e2a2 v114.2
Serialize SDD1 PEM
(fixes run-ahead in Star Ocean)
Dot PPU: calculate nameTableIndex and characterIndex from ppu.hcounter()
(fixes scanline glitch in Great Battle IV)
Dot PPU: do not latch BG H/V scroll registers
(fixes Air Strike Patrol raster effects)
(fixes Septentrion glitchy scanline)
2020-01-16 23:12:37 +09:00
byuu 358a3ceed7 libretro: added cheat support [rtretiakov]
libretro: aspect ratio correction [rtretiakov]
libretro: MSU1 lookup fix [rtretiakov]
libretro: merged latest resources and overrides from upstream
libretro: changed audioFrame() from float to double [byuu]
2020-01-16 05:45:35 +09:00
byuu c6918fc170 Fix "make clean" when using cmd.exe shell on Windows 2020-01-16 05:40:55 +09:00
byuu 1afd440c86 Revert Emulator::Audio to use doubles instead of floats
* fixes ODR violations, but is slightly slower (378fps->376fps)
2020-01-16 05:34:00 +09:00
byuu 702977f0b9 Mosaic cleanups. 2020-01-16 05:26:56 +09:00
byuu fb463d34ef v114.1
Improved vertical mosaic emulation.
2020-01-16 05:09:52 +09:00
byuu 55e78b03de Point to specific project. 2020-01-08 18:50:07 +09:00
byuu 47dcdc1b4f Added Windows binary release link. 2020-01-08 18:49:40 +09:00
byuu e13ab011eb v114
Added fast PPU override for Marvelous (fixes text rendering)
Fixed disassembly of SNES CPU opcodes 0x74-0x76 [invertego]
2020-01-08 18:46:53 +09:00
byuu 892f202945 Updated SNES game databases 2020-01-01 18:45:11 +09:00
byuu e575196abc . 2019-12-31 19:42:11 +09:00
byuu 404caeab50 The input workaround for Taikyoku Igo benefits:
Williams Arcade's Greatest Hits and World Masters Golf;
in very subtle ways, so enable it for those two titles as well.
2019-12-31 19:40:35 +09:00
byuu dde9b4c2c7 v113.5
It seems auto-joypad poll timing is needed for most games.
So that's back in as before. Instead, I added an override for
Taikyoku Igo - Goliath specifically, until auto-joypad emulation
can be improved further.
2019-12-31 10:22:31 +09:00
byuu 793f2e5bf4 v113.4
Completely disabled auto-joypad timing (happens immediately)
(fixes World Masters until this can be emulated fully)
Disabled fast PPU for Winter Olympic Games
(changes OAM tiledata address mid-frame)
Disabled fast PPU for World Cup Striker
(I'm not sure yet why it's not compatible)
Cleared overscan region when disabling overscan
(fixes World Class Service SNES Tester)
Added override for invalid SNES header in Yuyu no Quiz de Go! Go!
2019-12-30 06:00:17 +09:00
byuu cc4ab9bc25 Added workaround to reduce auto-joypad polling delays
(until we can emulate the behavior more faithfully)
2019-12-28 13:53:06 +09:00
byuu 2551f20f3a v113.3
Fixed region heuristics for the one Scandanavian SNES game release
2019-12-28 13:41:57 +09:00
byuu 5b29ddbcaa Add hotfix for Nichibutsu Arcade Classics (Japan)
* Frisky Tom hangs sometimes when memory is randomized
2019-12-27 08:58:09 +09:00
byuu ac4d16c917 Revert gamepak firmware naming to use architecture instead of identifier
* identifier naming interferes with game ROM naming lookup
2019-12-27 08:51:05 +09:00
byuu 01c16dcf4d Fix Taikyoku Igo - Goliath
(clear $4218-421f to 1s instead of 0s at start of auto-joypad polling)
2019-12-27 08:32:18 +09:00
byuu 169c0871c7 Added Super SWIV fast PPU override 2019-12-27 08:17:39 +09:00
byuu ffee61a1b1
Merge pull request #250 from Sintendo/xcode11-opengl-fix
ruby/CGL: explicitly set current OpenGL context
2019-12-24 18:51:01 +09:00
Sintendo 526df86ee6 ruby/CGL: explicitly set current OpenGL context
On builds made with Xcode 11+ the current OpenGL context wasn't being
properly configured anymore, resulting in shader compilation errors and
a red screen.

Explicitly calling makeCurrentContext fixes this.
2019-12-23 22:30:58 +01:00
byuu 748cf44f35 Added run-ahead support to libretro target [realnc]
Fixed typo in the GUI regarding HD mode 7 +/- hotkeys
2019-12-19 22:04:14 +09:00
byuu a4f96f0648 Fix link. 2019-12-19 21:16:53 +09:00
byuu 2ca1bab9ed Updated links in readme file. 2019-12-19 21:16:06 +09:00
byuu 1e6a745f19 v113.1
Emergency hotfix for an issue affecting manually created save states.
Still need to determine root cause, but for now, reverting the code.
2019-12-16 01:59:39 +09:00
byuu 90b1350110 v113 2019-12-11 22:02:23 +09:00
byuu 357d054c19 Fix LLE gamepak firmware name lookups (use identifier, not architecture) 2019-12-11 21:56:29 +09:00
byuu d62e3f3362 v112.14
Finally corrected Super Game Boy 2 audio [LIJI]
2019-12-11 21:40:07 +09:00
byuu 4ec45a7453 Some more testing for Super Game Boy audio mixing. 2019-12-09 09:23:33 +09:00
byuu f5d40bd1ee Testing: added Super Game Boy audio mixing test function. 2019-12-09 00:08:37 +09:00
byuu 6aa7c944d5 v112.3
Improvements to ruby driver crash detection.
Workaround added for rare crash on close on Windows.
2019-12-08 01:39:46 +09:00
byuu dafd673177 v112.12
Update to SameBoy-master [2019-12-02]
2019-12-02 20:22:51 +09:00