Commit Graph

724 Commits

Author SHA1 Message Date
cracyc
f1cbe3df6a debugqt: prevent threading deadlock in win32 with qt debugger (nw) 2013-06-04 13:51:49 +00:00
Andrew Gardner
35704b5ad4 Qt Debugger: The MAME memory tracking system no longer double-frees closed QT
windows.  Also fixes the font segfault on exit again. (nw, but thanks Carl)
2013-06-04 06:37:27 +00:00
R. Belmont
297e264b42 Ubuntu wants to be different. (nw) 2013-06-01 01:02:25 +00:00
Miodrag Milanovic
2337fd6287 reorder ifdefs (nw) 2013-05-31 06:21:04 +00:00
cracyc
2d9806dfaa windows.mak: use := for variables set by external programs (nw) 2013-05-30 16:51:18 +00:00
Andrew Gardner
a22837583f Oops. Slot names aren't unique. This is better anyway. (nw) 2013-05-30 16:24:07 +00:00
Andrew Gardner
9ca45de8a6 Fixed return value & menu item name in the QT Debugger's Image menu. (nw) 2013-05-30 16:20:36 +00:00
Miodrag Milanovic
9910ce0ecc change make file rules to be consistent to one in sdl build (nw) 2013-05-30 14:39:24 +00:00
Miodrag Milanovic
89834d2946 Cleaned a bit Carl's solution for optional QT debugger for Windows (nw) 2013-05-30 14:32:47 +00:00
Miodrag Milanovic
1dfb058b17 cast error found by mingw 4.7.4 (nw) 2013-05-30 07:25:08 +00:00
Andrew Gardner
800c6fd7c3 Adds the Image menu to the QT debugger's main window.
This allows the user to mount disk/c images from the UI.
[Andrew Gardner]
2013-05-30 04:29:41 +00:00
Michaël Banaan Ananas
b8b819fae7 ok once more (bwidow requested up to over 140,000) 2013-05-28 02:11:38 +00:00
Michaël Banaan Ananas
9ba2c2d05d increase vertex buffer size a bit more (from MooglyGuy) 2013-05-27 21:58:44 +00:00
Ryan Holtz
1fcfec449f fix composite ntsc shaders, nw 2013-05-22 08:03:01 +00:00
Ryan Holtz
35ef098e64 MAME Testers bugs fixed: 5201, 5202
- HLSL changes: [MooglyGuy]
 * Upped vertex buffer size to 64k verts, fixes assert in
   starwars and alphaone, please include the printed error
   message in any subsequent encounterings of the assert.
 * Improved vector rendering (beam width 1.5 suggested)
 * Ducked raster bloom default to 0.225 to reduce washout
2013-05-22 01:58:38 +00:00
Miodrag Milanovic
1c05ccc93b Cleanups and version bump 2013-05-20 06:51:25 +00:00
Ryan Holtz
daa3ae3b10 fix incorrect bloom functionality in fullscreen mode, nw 2013-05-20 01:20:22 +00:00
Ryan Holtz
5c0fb782dd Reset D3D device before destroying device. Fixes crash when selecting games from internal menu with HLSL enabled. nw 2013-05-19 22:30:52 +00:00
Ryan Holtz
675796fe23 fix vector bloom, nw 2013-05-19 21:53:08 +00:00
Ryan Holtz
4c40273047 remove double-alloc of texture_manager, nw 2013-05-19 20:49:53 +00:00
Ryan Holtz
169ac5250e potential crash fix, nw 2013-05-19 20:37:15 +00:00
Ryan Holtz
6d75797ddb Fix DFJustin's crash, nw 2013-05-19 20:20:36 +00:00
Oliver Stöneberg
80dbfdec59 fixed some initialization and cleanup issues with new D3D code (nw) 2013-05-19 19:14:45 +00:00
Ryan Holtz
e028e20476 - "And he did give them CRT bloom, and it scorched their eyes so; and they wept
openly, for there was nothing left to see with" [MooglyGuy]
  * Enabled vector bloom and associated .ini controls
  * Added raster bloom and associated .ini controls, each bloom "level" is the
    linear weight of successively half-sized render targets
  * Removed D3D8 mode
  * Mass renaming in D3D renderer to use namespaces, initial planning step to
    HAL-based renderer implementation on Windows (i.e., GL on Windows)
  * Converted d3d_info, d3d_poly_info, and d3d_texture_info into classes
  * Added batching of vectors for possible speed increase
  * Minor cleanup of shader state setting
2013-05-19 16:21:26 +00:00
Oliver Stöneberg
82819cf953 vconv: added support for -mavx and -flto (nw) 2013-05-18 15:53:20 +00:00
Andrew Gardner
7964d924b3 Adds memory tracking to debugger. This includes two new commands: trackmem and
pcatmem(p|d|i).  [Andrew Gardner]

Fixes left-click selection bug in the memory window. [Andrew Gardner]


