Commit graph

578 commits

Author SHA1 Message Date
Marcus Rowe
9965d45a4e Use cosmetic QPen in ImageGridWidget
This is the proper method of drawing lines with a constant width that is
independent of the QPainter transformation.
2017-06-06 17:43:27 +10:00
David Lindecrantz
f4fb0f7985 Carbon input driver evolved into macOS input driver with mouse and HID gamepad/joystick support 2017-05-24 15:58:23 +02:00
devinacker
88217f4c6c fix buggy/unsafe breakpoint string split when loading 2017-05-14 03:16:48 -04:00
devinacker
4bf8196826 better behavior for M/X flags in register editor 2017-05-03 22:47:47 -04:00
devinacker
90026a5103 force debug window visible on debugger events 2017-04-24 23:56:31 -04:00
devinacker
e4c125b1c8 allow saving/reloading breakpoints between sessions 2017-04-24 23:53:53 -04:00
devinacker
28a0bed5d1 tweaking command line breakpoint syntax
(allows specifying a data value as well as an empty mode string for
disabled breakpoints)
2017-04-23 15:58:47 -04:00
Marcus Rowe
0351da7b31 Fix grid pen width in ImageGridWidget for Qt5
Qt5's default pen width is 1.0 and therefore the grid line thickness
increases when zooming in.

This commit changes the grid pen width to the inverse of zoom so it is
rendered same thickness independent of the zoom setting.
2017-03-18 18:21:35 +10:00
Marcus Rowe
6faffa76f6 Fix drawSelectedCell for hi-dpi displays
Optiroc has mentioned that the selected tile box's position and size is
multiplied by two on his Mac. This is caused by either
`painter->combinedTransform()` returning the wrong value for hi-dpi
displays or `painter->resetTransform()` not working as expected on
hi-dpi displays.

The new code does not call `painter->resetTransform()` but instead sets
the pen width and cell adjust to the inverse of the zoom, which cancels
out the transform and should render as one pixel to the user.
2017-03-17 23:30:46 +10:00
Marcus Rowe
62b4b4aff9 Add tile properties for selected tile in Tilemap Viewer 2017-03-16 21:42:56 +10:00
Marcus Rowe
9b146b4235 Add grid cell selection to ImageGridWidget 2017-03-16 20:41:47 +10:00
Marcus Rowe
f13c9a894f Add optional grid to Tilemap Viewer 2017-03-16 20:16:52 +10:00
Marcus Rowe
485669e73d Disable TilemapViewer addr/size textboxes when in Mode 7 2017-03-16 19:02:06 +10:00
Marcus Rowe
113da8ea29 Simplify code for TilemapViewer sidebar 2017-03-16 19:00:40 +10:00
ARM9
5f52c042cf SuperFX property viewer improvements
added register 3036 (rom bank register ROMBR)

fixed register 3039 (clock register CLSR), used to display wrong values due
to misinterpreted implementation detail
2017-01-31 16:50:20 +01:00
devinacker
cb93231908 Merge branch 'spcplayer' 2017-01-21 05:46:46 -05:00
devinacker
696a5101fb add experimental SPC/SNSF playback plugin 2017-01-21 05:45:17 -05:00
Jeremy Chadwick
adb306b680 Add $2134-$2136 to debugger Properties Viewer
Attempt #2, per pull request discussion.

