Commit graph

715 commits

Author SHA1 Message Date
Marcus Rowe
a52f3361ad Add configuration option to save unfiltered screenshots
Configuration variable is `video.unfilteredScreenshot` as all the other
settings that affect the screenshot is in the Config::Video struct.
2018-02-08 19:20:58 +10:00
Devin Acker
30f9bdf129
Merge pull request #153 from LuigiBlood/master
Satellaview Bigger Satellite Data File support
2018-01-16 20:46:08 -05:00
LuigiBlood
5a420536a8 BSX code clean up and more accurate reset values 2017-12-16 11:36:40 +01:00
LuigiBlood
beccbec1df Satellaview Bigger Data File again 2017-12-15 19:11:48 +01:00
LuigiBlood
e8953959fb Support Bigger Satellite Data Files 2017-12-15 19:04:22 +01:00
Marcus Rowe
c848d68bee Double height or width of unfiltered screenshot as necessary 2017-11-30 19:27:31 +10:00
Marcus Rowe
eee1d68088 Capture unfiltered screenshot
This commit changes the 'Capture Screenshot' action so that it bypasses
the overscan, scanline filter and Video Filter settings.
2017-11-30 18:18:21 +10:00
devinacker
40c795a6fb add xml manifest viewer to tools 2017-11-24 09:05:56 -05:00
Marcus Rowe
6acb760664 Fix missing size check on selectedFiles list
(selectedFiles should always contain one element, but it is better to be
safe then sorry)
2017-11-02 15:00:45 +10:00
Marcus Rowe
e121885aea Add next/prev address buttons to Tile Viewer 2017-10-30 23:49:52 +10:00
Marcus Rowe
7e70c87487 Add address offset to VRAM source in the Tile Viewer 2017-10-30 23:03:38 +10:00
Marcus Rowe
d4a3dba81e Tile Viewer goto buttons now set bit depth
The goto buttons do not set the Bit Depth in mode 7 as the game could be
changing the screen modes mid frame.
2017-10-30 22:08:34 +10:00
Marcus Rowe
a0ad336236 Optimize Tile/Tilemap Viewer sidebar signals
This commit reduces the number of times the refresh() slot is called in
the Tile Viewer and the Tilemap Viewer.

The `inUpdateFormCall` flag is still required because the QSpinBox and
CgramWidget does not have any "user edited value" signals.
2017-10-30 21:56:43 +10:00
Marcus Rowe
003e54e113 Disable refresh when the export dialog is open 2017-10-30 20:46:01 +10:00
Marcus Rowe
cc38bdf81a Add CPU Bus to the Tile Viewer 2017-10-30 14:36:41 +10:00
Marcus Rowe
d937289a1c Add Tile Viewer Window 2017-10-29 21:22:42 +10:00
Marcus Rowe
47cb9d9b29 Move low-level functions from TilemapRenderer into a base class 2017-10-29 19:23:23 +10:00
Marcus Rowe
bdd9db21c8 Override the background color in the Tilemap Viewer 2017-10-29 16:06:25 +10:00
Marcus Rowe
76938fecbe Add export tilemap button to TilemapViewer 2017-10-28 15:14:54 +10:00
Marcus Rowe
ee89171d53 Keep QImage in TilemapRenderer when drawing tilemap
This commit will allow the image created by drawTilemap() to be
accessed multiple times.

It will also save a memory allocation if the image size does not change
in-between two drawTilemap() calls.

The low-level tile drawing functions keep wordsPerScanline as a function
argument in order to save 1024 function calls per map drawn (16K calls
for a mode7 map).
2017-10-28 14:53:17 +10:00
Marcus Rowe
5a5b3db110 Use QRgb instead of uint32_t for rgb color data 2017-10-28 14:30:50 +10:00
devinacker
2713cfbaa0 fix superfx trace logging
(and also fix a boneheaded copy/paste mistake with the superfx trace
mask)
2017-09-30 03:45:55 -04:00
devinacker
030f37265e increment serializer version again 2017-09-04 01:33:07 -04:00
devinacker
54ffadff05 more Cx4 tweaks 2017-09-04 01:31:06 -04:00
devinacker
67b279fde7 Cx4 IRQs 2017-09-04 01:30:46 -04:00
devinacker
8946469816 start applying ikari_01's cx4 findings 2017-09-04 01:30:46 -04:00
devinacker
842ebaac25 superfx: track pipeline better when disassembling
(should fix #116)
2017-09-04 00:38:14 -04:00
devinacker
5d2846fd59 cx4 memory tweaks 2017-08-29 20:08:19 -04:00
devinacker
e99e45fdbf formatting cleanup 2017-08-29 19:40:00 -04:00
devinacker
023a125fff autodetect MSU1 support without manifest 2017-08-29 19:35:10 -04:00
devinacker
9ecf8b3777 backport higan's Cx4 LLE implementation 2017-08-27 12:09:39 -04:00
Alex W. Jackson
cbd7b99785 dsp: change initial ENDX register state to match current higan; fixes Magical Drop 2017-08-19 00:15:14 -04:00
Alex W. Jackson
085b8ea0de ppu: improve BGnHOFS latching, fixes Super Pac-Man (PD) 2017-07-11 23:43:24 -04:00
devinacker
988a78f657 Revert "fix horizontal scroll latching bug"
This reverts commit a6c9f1db00.
2017-07-11 23:27:36 -04:00
devinacker
a6c9f1db00 fix horizontal scroll latching bug
see http://forums.nesdev.com/viewtopic.php?f=12&t=16200
2017-07-11 18:52:16 -04:00
Alex W. Jackson
8a878d356e nall: let's not do a switch() on every. single. call to keyboard(), mouse(), and joypad() 2017-06-28 19:27:19 -04:00
Devin Acker
1e0ef251c1 Merge pull request #126 from undisbeliever/fix-debugger-qpens
Fix debugger graphical glitches
2017-06-13 12:38:05 -05:00
Marcus Rowe
9271b7f2e7 Fix CgramWidget selected outline
Previously the CgramWidget would render the selected color outline as a
17% white, 83% black dashed line on Qt5 with a QT_SCALE_FACTOR of 2.

This commit changes the CgramWidget so that the selected color outline
is drawn as a 50% white, 50% black dashed line, independent of the
device pixel ratio.
2017-06-06 17:57:43 +10:00
Marcus Rowe
75bfb8ba7f Correctly draw selected cell border in ImageGridWidget
This commit also fixes a glitch in Qt5 where the outline of some
selected TilemapViewer cells were not rendered correctly if the zoom was
set to a prime number.
2017-06-06 17:44:32 +10:00
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
Devin Acker
e6f2c7186c Merge pull request #121 from Optiroc/macOS-input
macOS input driver
2017-05-24 10:56:14 -05: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
Devin Acker
2a2abd5ed0 Merge pull request #113 from undisbeliever/update-tilemap-viewer
Updates to the Tilemap Viewer
2017-04-22 16:20:46 -05: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