Explanation:
------------
Call trackmem to start tracking which PC writes to which address in memory and 
pcatmem(p|d|i) to query a memory region for which PC wrote to it.  Users of 
the QT debugger can also right click on a memory address in the memory window 
to make a popup message appear with the results - right-clicking also 
automatically copies the resultant PC onto the clipboard.  (I'll attach an 
image of this behavior in a follow-up mail).
2013-05-09 19:20:05 +00:00
Miodrag Milanovic
4bf717996f Cleanups and version bump 2013-04-30 06:36:06 +00:00
R. Belmont
192c8ee88b SDL: Don't double-shutdown the font cache on *IX when exiting with the debugger enabled. [R. Belmont] 2013-04-29 03:09:57 +00:00
R. Belmont
897bea2bc6 OS X: Support for both OS X native and Unix-style multiuser installs. [R. Belmont, Nick Boos] 2013-04-28 19:08:54 +00:00
Andrew Gardner
98a13a7570 QT Debugger: Now saves all settings for all open windows - including docks
in the main debug window.
             Also fixes bug where closing the main window with the X in the
             corner didn't save settings properly.  [Andrew Gardner]
2013-04-27 05:03:39 +00:00
Andrew Gardner
cd2e723710 Convert the std::vector of settings to a simple_list in preparation for saving
individual window settings.  (nw)
2013-04-25 05:21:45 +00:00
Andrew Gardner
dd8d9b0044 QT Debugger: Adds trackpc command, allowing for a visual display of where the
program counter has visited in the dasm windows.
Run "help trackpc" in the debugger to see the options. [Andrew Gardner]


Out of whatsnew:
This isn't enabled by default because of how sloooow it is to disassemble each
opcode when you want to compute its crc32.  That can be sped up with lookup 
tables and the like.

There's a good chance I should pull the 'clear tracks' argument into its own
command, but it functions as-is.

This can be added to the windows debugger with a simple change to the
osd display code.
2013-04-20 16:36:14 +00:00
smf-
210848fdad fixed compile error (nw) 2013-04-15 11:30:08 +00:00
cracyc
5b2dde69b9 bitbngr: handle create (nw)
winsocket: use GetLastError (nw)
2013-04-15 04:08:12 +00:00
cracyc
5ee7683519 upd765_dsk: don't crash when inserting a disk after removing a different size one (nw)
winsocket, winptty: don't use osd_free on pointer allocated with malloc (nw)
2013-04-15 02:10:49 +00:00
R. Belmont
07df4de8a9 SDL: Fix symlink handling by internal file manager. [qmc2] 2013-04-13 01:14:11 +00:00
Miodrag Milanovic
c6cd8a09c8 Cleanups and version bump 2013-04-09 06:46:57 +00:00
Miodrag Milanovic
beab9e3007 revert of r22266 (nw) 2013-04-08 14:19:17 +00:00
Ryan Holtz
a6ac25b796 Convert d3d_texture_info to a class, nw 2013-04-07 23:14:22 +00:00
Michaël Banaan Ananas
4dba2235a1 drawd3d.c - Fixes performance issues with YIQ enabled and prescale_x/prescale_y changes no longer impacts colors. [Just Desserts, Robert Tuccitto] 2013-04-06 22:33:58 +00:00
Andrew Gardner
de35bcf071 QT Debugger: The memory view chunk size radio now reports proper sizes.
Fixed "ignore" command reporting incorrect invalid CPUs.
             Fixed crazy code responsible for opcodes' crc32s in the comments system
             (what was I thinking back then?). [Andrew Gardner]
2013-04-02 03:33:43 +00:00
Andrew Gardner
518043eb5b QT Debugger: Fixes bug where commands don't refresh all windows. 2013-03-31 16:09:41 +00:00
Oliver Stöneberg
9e90158d7d disabled some GCC-specific hacks in sdl.mak when clang is being used / also silenced linker for DISTRO=ubuntu-intrepid (nw) 2013-03-20 17:54:09 +00:00
Andrew Gardner
8cc2092788 QT Debugger fixes:
- New memory windows start focused on the active CPU.
  - Opening a utility window, closing it, and stepping no longer re-opens the window. 
    [Andrew Gardner]
2013-03-19 16:55:21 +00:00
Miodrag Milanovic
0e1f5ad25b Cleanups and version bump 2013-03-19 07:22:20 +00:00
R. Belmont
b92fda6d04 SDL: Make the Qt debugger the default for *IX and Win32 builds. 2013-03-17 17:57:32 +00:00
Miodrag Milanovic
b3b3257747 Windows OSD / stdout/stderr output buffering [qmc2] 2013-03-17 08:39:26 +00:00
cracyc
e85a5663ae netdev_pcap: set non-block mode for winpcap (nw) 2013-03-09 22:31:11 +00:00
cracyc
7bda3f5ee8 netdev_tap: filter packets try 2 (nw) 2013-03-04 01:46:22 +00:00
cracyc
b3486955c1 Oops 2013-03-02 03:35:42 +00:00