Vas Crabb
8fbc771daa
Port Windows debugger to C++, fix some memory leaks, make menus and window resize a bit nicer
2015-02-21 05:10:14 +11:00
Peter Ferrie
bf7ce936cb
fix compile on MSVC 2012 (nw)
2015-02-19 18:25:41 -08:00
Miodrag Milanovic
aed606ca14
Fix warning (nw)
2015-02-19 13:33:22 +01:00
Vas Crabb
847726b1dc
Disable decrease bytes per line menu items when only one chunk per line is displayed
2015-02-19 04:24:57 +11:00
Vas Crabb
099df52e38
Allow paste from OS clipboard to debugger windows (use context menu)
2015-02-19 03:19:33 +11:00
Vas Crabb
9770a7aa9c
Allow copying visible portion of debug view to OS clipboard
2015-02-19 02:47:41 +11:00
Vas Crabb
c46847b551
Better autosizing for windows
2015-02-19 01:55:24 +11:00
Vas Crabb
5810647ed1
Make resizing the device info windows work nicely
2015-02-19 01:36:11 +11:00
Vas Crabb
fc66643879
Add preliminary device detail windows
2015-02-19 00:42:26 +11:00
Vas Crabb
69c1475dbf
Move breakpoint control code out of view class - it doesn't really belong there
2015-02-18 18:21:36 +11:00
Vas Crabb
073e19b89d
Allow breakpoint toggle and run-to-cursor on non-current CPUs in Qt debugger
2015-02-17 21:52:48 +11:00
Vas Crabb
00ec6889f2
Intuitive mouse dragging on views supporting selection, improved click-through behaviour
2015-02-17 21:21:43 +11:00
Miodrag Milanović
22d84e0b21
Merge pull request #132 from cuavas/master
...
More Cocoa debugger improvements
2015-02-17 08:48:18 +01:00
Vas Crabb
33965546d7
Try not to crash on hard reset
2015-02-17 18:09:50 +11:00
Vas Crabb
145ad17fa2
Add devices window to cocoa debugger
2015-02-17 17:32:25 +11:00
Vas Crabb
ee0309eede
Allow run-to-cursor and breakpoint set/clear/enable/disable for inactive CPUs
2015-02-17 17:31:54 +11:00
Vas Crabb
e05a076b94
* Map visited to a background colour
...
* Allocate colours once only
* Make disassembly view context menu easier to use again
* Console feedback for breakpoint changes
* Update views for breakpoint changes
* Map Option-/Command-click to middle/right click
* Disassembly/memory views inherit focus from parent window
2015-02-17 17:31:52 +11:00
Vas Crabb
87e38fd1d3
Remove redundant filename prefix
2015-02-17 17:31:51 +11:00
Vas Crabb
1be009a431
Make QT debugger file names match class names without redundant prefix
2015-02-17 17:31:50 +11:00
Miodrag Milanovic
4568aca145
Fixed osdmini compile (nw)
2015-02-16 19:06:29 +01:00
Parry
320c41ceae
sdl: Add BASELIBS for MACOSX_USE_LIBSDL
2015-02-15 22:28:10 +08:00
couriersud
78afab6f5a
And the last one pre holiday ... Fix -mt on OSX. (nw)
2015-02-14 20:32:47 +01:00
Vas Crabb
8a7a3abe07
Seems debug views don't mark dirty on click handling
2015-02-14 23:01:09 +11:00
Vas Crabb
8918376d56
More functionality, including (break|watch)points view
2015-02-14 22:51:10 +11:00
Vas Crabb
6519c9fee9
Fix a dumb bug, use newer interfaces
2015-02-14 21:12:16 +11:00
Vas Crabb
503f71a189
Check which control sends event
2015-02-14 18:00:56 +11:00
Vas Crabb
6ec9472c84
More intuitive command/expression history
2015-02-14 18:00:56 +11:00
Vas Crabb
146653f9d7
Far better handling of font metrics in Cocoa debugger, and more efficient drawing
2015-02-14 18:00:56 +11:00
Vas Crabb
b8a7b454d2
Break up the Cocoa debugger by class - it's ugly crammed into a single file
2015-02-14 18:00:56 +11:00
couriersud
2cbcf1c4ef
Fix compile. [Vas Crabb]
2015-02-14 02:43:27 +01:00
couriersud
40628a06a2
Merge branch 'master' of https://github.com/mamedev/mame.git
2015-02-13 21:38:58 +01:00
Oliver Stöneberg
f0f8531973
fixed clang compiler warning (nw)
2015-02-13 16:03:04 +01:00
Miodrag Milanovic
9c75643564
verinfo to python (nw)
2015-02-13 15:25:13 +01:00
couriersud
1568bbccb7
More code alignment for windows and renderer. (nw)
2015-02-12 22:10:08 +01:00
couriersud
14689ed98d
Use user_settings from render_container. (nw)
2015-02-12 20:02:54 +01:00
couriersud
4a99009812
Fix messed up comment. (nw)
2015-02-12 12:59:44 +01:00
couriersud
a3b8fa8a79
Remove start_viewscreen, fix sdl.mak. (nw)
2015-02-12 08:26:07 +01:00
couriersud
8238369547
Temporarily break SDL1.2 Xinerama Multi-Monitor Support as announced on
...
mailing list. (nw)
2015-02-12 01:09:08 +01:00
couriersud
b7b984766e
Add a pointer to the render_container to quad_primitives. This can be
...
used to pick up user_settings for gamma, brightness and contrast in case
they will ever be supported by the OSD layer. (nw)
2015-02-12 00:28:42 +01:00
couriersud
e444a829ea
More osd_window migration. (nw)
2015-02-11 19:59:43 +01:00
couriersud
a0dccc50e1
Identified window properties/variables which are used by renderers.
...
Althought the code in window.h is far from nice currently it now allows
to address one issue after the other. (nw)
2015-02-09 00:21:28 +01:00
couriersud
d685f05949
sdl render operation moved towards the way window deals with renderers.
2015-02-08 16:07:22 +01:00
Justin Kerk
2756a23b1a
Emscripten target now uses SDL2. [Justin Kerk]
2015-02-07 20:41:47 +00:00
Justin Kerk
3cbfac80cb
Fix SOUND_JS module (nw)
2015-02-07 20:11:06 +00:00
couriersud
f3d3cbde44
Removed debug output from input.c.
2015-02-06 23:49:46 +01:00
couriersud
9b460727ee
Fix baseline (windows) "-video none" build. There is something else
...
going wrong here. The renderer is never setup and actually called. That
may be one purpose but should be documented in renderer_none. (nw)
2015-02-06 22:20:34 +01:00
announ
c58e0db8b8
Set SDL_HINT_MOUSE_RELATIVE_MODE_WARP only for SDL ≥ 2.0.2
2015-02-06 11:38:31 +00:00
couriersud
f5a41bb547
A bit more alignment between windows and sdl. (nw)
2015-02-06 02:20:19 +01:00
couriersud
984e40296b
Get rid of "resize" render method. (nw)
2015-02-06 01:13:55 +01:00
couriersud
950b1b0514
Introduced a comparable "osd_renderer" interface like it now exists for
...
SDL to mainline.
Ultimately, this will allow renderers to be placed in modules\renderer
and e.g. allow the opengl renderer to be used in mainline or the d3d
renderer to be used in sdlmame. (nw)
2015-02-05 23:24:15 +01:00
couriersud
f9ab852d6d
Fix compile on windows (sdl). (nw)
2015-02-05 02:11:49 +01:00
couriersud
5d33de6aab
Remove some passing around of running_machine where it is not needed.
...
(nw)
2015-02-05 01:58:55 +01:00
couriersud
0c7b5ff66e
Too many #defines and #ifdefs. Missed this one on drawgbfx. (nw)
2015-02-05 01:10:32 +01:00
couriersud
dabb6b1799
Moved all window related code to window.c. (nw)
2015-02-05 01:06:37 +01:00
couriersud
a5707267cc
Window creation now is done in windows.c. (nw)
2015-02-04 19:03:20 +01:00
couriersud
07bae39a05
Some more code alignment. (nw)
2015-02-04 18:16:42 +01:00
couriersud
f240e21b22
Merge branch 'master' of https://github.com/mamedev/mame.git
...
Conflicts:
src/osd/sdl/drawsdl.c
2015-02-04 14:37:41 +01:00
couriersud
fba518ef0c
Safety commit before pull. More code alignment. (nw)
2015-02-04 14:24:05 +01:00
peterferrie
aa0ffdc153
fix compile on MSVC 2012 (nw)
2015-02-03 23:03:32 -08:00
arbee
228980b852
SDL: fix GCC 4.9 + Clang compiles (nw)
2015-02-03 20:04:49 -05:00
couriersud
84c053f76e
Reowrked the -video soft driver so it works like accel and opengl. That
...
will enable the move of some now identical functions back to window.c.
(nw)
2015-02-03 19:31:11 +01:00
arbee
2e8389c978
Fix SDL build breakage (nw)
2015-02-02 21:55:20 -05:00
couriersud
c9829f91b7
Make sure testkeys ends up in $(BIN). (nw)
2015-02-03 00:42:00 +01:00
couriersud
e8b343f79e
Fixed natural keyboard input on all platforms for SDL2 builds. (nw)
2015-02-03 00:35:04 +01:00
Ramiro Polla
2d1e9b160b
Only evaluate sdl- and pkg-config commands once
2015-02-02 22:49:24 +01:00
couriersud
ec0dbc3fed
Add a netdev provider "none" as a fallback doing nothing.
2015-02-02 01:59:04 +01:00
couriersud
06b848185f
Changes to the build system:
...
- BGFX library is set in windows.mak and sdl.mak now. This ensures the
library is only build when needed.
This is necessary to be able to build MAME on systems without opengl
support.
Support was added for an optional BIN location for executables. The
default is still the root folder. Setting BIN=bin e.g. will put
executables in bin.
2015-02-01 19:26:10 +01:00
Miodrag Milanovic
5806f40f57
fix bgfx compile on linux, still disable till confirmed (nw)
2015-02-01 18:02:56 +01:00
couriersud
e7f527fbd8
If USE_BGFX is enabled, sdl.mak switches to ldd linking of
...
GL libraries. (nw)
2015-02-01 16:11:19 +01:00
couriersud
68fb63ad77
Merged in BGFX changes and adapted BGFX draw to inherit from
...
osd_renderer.
Made BGFX optional for SLD builds. You have to specify USE_BGFX=1 to
enable BGFX. This is a temporary measure until dynamic linking is
resolved. (nw)
2015-02-01 16:01:36 +01:00
couriersud
041eaa6874
Merge branch 'master' of https://github.com/mamedev/mame.git
2015-02-01 15:30:01 +01:00
couriersud
da27a8aa0d
Aligned code. Once done the window creation code should be in window.c
...
to avoid having near identical code in each render driver. (nw)
2015-02-01 15:28:19 +01:00
Miodrag Milanovic
cfcc125ec2
Added BGFX skeleton to SDL build as well (nw)
2015-02-01 14:02:38 +01:00
couriersud
2a8936c2fe
Merge branch 'master' of https://github.com/mamedev/mame.git
2015-02-01 13:39:41 +01:00
couriersud
f56cc0e706
Fix compile. (nw)
2015-02-01 13:34:02 +01:00
Miodrag Milanovic
2735c12862
Added BGFX as video output. For now rendering info shown only (nw)
2015-02-01 11:20:38 +01:00
couriersud
786cd2af66
introduced concept of an osd_renderer. Changed draw code to
...
inherit from this interface. (nw)
2015-02-01 03:00:21 +01:00
couriersud
5848dc2013
More transition to "m_" members. (nw)
2015-01-31 23:58:22 +01:00
Oliver Stöneberg
6b75e786a3
some winprefix.h cleanups (nw)
2015-01-31 23:54:38 +01:00
Oliver Stöneberg
78bacb07c2
restored winprefix.h change by Peter Ferrie (nw)
...
also moved some code around and only defined strtoll when it is actually
necessary
2015-01-31 23:42:53 +01:00
couriersud
d614721163
All private members for sdl_window_info now start with "m_". (nw)
2015-01-31 23:39:57 +01:00
Oliver Stöneberg
22b90a3374
Revert "fix compile on MSVC 2012 (nw)"
...
This reverts commit 9afc7cdb5b
.
2015-01-31 23:36:03 +01:00
Oliver Stöneberg
f47544a1b7
vconv: disabled C4826 again (nw)
2015-01-31 23:34:21 +01:00
Justin Kerk
509e4d02da
Fix compile with NO_USE_MIDI (nw)
2015-01-31 12:46:19 -08:00
couriersud
af11b691cb
Fix clang build. (nw)
2015-01-31 14:17:41 +01:00
couriersud
8c3b8d43c7
Converted midi into a module. (nw)
2015-01-31 02:39:40 +01:00
couriersud
bd2555b7ed
Fixed SDL1.2 (osx, linux, windows). (nw)
2015-01-30 23:32:22 +01:00
couriersud
4b4625109c
Missed one file. (nw)
2015-01-30 21:26:27 +01:00
couriersud
403b27d615
Merge branch 'master' of https://github.com/mamedev/mame.git
2015-01-30 21:10:42 +01:00
couriersud
ae4dddb9c1
Converted pcap and taptun network code into modules. (nw)
2015-01-30 21:10:32 +01:00
peterferrie
9afc7cdb5b
fix compile on MSVC 2012 (nw)
2015-01-30 11:36:06 -08:00
couriersud
723823ce11
Update sdl.mak
2015-01-30 20:29:17 +01:00
couriersud
5e9193ed5c
Converted osd/sdl/nedev_pcap.c to dynamic library loading. (nw)
2015-01-29 23:44:06 +01:00
couriersud
3192bf3e76
Merge branch 'master' of https://github.com/mamedev/mame.git
2015-01-29 23:25:46 +01:00
couriersud
fe4698fbd6
Merge pull request #124 from 0-wiz-0/master
...
Define network API to use on NetBSD.
2015-01-29 23:25:01 +01:00
couriersud
f952a4a3ba
Converted sdl_monitor_info into a proper object. (nw)
2015-01-29 23:19:27 +01:00
Thomas Klausner
7d1fe0cc62
Define network API to use on NetBSD.
...
Fixes build on NetBSD.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
2015-01-29 22:51:10 +01:00
couriersud
8fb02ea6b7
Some fixes for multimonitor fullscreen on linux and windows. In
...
virtualbox, even switchres now works for two monitors. That doesn't
imply it will work on real hardware. The probability is higher :-)
On windows, default render driver now is "opengl" since direct3d
wouldn't work reliably.
This functionality currently is limited to to the "-video accel" driver.
More userspace blitting enhancements. [Couriersud]
2015-01-29 21:14:00 +01:00
couriersud
0ef3771202
Converted blit13.h to templates and fixed a number of bugs around
...
different ycc formats. (nw)
2015-01-29 00:29:17 +01:00
couriersud
48a36e5241
Merge remote-tracking branch 'origin/master'
2015-01-28 19:37:34 +01:00
Justin Kerk
f56e1f309e
More JSMESS breakage (nw)
2015-01-28 15:47:03 +00:00
Miodrag Milanovic
26e7a17b63
Cleanups and version bump
2015-01-28 09:20:10 +01:00
couriersud
008091ce22
Merge branch 'master' of https://github.com/mamedev/mame.git
2015-01-28 08:58:54 +01:00
DopefishJustin
13b862c4fa
JSMESS compile fixes (nw)
2015-01-28 06:28:35 +00:00
couriersud
e1878a631c
Amended comment about prescale. (nw)
2015-01-27 22:35:09 +01:00
couriersud
88d592679d
Fix SDLMAME build on windows without QT debugger.
2015-01-27 20:25:28 +01:00
mamehaze
487b50fa14
make 'auto' on SDL Windows mean 'OpenGl' The MACOSX build is already this way so hopefully not an issue. Non-GL performance on Windows is terrible (I struggle to get >100% on pacman)
2015-01-27 14:01:03 +00:00
couriersud
0c299bda6b
Fix compile for Windows/non-sdl. (nw)
2015-01-27 02:30:24 +01:00
couriersud
fed05b1e86
Promote osd_getenv from osdlib.h to osdcore.h. Change return type to
...
"const char*". Fixes netlist compile.
2015-01-27 01:43:04 +01:00
couriersud
7d8546a111
Removed include not needed. Fixed compile. Thanks David! (nw)
2015-01-27 01:21:33 +01:00
couriersud
500801d2bc
Change pcap warnings to be verbose. (nw)
2015-01-25 23:01:51 +01:00
couriersud
c3aa0eedbf
Minor Solaris fixes. (nw)
2015-01-25 22:58:54 +01:00
couriersud
36c9bba47d
Solaris 11 build support. [Couriersud]
2015-01-25 22:01:16 +01:00
couriersud
da8810b1bc
Fix osx compile. (nw)
2015-01-25 15:00:26 +01:00
couriersud
e8233100c2
Merged winmisc/sdlmisc into osdlib_*.c. (nw)
2015-01-25 13:53:11 +01:00
couriersud
d2ef6dfc1f
Converted modules/debugger/* to new module infrastructure. (nw)
2015-01-25 03:45:00 +01:00
couriersud
2bd20baaba
Renamed osd_debugger_interface to debug_module in a first step to move
...
to new module infrastructure. (nw)
2015-01-24 21:03:59 +01:00
couriersud
10b3dce34d
SDL keeps adding SDL_HINTs with every patch release. [qmc2]
2015-01-24 17:30:00 +01:00
couriersud
4e94cc61de
More code alignment (windows/sdl). (nw)
2015-01-24 15:33:06 +01:00
couriersud
3818ac2be2
Converted sound modules to be osd_modules. Simplified code. (nw)
2015-01-24 02:20:18 +01:00
couriersud
4a4ae1d5ed
Added a generic module abstraction layer and migrated font modules to
...
use this layer. (nw)
2015-01-23 19:53:42 +01:00
Osso13
c96597932e
fixed compile (nw)
2015-01-21 19:08:23 +01:00
Oliver Stöneberg
42f03a6943
vconv: documented all disabled warnings / added VS2013 define (nw)
...
also removed some warnings, that don't happen anymore and don't like
like they should be disabled
2015-01-21 16:10:17 +01:00
couriersud
a80f04072d
Moved font code into osd/modules/font. Extended osd_font to a proper
...
interface. (nw)
2015-01-19 21:47:09 +01:00
couriersud
3a67f64355
- Fix SDL Windows compile.
...
- Aligned strconv.h (same code on sdl and mainline).
- Aligned font code between sdl and mainline
2015-01-18 22:57:30 +01:00
R. Belmont
d847b5864f
Merge pull request #107 from wallyweek/cfalco
...
*nix: Bump version and date in man pages. [Wallyweek]
2015-01-18 15:13:19 -05:00
Cesare Falco
4488e12e3f
*nix: Bump version and date in man pages.
2015-01-18 19:26:45 +01:00
couriersud
18d5da6b0b
Changed osd_font to struct osd_font and removed unnecessary osdepend.h
...
includes.
2015-01-17 15:59:43 +01:00
Miodrag Milanovic
da8c30dfe4
fixed osdmini compile (nw)
2015-01-17 10:06:55 +01:00
couriersud
b5558df1cf
Removed some machine() references
2015-01-14 03:35:10 +01:00
couriersud
11af4265a0
OSD Updates:
...
- OSD can now use OPTION_COMMAND; added execute_command handler to
osd_interface.
- moved list_network_devices and list_midi_devices to OSD
2015-01-14 01:05:38 +01:00
couriersud
410c8e8a1b
Merge branch 'master' of https://github.com/mamedev/mame.git
2015-01-13 20:46:02 +01:00
couriersud
e216457fcd
Untangled options inheritance. Previously code locked in osd_options
...
locking any potential future OSD to these.
Options inheritance now is
core_options
emu_options
cli_options
osd_options
[sdl|win]_osd_options
This required a number of minor changes to other code as well.
Tested on linux-sdl, windows-sdl, windows-mainline, osx-sdl
2015-01-13 20:23:00 +01:00
Miodrag Milanovic
02173bc23d
Good enough (nw)
2015-01-13 19:16:38 +01:00
Miodrag Milanovic
f7a05d9b14
Placed change back
2015-01-13 17:48:12 +01:00
Miodrag Milanovic
a4f63895e9
For x64 builds force Win7 minimum (nw)
2015-01-13 11:51:05 +01:00
cracyc
9196e1e80c
debugqt: alternatively... (nw)
2015-01-12 15:42:48 -06:00
cracyc
e0f73c58ae
debugqt: get machine from somewhere (nw)
2015-01-12 15:25:00 -06:00
couriersud
a532231701
Converted back osd_interface into a pure interface.
...
The previous version just exhibited any member of osd_interface to the
core. This one limits core access to osd to those functions originally
specified.
There is room for improvement going forward here in the design. Left
FIXMEs where appropriate. (nw)
2015-01-12 02:19:14 +01:00
Miodrag Milanovic
8aeab92955
Added include of stdarg to support some platforms (nw)
2015-01-11 17:08:03 +01:00
Miodrag Milanovic
2412275296
Ported changes done in previous source to make portmidi compile (nw)
2015-01-10 17:42:41 +01:00
Miodrag Milanovic
60d8d08c52
Compile fixes (nw)
2015-01-10 12:24:05 +01:00
Miodrag Milanovic
c4fa7719b1
Added integral version of WinPcap SDK (nw)
2015-01-10 12:21:12 +01:00
couriersud
363b6dd26c
Aligned sdlfile.c to winfile.c (which is actually included by sdl).
...
Consequently removed quite some dead code spread across different files.
2015-01-10 01:53:20 +01:00
couriersud
d1f0fd9fe8
Moved OSX osd_sleep and friends to modules/lib (nw)
2015-01-10 01:12:58 +01:00
couriersud
dfb34cdb00
For unix and windows, moved osd_ticks() and friends to
...
src/osd/modules/lib. For mainline and SDL windows the implementations
slightly differed. Dropped the SDL one in favour of mainline windows
osd_ticks() implementation. (nw)
2015-01-10 00:47:56 +01:00
couriersud
a96765a520
Fix windows compile and add missing files. (nw)
2015-01-10 00:09:06 +01:00
couriersud
7c21447150
Merge branch 'master' of https://github.com/mamedev/mame.git
2015-01-10 00:06:11 +01:00
couriersud
d7b9f653e3
Moved osd midi stuff to osd/modules/midi. Needed to touch a couple of
...
other files so that mame compiles and links. Tested SDL build
(linux/windows).
2015-01-09 23:21:19 +01:00
mamehaze
6e8a78dd0b
actually this is less invasive, based on code that was already there, and works in all cases, previous attempt failed when writing sfiii3 nvram (nw)
2015-01-09 22:04:59 +00:00
mamehaze
1e81bd2557
restore path creation in SDLMAME builds on Windows.
...
note, this is a bit ugly, I humbly ask that if somebody has a better solution they revert this and apply it instead.
The root of this issue is when SDL builds on Windows were converted over to simply using the WIndows file handling (so that large files requiring 64-bit pointers. eg. laserdisc CHDs would work) sdlfile.c simply includes winfile.c from the Windows code.
The rest of the SDL code is however passing incorrect slashes in the paths to the Windows code, causing it to fail when creating new folders.
To fix this I've simply copied a #if defined that was used in the sdlfile.c code, and applied it to the winfile.c code in places where path seperators are used, thus fixing the issue for both regular and SDL builds on Windows. It might however be more appropriate to filter / correct these further up?
2015-01-09 19:25:12 +00:00
Oliver Stöneberg
fb72a4033c
src/osd/modules/sync: added some errorhandling (nw)
2015-01-09 12:20:45 +01:00
Oliver Stöneberg
03fea60f02
fixed Visual Studio compilation (nw)
2015-01-09 11:58:03 +01:00
couriersud
b20dd29d62
Commit missing files. (nw)
2015-01-09 08:55:02 +01:00
couriersud
799d10beb3
Move definition of -DOSD_WINDOWS, -DOSD_SDL and -DOSD_MINI into
...
$(OSD).mak. Added sanity check to makefile. [Couriersud]
2015-01-09 03:25:46 +01:00
couriersud
ac27a0991c
Fix bug in work_osd.c causing discrete sound to crash. [Tafoid, Haze,
...
Couriersud]
2015-01-09 03:03:44 +01:00
couriersud
14e96b6f9d
- Moved OS specific low level code to osd/modules/lib.
...
- Removed duplicate code
- Should support LIB/BASELIB separation better going forward
2015-01-09 03:01:20 +01:00
Oliver Stöneberg
1178b2dc22
osd_work: use same SPIN_LOOP_TIME value on all platforms (nw)
2015-01-08 12:21:57 +01:00
Oliver Stöneberg
5253c48fe6
fixed testkeys linking on Windows (nw)
2015-01-08 11:19:47 +01:00
Oliver Stöneberg
b07ef1dc5e
osd_work: moved thread count printing to KEEP_STATISTICS / prevent KEEP_STATISTICS loop from going out-of-bounds (nw)
2015-01-08 10:55:56 +01:00
Oliver Stöneberg
3908aa8ccf
sync: cleanups (nw)
2015-01-08 10:08:00 +01:00
R. Belmont
91cf4d319e
Merge pull request #95 from ramiropolla/cross-compile
...
Fix linking for Windows SDL cross-compilations (ramiropolla)
2015-01-07 22:37:01 -05:00
Ramiro Polla
929ef81d6c
Fix linking for Windows SDL cross-compilations
...
- Library names must be lower-case when cross-compiling from Linux (-limm32 instead of -lImm32)
- ntohl() needs -lws2_32
2015-01-07 23:41:11 +01:00
Oliver Stöneberg
269035ff03
osd_work: default back to numproc-1 threads for WORK_QUEUE_FLAG_MULTI (nw)
2015-01-07 23:41:03 +01:00
couriersud
b052d877de
Fix compile of sync_sdl.c. (nw)
2015-01-07 20:56:57 +01:00
Oliver Stöneberg
894d241fff
added OSD_EVENT_WAIT_INFINITE and implemented it properly for all platforms (nw)
2015-01-07 17:03:32 +01:00
Oliver Stöneberg
3bffa5e3cf
osd_work: use n threads when n CPUs are detected since modern CPUs have at least two cores per CPU (nw)
...
also makes -np use the actual number supplied across all platforms
2015-01-07 16:47:09 +01:00
Oliver Stöneberg
7dd9bd50d8
osd_work: small formating change (nw)
2015-01-07 16:43:11 +01:00
Oliver Stöneberg
143caa2616
osd_work: use the non-yield implementation of spin_while() for all platforms (nw)
...
futher tests have shown there is no actual speed difference - and it
reduces the CPU load even more
2015-01-07 16:42:16 +01:00
Oliver Stöneberg
4a6ead87e7
osd_work: removed maximum thread limit for WORK_QUEUE_FLAG_HIGH_FREQ queue on Windows (nw)
...
with the new SPIN_LOOP_TIME value it now scales
2015-01-07 14:28:50 +01:00
couriersud
dc4705d91f
SDL: Driver accel (draw13.c) now supports "-filter", i.e. bilinear
...
filtering. [Couriersud]
2015-01-06 23:08:26 +01:00
couriersud
8da5cfa3dd
Fixed two SDL2 bugs:
...
- Window height was 0 after a switch from fullscreen to windowed if
sdlmame was started in fullscreen
- Fixed -switchres. This is now working on Ubuntu 14.04 again.
Performance will vary on your hardware and drivers and I suspect
SDL to be partly broken.
2015-01-06 22:50:00 +01:00
couriersud
95a1d29afe
Proposal to fix MT05682 (SDL resize issue). Please check and provide
...
feedback whether MT05682 can be closed. (nw)
2015-01-06 16:04:22 +01:00
couriersud
631fb2cfe2
Fixed linking of chdman (nw)
2015-01-06 15:36:40 +01:00
Oliver Stöneberg
911293884f
osd_work.c: lowered SPIN_LOOP_TIME / TODOs (nw)
...
this at least greatly reduces the CPU load when running n64dd
2015-01-06 12:13:24 +01:00
Oliver Stöneberg
0290d016d3
osd_work.c: limit WORK_QUEUE_FLAG_HIGH_FREQ to 3 threads since we don't scale well above / logging (nw)
...
tested with n64dd on Windows with Intel Sandy Bridge i7-2600k with GCC
and Visual Studio 2013 compiles with and without optimization
2015-01-06 12:00:32 +01:00
Oliver Stöneberg
c41db9fdd1
osd_work.c: only allocate main threads when WORK_QUEUE_FLAG_MULTI / some logging of thread count / fixed clang warning (nw)
2015-01-06 11:20:29 +01:00
couriersud
7ddd65cbc1
Minor code path optimization. (nw)
2015-01-06 04:03:39 +01:00
couriersud
594bfc43b4
Use templates to implement spinning in work_osd.c. This will fix
...
radikalb and other games using poly.c. (nw)
2015-01-06 03:50:13 +01:00
Oliver Stöneberg
f8b39bd494
some small work_osd.c refactoring and lots of TODOs (nw)
2015-01-06 02:56:24 +01:00
couriersud
2c4b785554
Merged winwork and sdlwork into osd/modules/sync/work_osd.c. Moved
...
miniwork.c to osd/modules/sync/work_mini.c
The makefile now adds either a OSD_SDL, OSD_WINDOWS or OSD_MINI
define to DEFS. This was necessary so that work_osd.c could determine
the build on a OSD level. (nw)
2015-01-06 02:18:38 +01:00
couriersud
ecbe137ed9
Hopefully fix Visual Studio compile. (nw)
2015-01-05 21:05:01 +01:00
couriersud
6c8cdef998
Merge branch 'master' of https://github.com/mamedev/mame.git
2015-01-05 19:51:08 +01:00
couriersud
58abceed03
Moved sync related osd stuff to osd/modules/sync. (nw)
2015-01-05 19:50:36 +01:00
Miodrag Milanovic
559a09fd9e
just for cross (nw)
2015-01-05 19:12:43 +01:00
Miodrag Milanovic
fc402057e7
Make cross compiled windows build to be independent from dll's (nw)
2015-01-05 12:20:23 +01:00
couriersud
836ed8f2a7
Renamed draw[sdl2|ogl|sdl]_window_get_primitives and related variables
...
to set_target_bounds. That's what is really done here. Moved common code
back to window.c. (nw)
2015-01-05 03:10:11 +01:00
couriersud
91005a5e13
Fix compiling with SDL 1.2, BASELIBS need X11 in this case. (nw)
2015-01-05 03:03:49 +01:00
couriersud
9dd8b47bf4
Fixed a memory leak in draw13.c and a clipping issues with vertically
...
flipped textures. Simplified the code and added consts were appropriate.
This was a preparation for using SDL2.0 texture rotation going forward.
(nw)
2015-01-05 01:54:24 +01:00
peterferrie
17f660d6eb
winprefix: support some C99 extensions in older MSVC [Peter Ferrie]
2015-01-03 18:22:18 -08:00
Miodrag Milanovic
f17d2dec29
Make sdl windows build compile (nw)
2015-01-03 12:15:50 +01:00
Oliver Stöneberg
e85c30afa2
vconv: fixed potential memory leaks (nw)
2015-01-02 13:36:44 +01:00
Oliver Stöneberg
c7922d275f
fixed Visual Studio warnings (nw)
2015-01-02 13:30:08 +01:00
Wilbert Pol
d18d667665
Fixed building of tools on OSX; patch might not be complete (nw)
2015-01-01 23:57:25 +01:00
couriersud
c0c22a0894
Hopefully fix unused variable error in GCC 4.9.2
2015-01-01 23:28:59 +01:00
couriersud
fde220f4a7
Palettes are now copied during get_primlist. This should fix
...
multithreading related palette issues. Along the way also
- added constructors to SDL osd structs
- changed related malloc to global_alloc
- added a copyfrom routine to dynamic_array
- minor code simplifications.
2015-01-01 22:13:55 +01:00
Oliver Stöneberg
6c0a4f47e3
a few more data race fixes / cleanups (nw)
2015-01-01 20:03:07 +01:00
Oliver Stöneberg
1c94c3f408
introduced BASELIBS to makefile to link smaller tools with less dependencies (nw)
2015-01-01 15:17:09 +01:00
Oliver Stöneberg
ab2876ab12
fixed yet another data race warning (nw)
2015-01-01 15:15:03 +01:00
Oliver Stöneberg
0c0260ec2d
"fixed" uninitialized memory usage/data race in osd_work_item_wait (nw)
...
appears to be a Linux-only issue
2015-01-01 15:02:21 +01:00
Oliver Stöneberg
f563f3bbf2
more ThreadSanitizer data race warning "fixes" (nw)
2014-12-31 11:43:50 +01:00
Oliver Stöneberg
953acc0a69
fixed another ThreadSanitizer data race warning (nw)
2014-12-31 10:50:59 +01:00
Oliver Stöneberg
23d9d7a00b
fixed ThreadSanitizer data race warnings in winwork.c/sdlwork.c (nw)
2014-12-31 10:24:17 +01:00
Oliver Stöneberg
a36d8f2fc0
fixed ThreadSanitizer warning about unlocking a non-locked mutex (nw)
2014-12-31 10:23:22 +01:00
Miodrag Milanovic
e6f78d5ed2
Cleanups and version bump
2014-12-31 07:53:27 +01:00
Wilbert Pol
dedb5c5d22
Move some includes around to fix compile errors on OSX; if this breaks any other environments then feel free to revert this. (nw)
2014-12-29 23:23:51 +01:00
Oliver Stöneberg
dfe67b4e7e
fixed linking on FreeBSD (nw)
...
also simplified network part in sdl.mak a bit
2014-12-29 20:38:18 +01:00
couriersud
42c969c07e
Changed sdl_window_info to be closer to C++:
...
- Made some members private
- moved static functions into sdl_window_info
- extended work_param struct with constructors for better readability
2014-12-29 02:00:57 +01:00
couriersud
587d5ff248
Fix "-mt" for SDLMAME windows build [Calamity, Couriersud].
2014-12-28 18:36:45 +01:00
Miodrag Milanovic
823854ec1d
Enable proper network compile for SDL windows build (nw)
2014-12-24 16:01:17 +01:00
arbee
57ebc93cae
SDL2: Improved Alt-Enter functionality (now works on all screens at once) and prefer upper-left placement of windowed mode windows. [R. Belmont]
2014-12-22 23:38:25 -05:00
Olivier Galibert
02027ddfcc
debug/qt: Add a per-device window [O. Galibert]
...
There probably is interesting information to add, and it can look
better. Anybody, feel free to enhance it :-)
2014-12-22 20:16:45 +01:00
cracyc
c52f1266d8
windows too (nw)
2014-12-19 12:02:53 -06:00
Olivier Galibert
09ec9d6006
qt/debug: Device tree view. Looks cool with mu100 or lindbios [O. Galibert]
2014-12-19 18:26:46 +01:00
Fabrice Bellet
1417b6be30
debug: fix the gui for smaller fonts
...
Using a font pointsize different from 11pt has a consequence that
fontWidth (in pixels) is not an integer anymore.
2014-12-18 08:27:14 +01:00
Tarnyko
41679b20d1
Do not check gl_lib() without OpenGL support
...
The gl_lib() function is not defined if we do not #USE_OPENGL,
as can be seen in osdsdl.h. Building with NO_OPENGL=1 then
breaks, unless we add this conditional #ifdef.
Signed-off-by: Tarnyko <tarnyko@tarnyko.net>
2014-12-16 02:08:59 +01:00
R. Belmont
8c2024272d
Merge pull request #82 from wallyweek/cfalco
...
Bump version in *nix man pages [wallyweek]
2014-12-15 09:31:04 -05:00
Cesare Falco
ba26498178
Bump version in *nix man pages
2014-12-15 13:12:04 +01:00
Kyungdahm Yun
59b5d8b6a3
Use consistent logical ID for joystick registration log
2014-12-15 01:41:43 -08:00
Ramiro Polla
d7b7853943
Fix crash on fatalerror from winwindow_video_window_create()
2014-12-15 01:01:42 +01:00
jbu
f6ec0e0596
Add 4 7seg digits for the outputs 6, 7, 14 and 15. The remaining 22, 23, 30 and 31 are unused (nw)
2014-12-09 18:43:46 +01:00
Parry
5d8dc09b12
Fix build with non-framework SDL 2 issue on OS X
...
* Don't hard coding SDL execution name.
* Linking Cocoa's library.
2014-12-01 15:56:26 +08:00
Cesare Falco
0899cb2056
Merge branch 'master' into manpages
2014-11-26 13:24:17 +01:00
Miodrag Milanovic
ebeaa953a3
Cleanups and version bump
2014-11-26 10:37:58 +01:00
Justin Kerk
a309d4274d
Slightly more optimized SDL defaults for Emscripten (nw)
2014-11-23 20:11:30 -08:00
Cesare Falco
d8dd3d318e
More updates to manpages
2014-11-21 15:28:55 +01:00
Cesare Falco
8011ed3b70
More man pages revision, order options
2014-11-20 23:09:22 +01:00
Cesare Falco
22f3179585
Revised manpages for 0.156
2014-11-20 09:18:51 +01:00
Oliver Stöneberg
b05773824e
removed duplicated line of code (nw)
2014-11-10 10:19:15 +01:00
Justin Kerk
5e52630af1
Build fixes for Emscripten (nw)
2014-11-05 23:12:54 -08:00
Cesare Falco
0cf1f4e090
Man pages (*nix): Fixed some typos and bumped version to 0.155
2014-10-30 17:52:42 +01:00
Miodrag Milanovic
63469469ba
Added -listnetwork option to list available network adapters
2014-10-23 09:26:29 +02:00
peterferrie
bafe1596c8
winpcap: add WinPCap headers to the project;
...
windows.mak: include WinPCap headers during Windows build; suppress MSVC debug build warning
2014-10-22 17:25:03 -07:00
Oliver Stöneberg
0de7c60ca2
restored USE_NETWORK checks (nw)
2014-10-22 15:54:48 +02:00
Robert
3761dcbb7c
Fix for network compile
2014-10-22 23:18:05 +11:00
Oliver Stöneberg
77e299bbcd
increased maximum allowed stack size of Visual Studio Code Analysis (nw)
2014-10-22 09:23:56 +02:00
arbee
a9ce0f0fbd
SDL: experimental rework of buffer size calculation. (nw)
2014-10-21 00:11:30 -04:00
Alex W. Jackson
ce2ff23fe0
SDL: Allow SDL_LIBVER to be overridden without modifying sdl.mak
2014-10-20 23:13:51 -04:00
arbee
5912fc0a5b
Tell SDL to stop sound when volume is set to max attenuation. (nw)
2014-10-20 22:10:30 -04:00
arbee
8482a70a1e
Reverse the networking polarity in the OSD makefiles. (nw)
2014-10-20 21:56:01 -04:00
arbee
b1efba0d14
SDL: SDL2 is now the default except for OS/2 builds. [R. Belmont]
...
USE_NETWORK Ethernet emulation is now enabled by default as per the roadmap. [R. Belmont]
2014-10-20 20:42:20 -04:00
David Viens
b8191193e9
Update winos.c
...
MSVC2010 compilation fix
2014-10-20 14:38:48 -04:00
Andrew Gardner
846d034c3a
Fixed strange display of long strings in Qt debugger (nw).
2014-10-19 12:44:24 +00:00
Andrew Gardner
bebe879e85
MT 05527 [Andrew Gardner]
...
The Qt debugger now behaves more like the Windows one, with horizontal
scrollbars where the core views expect them.
2014-10-18 17:23:45 +00:00
smf-
587f0e9cfd
fixes for building with VS14 CTP4 (nw)
2014-10-17 12:58:00 +00:00
Miodrag Milanovic
c93ed344fb
Cleanups and version bump
2014-10-15 07:19:47 +00:00
R. Belmont
f38b72ea7d
(MESS) osdcore: reject invalid MIDI bytes with no status, fixes most 6850-based MIDI setups. [R. Belmont]
2014-10-13 20:04:05 +00:00
Oliver Stöneberg
e2a6faf36d
added makefile variable OPENMP to enable usage of OpenMP (includes vconv support of -fopenmp) [Oliver Stöneberg]
2014-10-01 09:17:09 +00:00
Scott Stone
b52a88cc03
Changing #includes for headers that are part of toolchain and not part of any source/external library. Removal of references to messvers.rc as it does not appear to be used anymore. (nw)
2014-09-29 02:00:23 +00:00
Oliver Stöneberg
ee5d9d9fd7
more changes to make sdlwork.c and winwork.c match (nw)
2014-09-20 08:45:40 +00:00
Oliver Stöneberg
a841aa4054
removed cpu mask and thread affinity code from src/osd/sdl/sdlwork.c as suggested by couriersud (nw)
2014-09-20 08:40:48 +00:00
R. Belmont
32288a9f08
SDL: use Windows OSD's font-selection semantics for SDL Windows builds. [R. Belmont]
2014-09-14 15:44:26 +00:00
Oliver Stöneberg
1a610ff531
more sdlwork.c and winwork.c consolidation / SDL now supports envrionment variable OSDWORKQUEUEMAXTHREADS (nw)
2014-09-13 19:59:51 +00:00
Oliver Stöneberg
f4d61505ee
more work to make sdlwork.c and winwork.c match / un-broke Windows SDL build by completely moving the sdlsync_win32.c code to winsync.c (nw)
2014-09-13 19:44:41 +00:00
Oliver Stöneberg
5f7dbbad6b
added comment to sdlsync_win32.c (nw)
2014-09-13 10:23:46 +00:00
Oliver Stöneberg
6232bc0e50
more work to make sdlwork.c and winwork.c match (nw)
2014-09-13 10:23:17 +00:00
Oliver Stöneberg
f176a45d35
a bit more work to match sdlwork.c and winwork.c (nw)
2014-09-13 10:16:28 +00:00
Oliver Stöneberg
4d5cd61765
some refactoring to make SDL and Windows OSD code match / Windows SDL code did not delete the critical section in osd_scalable_lock_free() (nw)
2014-09-13 10:04:16 +00:00
Oliver Stöneberg
0f15f0ab00
renamed YieldProcessor() to osd_yield_processor() to match SDL more closely (nw)
2014-09-13 09:09:29 +00:00
R. Belmont
3a2f2aea25
SDL: fix Windows builds with SDL 1.2 (nw)
2014-09-13 01:45:45 +00:00
R. Belmont
8f2f9485d9
SDL: -sound dsound now works with SDL (nw)
2014-09-12 02:51:50 +00:00
R. Belmont
1527f5ca82
SDL: more attempts (nw)
2014-09-12 02:44:11 +00:00
R. Belmont
5191d3e9c7
SDL: More dsound adaptation (nw)
2014-09-12 02:33:25 +00:00
R. Belmont
0ebffa0620
Fixes to try and make direct_sound work minus WinOSD (nw)
2014-09-12 02:07:46 +00:00
R. Belmont
d488f52c17
SDL: Allow -sound dsound on SDL Windows builds. [R. Belmont]
2014-09-12 01:18:35 +00:00
Oliver Stöneberg
3568cf772f
fixed most of the -Wunreachable-code-break and -Wunreachable-code-return warnings of clang 3.5 when compiling MESS (nw)
2014-09-08 12:00:45 +00:00
R. Belmont
bbd14ca947
not quite yet (nw)
2014-09-04 02:38:10 +00:00
R. Belmont
7d874efba8
SDL: reenable SDL_ttf for SDL2 builds (nw)
2014-09-04 02:26:43 +00:00
R. Belmont
61f8d45d62
SDL: Use the same screen selection method for SDL2 as Windows. [R. Belmont]
2014-09-03 02:26:15 +00:00
R. Belmont
075268f0fd
SDL: more OS X fixes for SDL2. (nw)
2014-09-03 01:58:02 +00:00
R. Belmont
eea0414478
SDL: link properly on OS X for SDL2. [R. Belmont]
2014-09-03 01:20:39 +00:00
Miodrag Milanovic
af061e6e94
Support for SDL2 builds on win32
2014-09-02 09:01:11 +00:00
Miodrag Milanovic
ba2f3c2814
Let's static link SDL on win32 build (nw)
2014-09-02 08:35:09 +00:00
R. Belmont
6be086cf7e
SDL: remove dead code from SDL2 renderer, fix laserdisc crash with SDL2 -video accel rendering. [R. Belmont]
2014-09-02 02:08:13 +00:00
R. Belmont
4631c02ca0
SDL: More cleanups. (nw)
2014-09-01 22:38:35 +00:00
Miodrag Milanovic
57b389311f
Added window to osd_interface (nw)
...
win_monitor_info to class
win_window_info to class, partial
2014-09-01 08:58:33 +00:00
R. Belmont
923cbc2648
SDL: remove more dead code from the GL paths (nw)
2014-09-01 02:09:38 +00:00
R. Belmont
20e7944065
SDL: init timebase the first time it's needed on Windows, Mac, and OS/2 targets. [R. Belmont]
2014-09-01 01:55:58 +00:00
R. Belmont
dad3fa9540
(nw)
2014-08-31 21:52:19 +00:00
R. Belmont
ada89eb11d
SDL: fall through to the baseline Win32 implementations for file, socket, and pty/named pipe I/O. [R. Belmont]
...
nw: This fixes laserdisc games and enables socket and named pipe I/O in SDL Windows builds.
2014-08-31 20:55:48 +00:00
R. Belmont
5dfe8ac485
SDL: don't require -str to enable watchdog (nw)
2014-08-26 02:11:29 +00:00
R. Belmont
822166b6ec
SDL: update manpages [Cesare Falco]
2014-08-15 03:24:23 +00:00
Miodrag Milanovic
79246ab917
More cleanups, there is issue with srcclean that needs to be taken care as well, just doing now what we can
2014-07-22 06:21:54 +00:00
Miodrag Milanovic
5d7e1fcc62
Cleanups and version bump
2014-07-22 06:14:55 +00:00
Justin Kerk
c4e9058ee2
[JSMESS] Add shim for Web Audio sound module [Katelyn Gadd, Justin Kerk]
2014-07-22 04:51:52 +00:00
Michaël Banaan Ananas
b87fd679b4
ok nevermind
2014-07-19 00:50:11 +00:00
Michaël Banaan Ananas
1963c020ea
AvSetMmThreadCharacteristics and friends, this has been commented out since before 2007
2014-07-18 19:49:19 +00:00
Michaël Banaan Ananas
307c7aeeef
don't use timeBeginPeriod if options.sleep is enabled
2014-07-18 19:39:27 +00:00
Wilbert Pol
489aa4aca9
RB's better fix for silencing a compiler warning (nw)
2014-07-17 18:46:50 +00:00
Wilbert Pol
a2f77fe9dd
silence compiler warning (nw)
2014-07-17 18:26:59 +00:00
R. Belmont
1ecab6cb9a
SDL: rebuild all GL textures when the core changes resolutions. [R. Belmont]
2014-07-17 03:51:46 +00:00
Oliver Stöneberg
614e3cea22
vconv: map /O3 to /Ox (nw)
2014-07-02 13:46:13 +00:00
Oliver Stöneberg
273542f27d
implemented ATTR_FORCE_INLINE for Visual Studio (nw)
2014-06-30 08:55:17 +00:00
R. Belmont
90c4bfb799
(MESS) osdcore: Allow "default" for -midiin and -midiout. [R. Belmont]
2014-06-28 01:39:55 +00:00
Scott Stone
a72a335d03
Fixed up label/different hash instance with recent addition. (nw)
...
Reworded HLSL error message to best describe reason for failure. (nw)
2014-06-25 21:51:23 +00:00
R. Belmont
d899e20c9b
SDL: Always supply screen size uniforms to GLSL shaders, and fix bug with X multihead. [R. Belmont]
2014-06-14 19:10:40 +00:00
Alex W. Jackson
f661e32ec8
Change remaining references to -nosound to -sound none in code and docs; move description of -sound option to OSD-specific doc files to be orthogonal to -video (nw)
2014-06-13 21:01:35 +00:00
Oliver Stöneberg
e5384e1163
fixed -j compilation with VS2013 [Oliver Stöneberg]
2014-06-12 09:40:49 +00:00
R. Belmont
ead56f4d3c
SDL: fix -prescale 0.153 regression. [R. Belmont]
2014-06-12 03:11:37 +00:00
R. Belmont
5c20115534
SDL: Fix shaders for games that output indexed16 (e.g. pacman). [R. Belmont]
2014-06-11 03:37:23 +00:00
R. Belmont
b33377d0b1
SDL: fix 0.153 regression where user GLSL shaders didn't work. [R. Belmont]
2014-06-11 02:45:49 +00:00
R. Belmont
bf70eebc2b
debugqt: Un-revert and add fix for focus seizure [Carl]
2014-05-24 03:32:55 +00:00
R. Belmont
04139b9d8b
Reverted 30626, it trashes Linux multi-desktop setups.
2014-05-24 02:32:41 +00:00
R. Belmont
5305ed398f
debugqt: Fix 'source' capability. [Happy]
2014-05-23 20:50:16 +00:00
Alex W. Jackson
7a0aa6c75a
sdl: properly disable sound on -bench runs (nw)
2014-05-21 19:31:24 +00:00
Couriersud
168640c700
Left a comment that GL_FRAMEBUFFER_SRGB is supported by SDL2.
2014-05-18 00:46:09 +00:00
Couriersud
5ff6ac66a9
Left a "FIXME" too remind me later, that gamma needs attention in MAME.
2014-05-17 23:57:18 +00:00
Oliver Stöneberg
833c255154
use -fno-optimize-sibling-calls with SYMBOLS=1 for more complete stack traces with optimizations (nw)
2014-05-17 19:47:30 +00:00
Oliver Stöneberg
96522aaddf
fixed some memory leaks in osd (nw)
2014-05-14 07:29:51 +00:00
Couriersud
bfcd6dc8d2
Fix SDL2 compile.
2014-05-09 14:16:08 +00:00
Miodrag Milanovic
5548f9e15d
This fixes strange issue we have with sound not working in some cases
...
need to look closer what is causing issue (nw)
2014-05-09 13:24:26 +00:00
Miodrag Milanovic
b4781a98eb
there was old name here (nw)
2014-05-09 09:43:24 +00:00
Miodrag Milanovic
7e145718ea
same fix for sdl build (nw)
2014-05-08 15:07:00 +00:00
Miodrag Milanovic
888093a5c2
For windows auto is now same as d3d, till video part is redone (nw)
2014-05-08 14:59:31 +00:00
Miodrag Milanovic
964dc0c7c1
OSX fix (nw)
2014-05-08 14:44:48 +00:00
Miodrag Milanovic
04ab4108ba
osx compile fix (nw)
2014-05-08 14:41:07 +00:00
Miodrag Milanovic
729f1c569d
fix internal debugger memory handling (nw)
2014-05-08 09:20:47 +00:00
Miodrag Milanovic
f2c54ef73e
fix warning (nw)
2014-05-08 08:51:05 +00:00
Miodrag Milanovic
69faaf3aeb
-Reorganized OSD, handling more sound output systems and debuggers, defaults left same as before [Miodrag Milanovic]
...
-Created osd_options as base option class for non-system specific options
2014-05-08 07:39:04 +00:00
Miodrag Milanovic
cff20637eb
Fix osd_printf_debug regression, replace gone wrong :) (nw)
2014-05-07 07:07:04 +00:00
Miodrag Milanovic
d034eefcb5
Merged in cleanup changes from osd branch (nw)
2014-04-26 13:35:06 +00:00
Miodrag Milanovic
c0cd48a3f2
Removed dependency on pmmidi.inc (nw)
2014-04-26 05:43:40 +00:00
Miodrag Milanovic
417174ab64
ah (nw)
2014-04-25 09:31:16 +00:00
Miodrag Milanovic
1841cd1321
compile fix (nw)
2014-04-25 09:11:49 +00:00
Miodrag Milanovic
f8f3d68187
-Made osd_interface base class for OSD and moved initialization for each subsystem in it as virtual calls. (nw)
...
-Moved midi handling in base class
-Cleaned running_machine of information of next machine
-All is cleaned after exiting of running_machine so debugger window is removed as well till next machine is started
-Made osdmini to compile
2014-04-25 07:31:27 +00:00
Miodrag Milanovic
452df5037b
reverting to classic ui due to lot of issues, as much as I hate reverting some else code (nw)
2014-04-17 06:27:03 +00:00
smf-
23424647d3
Use the correct call to free memory in windows osd_close [smf]
2014-04-16 15:57:38 +00:00
Miodrag Milanovic
c76edcc8d8
we anyway do not support win95 for a time :) (nw)
2014-04-16 14:05:50 +00:00
Nathan Woods
f546afadef
ScrLock no longer is a menu key; it will now enable/disable keyboard menu shortcuts
2014-04-16 11:57:13 +00:00
Miodrag Milanovic
67663501d7
Moved eminline and related files into /src/osd since it's system related (nw)
...
Moved delegates into /src/lib/util to enable usage of delegates in other project parts
Moved mame_printf_* calls into /src/osd/osdcore.c and renamed them to osd_printf_*
Changed mess.mak to display compilation of ymmu100.ppm nicely
2014-04-16 08:04:20 +00:00
Miodrag Milanovic
0c727fc6d3
Small core cleanup (nw)
2014-04-15 11:14:46 +00:00
Couriersud
69a68387ba
Fix transparency in SDL2.0 code. [Couriersud]
2014-04-13 23:31:51 +00:00
R. Belmont
1e197e432d
SDL: fix OS X compile with non-official SDL [R. Belmont, based on a patch by Fernando Lemos]
2014-04-13 16:38:54 +00:00
Nathan Woods
24026e123e
Merge of new menubar code
2014-04-12 20:52:03 +00:00
Ryan Holtz
c3f1015d14
- Fixed bloom misalignment with HLSL. [MooglyGuy]
2014-04-08 18:34:47 +00:00
Oliver Stöneberg
eeb9af72ee
added/updated some vconv TODOs (nw)
2014-04-07 09:41:28 +00:00
Miodrag Milanovic
fec65e0b57
Cleanups and version bump
2014-04-07 06:04:18 +00:00
Michaël Banaan Ananas
32f79db380
rm unused colortable
2014-04-05 06:32:27 +00:00
Michaël Banaan Ananas
16b55173a6
fix compiler warning?
2014-04-04 17:12:39 +00:00
Oliver Stöneberg
8ec22b181c
a few adjustments for Visual Studio analysis (nw)
2014-04-04 08:09:02 +00:00
Oliver Stöneberg
fb8b975904
disabled some Visual Studio analysis warnings / fixed some obvious errors based on analysis output (-video gdi works again) (nw)
2014-04-03 20:16:50 +00:00
Miodrag Milanovic
c43e09d4ae
here ya go :) (nw)
2014-03-31 12:00:06 +00:00
Miodrag Milanovic
b34cc238d9
updated vconv for no-sign-compare (nw)
2014-03-31 10:26:26 +00:00
Miodrag Milanovic
de513a0f98
reverting, sorry for this vconv needs to be updated (nw)
2014-03-31 10:23:22 +00:00
Miodrag Milanovic
2cc9ca4c5e
VS2013 x64 is little bit more anal about signed/unsigned comparison (nw)
2014-03-31 10:06:05 +00:00
Miodrag Milanovic
b297c61ebd
made MAME and MESS compile under VS2013, 32bit only for now (nw)
...
OG: please check things in H8 core, thing in timer16 can caused some issues in past
2014-03-31 08:29:30 +00:00
Oliver Stöneberg
136b5bb9ae
vcconv: handle -msse and added a TODO about a changed behavior in VS2012 (nw)
2014-03-30 14:28:53 +00:00
Oliver Stöneberg
3ee1ea2a77
just use core_strdup() in osd_get_full_path() in src/osd/osdmini/minifile.c (nw)
2014-03-30 14:27:28 +00:00
Miodrag Milanovic
f708e7460f
making code compiles and work on mingw 32 bit on versions 4.7.x and 4.8.x (nw)
2014-03-30 11:10:39 +00:00
Oliver Stöneberg
75f2734a41
some comments (nw)
2014-03-24 22:27:38 +00:00
Oliver Stöneberg
2e5ea37f65
removed mame_* aliases and just use core_* functions (nw)
2014-03-24 22:05:08 +00:00
Oliver Stöneberg
b52f668f13
some mismatched malloc/free usage with osd_* functions (nw)
2014-03-24 21:44:43 +00:00
R. Belmont
49ddc13379
always a Clang (nw)
2014-03-21 01:54:42 +00:00
R. Belmont
f34d59a8d5
SDL: Next stage cleanup, aligned texture conversion with current Windows/D3D code, and fixed overzealous GL texture caching. [R. Belmont]
...
nw: this fixes brightness/gamma/contrast on RGB32 format games (which has been broken since 2008, clearly a well-loved feature ;-) and breaks prescale. Prescale will be fixed soon.
2014-03-21 01:51:58 +00:00
R. Belmont
e47402134e
Clang (nt)
2014-03-20 02:31:03 +00:00
R. Belmont
ebb2351c9a
SDL: Removed "totalColors" hack, now only RGB32 is sent to the GPU. [R. Belmont]
...
nw: there's much, much more cleanup to be done now, but this serves as a functional baseline.
2014-03-20 01:54:32 +00:00
Oliver Stöneberg
60bc937648
renamed pmmidi.c to pmmidi.inc
2014-03-19 17:33:10 +00:00
Oliver Stöneberg
690cd1a3a1
renamed rendersw.c to rendersw.inc
2014-03-19 17:18:56 +00:00
Oliver Stöneberg
1907b48643
and more global_free() -> global_free_array()(nw)
2014-03-17 17:15:03 +00:00
Oliver Stöneberg
01271d3f4d
more global_free() -> global_free_array() in src/osd/sdl/drawsdl.c (nw)
2014-03-17 17:04:21 +00:00
Miodrag Milanovic
a66aff27d6
primary_screen -> first_screen() (nw)
2014-03-15 13:00:23 +00:00
Oliver Stöneberg
8a80285891
removed unnecessary quoting for -DDISABLE_MIDI=1 (nw)
2014-03-12 15:53:45 +00:00
Oliver Stöneberg
41251f0b34
global_free() -> global_free_array() in src/osd/sdl/drawsdl.c (nw)
2014-03-12 10:56:30 +00:00
Justin Kerk
c521b8b150
Silence more clang warnings (nw)
2014-03-12 01:54:18 +00:00
Wilbert Pol
621083947c
Fixed OSX debugger and clang compile fix (nw)
2014-03-11 20:28:47 +00:00
Miodrag Milanovic
4c3dd33d93
fix for stream_buffer free (nw)
2014-03-11 19:48:14 +00:00
Aaron Giles
4ea9df02a1
Moved core template container classes up from emutempl.h to coretmpl.h:
...
[Aaron Giles]
* these classes now no longer take a resource_pool; everything is
managed globally -- this means that objects added to lists must be
allocated with global_alloc
* added new auto_pointer<> template which wraps a pointer and auto-frees
it upon destruction; it also defaults to NULL so it doesn't need to
be explicitly initialized
* moved tagged_list template to tagmap.h
Redo of the low-level memory tracking system: [Aaron Giles]
* moved low-level tracking out of emu\emualloc into lib\util\corealloc
so it can be shared among all components and used by core libraries
* global_alloc and friends no longer use a resource pool to track
allocations; turns out this was a wholly redundant system that wasted
a lot of memory
* removed global_resource_pool entirely
* added global_free_array to delete arrays allocated with
global_alloc_array
* added tracking of object versus array allocation; we will now error
if you use global_free on an array, or global_free_array on an object
Added new utility helper const_string_pool which can be used to
efficiently accumulate strings that are not intended to be modified.
Used by updated makelist and software list code. [Aaron Giles]
Updated png2bdc and makelist tools to not leak memory and use more modern
techniques (no more MAX_DRIVERS in makelist, for example). [Aaron Giles]
Deprecated auto_strdup and removed all uses by way of caller-managed
astrings and the software list rewrite. [Aaron Giles]
Rewrote software list management: [Aaron Giles]
* removed the notion of a software_list that is separate from a
software_list_device; they are one and the same now
* moved several functions into device_image_interface since they really
didn't belong in the core software list class
* lots of simplification as a result of the above changes
Additional notes (no whatsnew):
Moved definition of FPTR to osdcomm.h.
Some changes happened in the OSD code to fix issues, especially regarding
freeing arrays. SDL folks may need to fix up some of these.
The following devices still are using tokens and should be modernized
(I found them because they kept their token as void * and tried to
delete it, which you can't):
namco_52xx_device (mame/audio/namco52.c)
namco_54xx_device (mame/audio/namco54.c)
namco_06xx_device (mame/machine/namco06.c)
namco_50xx_device (mame/machine/namco50.c)
namco_51xx_device (mame/machine/namco51.c)
namco_53xx_device (mame/machine/namco53.c)
voodoo_device (emu/video/voodoo.c)
mos6581_device (emu/sound/mos6581.c)
aica_device (emu/sound/aica.c)
scsp_device (emu/sound/scsp.c)
dmadac_sound_device (emu/sound/dmadac.c)
s3c2440_device (emu/machine/s3c2440.c)
wd1770_device (emu/machine/wd17xx.c)
latch8_device (emu/machine/latch8.c)
duart68681_device (emu/machine/68681.c)
s3c2400_device (emu/machine/s3c2400.c)
s3c2410_device (emu/machine/s3c2410.c)
strataflash_device (mess/machine/strata.c)
hd63450_device (mess/machine/hd63450.c)
tap_990_device (mess/machine/ti99/990_tap.c)
omti8621_device (mess/machine/omti8621.c)
vdt911_device (mess/video/911_vdt.c)
apollo_graphics_15i (mess/video/apollo.c)
asr733_device (mess/video/733_asr.c)
2014-03-11 15:54:58 +00:00
Olivier Galibert
72c4cc20f8
Add an osd_truncate call to truncate files [O. Galibert]
2014-03-11 09:19:17 +00:00
Oliver Stöneberg
d10ce2efeb
removed obsolete include and corrected SDLMAME_ARCH quoting in sdl.mak (nw)
2014-03-10 16:18:44 +00:00
Oliver Stöneberg
f3e7bd7fd2
added a few more missing \n in logging / cleanups (nw)
2014-03-10 16:17:31 +00:00
R. Belmont
6f5179e975
Fix compiling on unusual OS X configurations. [Robert Walsh]
2014-03-03 02:23:04 +00:00
Oliver Stöneberg
2726675591
moved compiler-specific warning generation to shared files (nw)
2014-03-02 16:17:12 +00:00
Miodrag Milanovic
af456e80c8
proper sdl fix (nw)
2014-02-27 14:04:50 +00:00
Miodrag Milanovic
ffb3e2dcc1
fix for sdl (nw)
2014-02-27 13:56:29 +00:00
Oliver Stöneberg
23b37789fd
fixed #if checks for Visual Studio in osd/osdcomm.h (nw)
2014-02-26 10:07:14 +00:00
Oliver Stöneberg
4f4d91429d
fixed 32-bit compilation (nw)
2014-02-26 00:32:06 +00:00
Oliver Stöneberg
aa785afb99
first round of printf fixes (nw)
2014-02-25 11:55:35 +00:00
R. Belmont
3aa2d8f1e2
SDL: Cleaned up some warnings (nw)
2014-02-22 17:58:49 +00:00
Oliver Stöneberg
0b87253528
fixed bug in default font handling for OSX (nw)
2014-02-22 11:46:44 +00:00
Oliver Stöneberg
3138b2c660
second round of clang 3.4 fixes for MESS (nw)
2014-02-20 18:18:29 +00:00
R. Belmont
5b20b80e72
Fix SDL 2.0 build (nw)
2014-02-19 14:50:26 +00:00
Miodrag Milanovic
ca932a6d3d
fix SDL build (nw)
2014-02-19 11:07:33 +00:00
Aaron Giles
57cfaa163e
Switched rgb_t to a class, replacing macros with methods. Mappings are
...
as follows:
MAKE_RGB(r,g,b) == rgb_t(r,g,b)
MAKE_ARGB(a,r,g,b) == rgb_t(a,r,g,b)
RGB_ALPHA(data) == data.a()
RGB_RED(data) == data.r()
RGB_GREEN(data) == data.g()
RGB_BLUE(data) == data.b()
RGB_BLACK == rgb_t::black
RGB_WHITE == rgb_t::white
Implicit conversions to/from UINT32 are built in as well as simple
addition, subtraction, and scaling (with clamping).
As a result of being a class, some stricter typing was needed in
a few places but overall not too much.
2014-02-19 06:07:32 +00:00
Justin Kerk
e5e7dc5b61
[JSMESS] Use emscripten_get_now() instead of gettimeofday() [clb] (nw)
2014-02-13 06:05:58 +00:00
Nathan Woods
e92dab9e34
Changed how NULL callbacks are specified on win_draw_callbacks
2014-02-08 14:19:00 +00:00
Nathan Woods
93375c26c4
Adopted 'bool' type
2014-02-05 10:44:47 +00:00
Miodrag Milanovic
c859a6332e
fix for sdl compile (nw)
2014-01-29 16:45:35 +00:00
Nathan Woods
fb7edb68c6
Moved src/emu/ui.? ==> src/emu/ui/ui.?, changed to follow MAME OOP conventions; we now have a ui_manager class
2014-01-29 11:47:56 +00:00
Scott Stone
aa896515a0
This revert (r26927), as requested by author, fixes the regression of missing graphics for vector games using HLSL. Also reverted patch in code (r27063) to deal with "roundf" for pre-vs2013 compilers - which is no longer needed. (nw)
2014-01-24 00:30:29 +00:00
R. Belmont
8b24187ca7
SDL: Temporarily restore compatibility with Qt versions below 4.7. [R. Belmont]
2014-01-15 03:31:34 +00:00
smf-
f28670c9e0
Fixed compiling with Visual Studio 2012 [smf]
2014-01-11 16:04:43 +00:00
Miodrag Milanovic
6b25cfe5a8
add support to compile windows builds with gcc 4.8.2 x64 only produce working code (nw)
2014-01-10 08:20:37 +00:00
Ryan Holtz
3312b67f93
- Fix for pixel gaps between multi-screen games in HLSL mode. [MooglyGuy]
2014-01-04 03:17:31 +00:00
Couriersud
114c8d18eb
SDL2.0: Fix relative mouse motion. This makes Missile Attack playable again with my Logitech marble trackball. [Couriersud]
2014-01-01 17:18:51 +00:00
R. Belmont
82b77f00a4
(nw)
2013-12-30 11:52:07 +00:00
Jonathan Gevaryahu
a36d348683
revert stuff that probably wasn't intentionally committed. (n/w)
2013-12-29 03:57:41 +00:00
R. Belmont
d85b240903
SDL: fix build (nw)
2013-12-29 02:09:26 +00:00
Couriersud
5fc9d0703a
Netlist, make some class variables protected. No wn
2013-12-28 14:57:22 +00:00
Miodrag Milanovic
ca546caa6e
Cleanups and version bump
2013-12-24 07:24:51 +00:00
R. Belmont
409a4b02d7
SDL: slightly more inclusive ARM check (nw)
2013-12-22 22:25:27 +00:00
Michaël Banaan Ananas
da478ac3c3
fix WM_SYSCOMMAND wparam mask
2013-12-21 21:18:08 +00:00
smf-
297064c46d
re-added /wd4250 /wd4435 that was removed in r26650, to allow building with visual studio again. (nw)
2013-12-19 21:50:53 +00:00
David Haywood
34b11e6989
allow building with ICL on Windows if you have it installed into MSVC [Dean London]
...
The ICL compiler on Windows installs over MSVC and piggybacks onto the build tools Microsoft provide. To enable compilation use USE_ICL=1 when compiling with MSVC_BUILD=1 (from the ICL enabled command prompt)
+ gives a more stable build than the MSVC compiler
+ more informative compile errors when using ICL compared to MSVC compiler
+ can still use MSVC debugging tools (better than GCC)
+ can use additional intel tools etc.
- build is still slower than GCC one
out of whatsnew:
I've cleaned up this submission a fair bit, could maybe be cleaned a little more, but it's much better than what I was sent. Looking at the list of additional warnings that ICL requires to be disables reveals some to be mundane (and could probably be fixed in the source, eg. the way it doesn't like the hng64.c commenting style) whereas others look like they might be legitimate (and useful) warnings about problems we should look into.
I briefly tested this with VC2013 + Patch 1 RC and the current ICL, it appears to build and run fine.
2013-12-18 14:54:08 +00:00
Michaël Banaan Ananas
87f19ee379
Windows: Fixed D3D multimonitor support. [GroovyMAME]
2013-12-16 16:08:45 +00:00
Michaël Banaan Ananas
d466a09b8b
basically an update to r26433
...
- moved all windows-only input "NOT" rules to osd/windows
- changed windows fullscreen video from alt-f11 to shift-alt-f12
- added windows fullscreen toggle ralt-enter (heh, i didn't know that ((A AND B) OR (A AND C)) rules were possible)
2013-12-14 17:45:44 +00:00
Justin Kerk
8420457afe
Remove fstat hack no longer needed with current emscripten (nw)
2013-12-07 08:48:43 +00:00
Justin Kerk
d36fb89128
Fix JSMESS build on Ubuntu 12.10 (nw)
...
thanks to Vito for debugging this
2013-11-29 07:26:38 +00:00
Jürgen Buchmüller
7b202ee115
Use QPainter::drawStaticText() to render strings with the same attribute.
2013-11-24 10:17:13 +00:00
Angelo Salese
a29afc099d
Typo
2013-11-18 13:34:52 +00:00
R. Belmont
b5556208b0
Final fix: MAME builds warning-free on PowerPC OS X again (nw)
2013-11-16 22:43:56 +00:00
R. Belmont
cf674f39cc
SDL: fix non-Qt non-Windows build (MT #5364 ) [R. Belmont]
2013-11-14 03:58:10 +00:00
Michaël Banaan Ananas
ae2f75974f
batch vectors at the right time in queue
2013-11-11 18:53:55 +00:00
Miodrag Milanovic
44d5c1b8ab
Cleanups and version bump
2013-11-05 06:59:51 +00:00
Justin Kerk
fe5ac3c0fd
Split up the construct_core_types() monster, other JSMESS tweaks (nw)
2013-11-03 22:07:20 +00:00
Justin Kerk
1d7002416e
Simplify SDL file changes (nw)
...
I'm assuming the /work/src/m/sdl stuff is someone's testing leftover; it was added in r19797
2013-11-03 04:30:42 +00:00
Justin Kerk
cdc51864b0
Upstream changes needed to compile JSMESS [Justin Kerk, John Vilk, Justin de Vesine]
...
Out of whatsnew: there are still a few files being worked on, and the build scripts which are currently set up outside of the MAME source hierarchy. Always open to cleaner ways of doing things.
2013-11-03 01:42:33 +00:00
smf-
db806d8476
Added a hack to allow you to limit the number of threads per work queue (all other limits still apply). If you set this to 0 then chdman doesn't hang. [smf]
2013-11-02 12:34:02 +00:00
Justin Kerk
d703d6a0c1
More SDL header fixes for clang / emscripten (nw)
2013-11-01 04:31:11 +00:00
Michaël Banaan Ananas
539241d2e3
revert attempted fix for color overlays not working on vector games, this fixes MT issues 05324 and 05332, and breaks 05214 again
2013-10-28 20:23:13 +00:00
Michaël Banaan Ananas
5a9085c8a8
fix hlsl bloom drawing onto the prev frame if artwork backdrop is used (note: bug effect was not visible due to MT bug 05332)
2013-10-28 20:14:42 +00:00
Justin Kerk
6aceeec86c
Still need the stub functions from debugwin.c for the NO_DEBUGGER case (nw)
2013-10-28 05:59:36 +00:00
Couriersud
58c8d37e46
SDL: Fixed testkeys utility to compile with SDL2.0
...
What a pity that neither multiple mice nor multiple keyboards made it into SDL2.0 :-(
2013-10-26 19:47:58 +00:00
Couriersud
3b62d6c85b
SDL: Fixed a logging bug.
2013-10-26 19:46:19 +00:00
Michaël Banaan Ananas
88cd9b09b7
(Windows) add higher resolution icons for mame/mess. These were made available by JacKc a few months ago. I don't mean to imply that they are 'official', they may be replaced later.
2013-10-26 16:28:50 +00:00
Alex W. Jackson
9998681885
SDL: Fix SDL1 build (nw)
2013-10-26 11:57:38 +00:00
R. Belmont
0b159718d3
Whoops (nw)
2013-10-26 03:20:21 +00:00
R. Belmont
f710a1b48c
SDL: disable TrueType support for SDL2 builds for now. (nw)
2013-10-26 03:19:45 +00:00
R. Belmont
8679ca14bc
SDL: Fix joystick to work with final SDL 2.0 (nw)
2013-10-26 03:16:12 +00:00
R. Belmont
a353507925
SDL: Remove deprecated GTK+ debugger. [R. Belmont]
2013-10-25 02:53:57 +00:00
R. Belmont
4e8a1289bd
SDL: add SDL_FRAMEWORK_PATH option to control where SDL is installed on OS X plus OS X 10.9 support. Started removing deprecated GTK+ debugger. [R. Belmont, Balrog]
2013-10-25 02:27:31 +00:00
R. Belmont
47c548e760
SDL: OS/2 build fixes [KO Myung-Hun]
2013-10-22 13:36:20 +00:00
Jonathan Gevaryahu
7ec7aae5bd
I messed the copyrights and licenses up on these before, thanks to arbee for pointing it out (n/w)
2013-10-21 03:26:59 +00:00
R. Belmont
9a6193eca6
winfile: Allow write-only files to be opened by external programs while MAME still has them open (matches POSIX semantics, useful for log files) [Firehawke]
...
nw: This was approved by Aaron.
2013-10-20 05:23:32 +00:00
Jonathan Gevaryahu
ef3e92fcc3
Vas Crabb, from Bannister Shoutbox: "...feel free to re-license my contributions as BSD. The files that I wrote from scratch would be eigccppc.h, eigccx86.h, rgbvmx.h, osxutils.*, and the Cocoa debugger."
2013-10-16 18:54:37 +00:00
Aaron Giles
5d0ce54f9e
Bulk convert files that already had standard BSD license in my name
...
to new license tagged form.
2013-10-16 08:14:49 +00:00
Michaël Banaan Ananas
28db1b5f2d
fixed vector games black screen with hlsl
2013-10-06 21:09:15 +00:00
Michaël Banaan Ananas
ac0df6a72b
turn Windows multithreaded blit off by default: shows gfx glitches in drivers with indexed palette otherwise
2013-10-06 15:56:21 +00:00
R. Belmont
8ac006b5ff
SDL: updated man pages [Cesare Falco]
2013-10-04 02:56:29 +00:00
Oliver Stöneberg
3ea1274cf2
reverted changes to src/osd/windows/winprefix.h (nw)
2013-09-24 16:12:42 +00:00
Oliver Stöneberg
c7ab29151c
removed unused macro from src/osd/windows/winprefix.h (nw)
2013-09-24 14:56:46 +00:00
R. Belmont
f9b6a0d8f4
Better Clang support, necessary for Xcode 5.0 on OS X [R. Belmont]
2013-09-22 03:08:59 +00:00
R. Belmont
6bffcc2984
SDL: work around incorrect warning generated by Clang [R. Belmont]
2013-09-22 02:39:30 +00:00
smf-
0839767cb3
Use virtual multiple inheritance to share command processing between SCSI & ATAPI instead of having a SCSI subdevice. This allows matsushita_cr589_device & gdrom_device to derive from atapi_cdrom_device. [smf]
2013-09-17 18:23:52 +00:00
Miodrag Milanovic
96aa5e1c08
Cleanups and version bump
2013-09-17 06:47:03 +00:00
Oliver Stöneberg
8804211827
removed unused private member from src/osd/windows/d3dcomm.h (nw)
2013-09-10 10:17:08 +00:00
R. Belmont
a868bc0dbd
(nw)
2013-09-09 04:10:06 +00:00
Oliver Stöneberg
07b93f1fe4
some small tweaks for Rasberry Pi out-of-the-box compilation experience (nw)
2013-09-08 17:05:52 +00:00
Oliver Stöneberg
4492240b14
fixed potential memory leak in win_open_ptty() (nw)
2013-09-08 16:28:28 +00:00
Ryan Holtz
db6826800a
-Started re-architecting the HLSL system to be data-driven [MooglyGuy]
2013-08-30 01:47:58 +00:00
Ryan Holtz
8f613c115b
more HLSL cleanup, part e of pi (nw)
2013-08-30 01:05:13 +00:00
Ryan Holtz
ac119a8e15
uniform consolidation, nw
2013-08-29 00:56:33 +00:00
Robbbert
9f7081257d
commented out stray printf
2013-08-28 07:57:05 +00:00
Ryan Holtz
a86d35158c
minor shader cleanup, nw
2013-08-28 00:36:02 +00:00
R. Belmont
f39c565667
MIDI: fixed some SysEx issues [Christian Brunschen]
2013-08-27 03:19:54 +00:00
Ryan Holtz
8b4ef0a479
General code cleanup in HLSL, nw
2013-08-27 00:07:57 +00:00
Ryan Holtz
19057e2c78
Split HLSL pases into separate functions, nw
2013-08-25 21:18:07 +00:00
Ryan Holtz
37ce180567
-Restructured NTSC encode/decode shaders for better readability. [MooglyGuy]
2013-08-25 20:49:37 +00:00
Ryan Holtz
5d4e73bf50
01234567890123456789012345678901234567890123456789012345678901234567890123456789
...
MAMETesters Bugs Fixed
----------------------
- 05162: [Core] Toggling HLSL off then on with ctrl-alt-F5 will drop its use of
aperture.png
- 05214: [Color/Palette] bzone: bzone displays black and white.
- 05218: [Graphics] crash when hlsl_read is set to 1
- 05235: [Core] You can't alt-tab and back with HLSL enabled and in 148 you
could
Source Changes
--------------
-HLSL updates: [MooglyGuy]
* Removed hlsl_read and hlsl_write options now that all slider options are
plumbed and have values matching the INI settings
* Added more surface release calls in order to fix device resetting
* Fixed draw order for quads, overlays now appear on top of vectors in
non-HLSL mode
* Moved aperture.png loading into create_resources/delete_resources so that
it is correctly reloaded when HLSL is toggled on and off
2013-08-25 16:20:18 +00:00
Oliver Stöneberg
ab7bfd7876
removed DECL_NORETURN in favor of ATTR_NORETURN (nw)
2013-08-22 09:51:55 +00:00
Oliver Stöneberg
eb91a212ac
added makefile define DEPRECATED to show warnings about deprecated code / added ATTR_DEPRECATED / flag some stuff in diexec.h as deprecated (nw)
2013-08-22 09:40:15 +00:00
R. Belmont
72088cfa11
MIDI: System Common messages should not override running status, fixes Sierra games crashing with the MT-32. [R. Belmont]
2013-08-13 04:24:21 +00:00
Scott Stone
6a10775f6f
SDL: Revise the *IX man pages [wallyweek]
2013-08-06 22:09:48 +00:00
Oliver Stöneberg
e533ab056f
added makefile define FASTDEBUG to disable some debug-specific stuff, that is causing performance hits (for e.g. profiling) [Oliver Stöneberg]
2013-08-02 13:43:10 +00:00
Oliver Stöneberg
171d43ead6
removed Visual Studio specific makefile define MAXOPT in favor of adding more generic define LTO [Oliver Stöneberg]
2013-08-02 09:48:25 +00:00
Oliver Stöneberg
0b42d7e93b
removed obsolete define from src/osd/windows/windows.mak (nw)
2013-08-02 09:35:28 +00:00
Andrew Gardner
416c9d0190
Adds the watchpoint view to the QT Debugger's "Break|Watchpoints" window.
...
[Andrew Gardner]
2013-07-26 00:50:53 +00:00
R. Belmont
bd549978c5
Initial support for Fedora 19 / GCC 4.8.1 [R. Belmont]
2013-07-08 23:32:47 +00:00
Miodrag Milanovic
841869e9c7
temp fix for qt debugger until handling of main loop is done in different way [qmc2] (nw)
2013-07-08 12:25:03 +00:00
smf-
2e9622ecdb
Fixes for building MAME with Visual Studio 2013 preview [smf]
2013-07-05 00:45:14 +00:00
Oliver Stöneberg
a4f86de597
disabled some warnings for GCC 4.8 (nw)
2013-07-02 16:43:15 +00:00
cracyc
285531623a
diserial: add attotime and clock-div forms of set_rate and rename check_for_start to rx_w (nw)
...
debugqt: don't hide cursor while in debugger (nw)
(mess) ibmpc: xt floppies for the xt (nw)
2013-06-30 18:00:34 +00:00
R. Belmont
80cf988718
Don't crash if pcap can't find a network interface's name [Richard L. Hamilton]
2013-06-28 01:51:02 +00:00
Oliver Stöneberg
b175ba2bc1
fixed uninitialized variables in sdlvideo_monitor_refresh() with SDL < 1.2.10 (nw)
2013-06-26 17:48:57 +00:00
Oliver Stöneberg
770249850d
fixed emuallo.c compilation for good / enabled U64 and S64 for Visual Studio compilers (nw)
2013-06-25 13:44:47 +00:00
Andrew Gardner
e74983f6f8
QT Debugger: Finished up the breakpoints window. [Andrew Gardner]
...
It now shows breakpoints for all CPUs and lets you sort by
each field.
2013-06-12 06:22:35 +00:00
Miodrag Milanovic
16f5234d43
Cleanups and version bump
2013-06-11 07:16:42 +00:00
Oliver Stöneberg
247f0b4883
merged duplicated define in src/osd/sdl/sdl.mak (nw)
2013-06-08 10:21:11 +00:00
Scott Stone
0319c7ca06
Fix per OG to allow SDLMAME to compile on Windows (nw)
2013-06-07 17:42:42 +00:00
cracyc
7d929c24c9
add the breakpoint window to the win32 build too (nw)
2013-06-06 18:35:13 +00:00
Andrew Gardner
32861d94f5
QT Debugger: WIP for a new breakpoints window. [Andrew Gardner]
...
--out of whatsnew.txt--
You can't click to enable/disable breakpoints yet, and the number of rows
doesn't resize yet, but that stuff will come.
2013-06-06 17:58:16 +00:00
David Haywood
37af3bed32
the actual fixed build part (nw)
2013-06-06 03:53:03 +00:00
David Haywood
4bd5fe4c21
"put HLSL back ..." fix build etc.
2013-06-06 02:43:23 +00:00
Ryan Holtz
cbf1480545
As this project is clearly now run by people who care more about "feelings" and playing patty-cake with one another rather than actual results, consider this my resignation letter.
...
Anyone who wants to know where HLSL went, feel free to ask Tafoid why he couldn't take a simple joke.
2013-06-06 01:57:42 +00:00
Ryan Holtz
bb629f90d3
- Added better .ini defaults for HLSL, and hooked up bloom sliders. [MooglyGuy]
...
(nw) "Tell that Dave to be cool! Say 'Dave be cool'! Tell that Dave to chill! Chill that Dave out!!"
2013-06-05 23:43:57 +00:00
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