Reference: https://github.com/devinacker/bsnes-plus/pull/103
Reference: http://forums.nesdev.com/viewtopic.php?p=186767#p186767
2017-01-16 14:29:26 -08:00
Jeremy Chadwick
0c647e62fa Revert ab26483 per pull req discussion
https://github.com/devinacker/bsnes-plus/pull/103
2017-01-16 13:47:39 -08:00
Jeremy Chadwick
ab26483f0c Add $2134-$2136 to debugger Properties Viewer
Reference: http://forums.nesdev.com/viewtopic.php?p=186767#p186767
2017-01-15 12:38:38 -08:00
devinacker
b5eaaeb691 bsx: only map if register values actually change
(fixes Treasure Conflix and who knows what else)
2017-01-12 22:06:32 -05:00
ARM9
1575fc0303 Fix cgram-viewer RGB display values
Used to display color values shifted right by 3, now displays the correct
5-bit values.
2017-01-08 19:14:35 +01:00
devinacker
ce441c8972 v3a minor release 2016-12-19 22:12:40 -05:00
devinacker
441de3b40f don't over-stretch lowres lines during frameskip
fixes #92
2016-12-18 16:56:26 -05:00
Devin Acker
166dabd799 Merge pull request #90 from Optiroc/osx-makefile
Minor tweaks for OSX build
2016-12-15 13:09:24 -05:00
devinacker
e2c797fdaf tweak handling of standalone modifier keybinds
(should fix the issue where i.e. binding [key] and Shift+[key] to two
different things would cause Shift+[key] to trigger both of them)
2016-12-14 22:59:07 -05:00
devinacker
8cead80154 don't mistakenly enable trace mask automatically 2016-12-14 21:01:11 -05:00
devinacker
75a9496e5a superfx: make a couple of registers 7-bit 2016-12-13 20:58:22 -05:00
devinacker
e35e2509f2 make SA1/superfx trace masks the correct size
fixes #91; i'm shocked it took two years for this copy/paste mistake to
get noticed by anyone
2016-12-13 00:14:46 -05:00
devinacker
843afbff15 try to avoid mapping RAM when it doesn't exist 2016-12-10 08:19:38 -05:00
David Lindecrantz
432894f32c Version string is added to Info.plist while building. Added snesfilter to osx build (NTSC filter works, however other filters seems to just pass through the original image regardless of scale). 2016-12-06 12:11:29 +01:00
devinacker
8cefb65808 version 073+3 (binaries later tonight) 2016-11-22 19:58:06 -05:00
devinacker
3b045d9dcc swap satellaview load menu items 2016-11-22 19:50:33 -05:00
luigiblood
c32e7423d7 [BS-X] Fix Satellaview behavior for Itoi Bass Fishing
Unemulated behavior with data latches and data queue is now supported and makes Itoi Bass Fishing working.
2016-11-22 21:09:10 +01:00
luigiblood
a13dc3572f [BS-X] Added Itoi Bass Fishing Satellaview special contest 1 channel 2016-11-22 21:07:32 +01:00
devinacker
b9abe4a7ab bsx: set regs.time_day correctly (tm_mday is 1-31) 2016-11-22 09:57:05 -05:00
devinacker
9b35a0499f add support for custom BS-X date/time 2016-11-22 09:43:00 -05:00
devinacker
d1a55789bf check cheats.xml at start time instead 2016-11-21 20:34:27 -05:00
devinacker
68e45c3e0c slight makefile updates
including a better detection of Windows that doesn't make any
assumptions about letter case in environment variable names
2016-11-21 20:23:53 -05:00
devinacker
bee0e367be mention correct config file name 2016-11-21 20:12:51 -05:00
devinacker
1614ad5bfa use cheats.xml from config directory 2016-11-21 20:12:14 -05:00
devinacker
70e16a807e add default satellaview data 2016-11-21 19:32:40 -05:00
luigiblood
4d3cb7dee3 Satellaview signal data emulation 2016-11-21 18:38:29 -05:00
devinacker
e961807f99 account for system state w/r/t/ canvas updates
(i.e. so that non-Qt video drivers will let Qt handle painting when the
system isn't actually powered on)
2016-11-20 16:08:30 -05:00
devinacker
68ada568c3 fix funky wrapping bug in memory search
fixes #56
2016-11-20 01:33:56 -05:00
devinacker
83fe20c2a4 fix ignore-input settings with native file dialogs 2016-11-19 23:30:22 -05:00
devinacker
f8b36f4e55 reset emulation speed when breakpoints occur 2016-11-19 22:22:02 -05:00
devinacker
58e8474fa8 show instruction when a PPU breakpoint occurs 2016-11-19 16:07:36 -05:00
devinacker
502a159238 msu1: unload files when unloading cartridge
closes #82
2016-11-19 15:52:46 -05:00
devinacker
758363b890 small cleanup 2016-11-19 00:04:53 -05:00