Miodrag Milanovic
98297ad03d
fix linux build (nw)
2015-04-22 13:41:00 +02:00
Miodrag Milanovic
da12f5356a
bugix and sdl fix (nw)
2015-04-22 13:22:18 +02:00
Miodrag Milanovic
54f8b3ae5d
moved all to std::string (nw)
2015-04-22 11:30:45 +02:00
couriersud
0e5436c325
Make sure monitor refresh is called when switchres is used (SDL). Remove
...
a printf. (nw)
2015-04-21 21:22:53 +02:00
couriersud
eb7b5c027e
Fix repetitive monitor updates. By design, MAME has an issue setting
...
aspect correctly on monitor resolution changes. This needs to be
addressed separately. [Couriersud]
2015-04-20 23:57:44 +02:00
Miodrag Milanovic
ca0b1aaeaa
fix a leak (nw)
2015-04-20 08:49:04 +02:00
Vas Crabb
8c2c7994cc
Fix OSX build and get rid of an astring while at it
2015-04-20 11:51:16 +10:00
couriersud
91a86a45e1
Fix debug build. (nw)
2015-04-19 19:23:51 +02:00
Miodrag Milanovic
2f095e71f1
SDL fix (nw)
2015-04-19 12:21:16 +02:00
Miodrag Milanovic
71c4d9f304
removed bool conversion and implicit empty check (nw)
2015-04-19 12:08:52 +02:00
Miodrag Milanovic
3c3ee1d177
more conversions to std::string (nw)
2015-04-19 08:08:34 +02:00
Miodrag Milanovic
38458c4d8f
fixed alloca define to standard one (nw)
2015-04-18 12:50:19 +02:00
Vas Crabb
bf30ebe77e
Fix build
2015-04-17 00:22:37 +10:00
Miodrag Milanovic
cce44e050a
Fix compiling tools on OSX 10.10 (nw)
2015-04-16 15:26:52 +02:00
Scott Stone
826aa7900f
Attempt fix of Windows inability to compile (from Vas Crabb) (nw)
2015-04-14 19:39:32 -04:00
Olivier Galibert
278cf84e55
Replace dynamic_array with std::vector [O. Galibert]
2015-04-14 19:58:17 +02:00
Miodrag Milanovic
2edee0b811
updated astring constructors to have just one string param, to be more like std::string (nw)
2015-04-13 12:25:21 +02:00
Miodrag Milanovic
f2243d6020
string -> str part 1 (nw)
2015-04-12 15:36:44 +02:00
couriersud
cbce884666
Fix compile. (nw)
2015-04-12 12:00:58 +02:00
Miodrag Milanovic
7faba31b1b
There is no implicit conversion to char* in std::string (nw)
2015-04-12 08:05:43 +02:00
Miodrag Milanovic
6b36c7ab22
cstr() - > c_str() as preparation for move to std::string (nw)
2015-04-11 15:26:58 +02:00
Miodrag Milanovic
9458659b71
VS2015 compile works (nw)
2015-04-10 15:34:16 +02:00
Vas Crabb
e42b2099b1
Merge branch 'master' of https://github.com/ZoeB/mame
...
Conflicts:
src/mess/drivers/elecbowl.c
src/mess/drivers/hh_hmcs40.c
src/mess/drivers/hh_tms1k.c
2015-04-10 18:28:57 +10:00
Zoë Blade
cbe827d44e
Tidy tidying
...
Vas correctly points out that I'm a bit overzealous with blank line
deletions when they're there for perfectly good reasons.
2015-04-10 08:54:37 +01:00
Vas Crabb
511c2462aa
More Leopard fun (nw)
2015-04-10 08:27:00 +10:00
Vas Crabb
768fbd1b64
Honour -debugger_font and -debugger_font_size in Cocoa debugger.
...
Not perfect yet - text fields and popup menus aren't sized to fit
2015-04-09 22:01:16 +10:00
Vas Crabb
e973a403a0
Honour debugger font choice with Qt debugger
2015-04-09 21:19:41 +10:00
Miodrag Milanovic
73dfafaa95
removed vconv, updated warnings/error for vs and icl (nw)
2015-04-09 13:05:10 +02:00
Vas Crabb
5523e7fffe
Small cleanup
2015-04-09 18:32:00 +10:00
Vas Crabb
94149cd5a6
Proper C++ for DirectSound module, get rid of all static variables, some encapsulation
2015-04-09 18:05:44 +10:00
Vas Crabb
9deeec3f9c
Attempt Leopard compatibility
2015-04-09 09:46:24 +10:00
Vas Crabb
b9a298b847
Add audio output selection for CoreAudio
2015-04-09 00:47:19 +10:00
Zoë Blade
4cc89fb552
Tidy whitespace in plain text files
2015-04-08 15:27:15 +01:00
Vas Crabb
afc3990d46
Make AUEffectUtil suck less
...
* Save window positions with .aueffect documents
* Allow generic view to be selected for effects with custom views
* Allow factory presets to be loaded
2015-04-08 19:16:05 +10:00
Vas Crabb
f8f29ba8c2
Add save all menu item to AUEffectUtil
2015-04-08 03:27:36 +10:00
Vas Crabb
aa3b457f35
Improvements to CoreAudio output
...
* Clean up CoreAudio module, break up big functions, re-use more code
* A little cleanup in AUEffectUtil
* AUEffectUtil sizes windows automatically
* Proper handling of unsaved changes in AUEffectUtil
2015-04-08 03:17:25 +10:00
Olivier Galibert
3f90ddd678
Fix yuv texture conversion for opengl [O. Galibert]
2015-04-07 19:07:17 +02:00
Vas Crabb
23247b3fb6
Add AudioUnit effect support to MAME
2015-04-07 21:38:43 +10:00
Vas Crabb
caf4face0d
Convert CoreAudio output to use AUGraph in preparation for effects
2015-04-07 21:38:43 +10:00
Vas Crabb
e3df530786
Make OSD options an init parameter for modules
2015-04-07 21:38:43 +10:00
Vas Crabb
7bdafcf33c
Add options for AudioUnit effects
2015-04-07 21:38:42 +10:00
Vas Crabb
7251c89cf4
Add a crappy utility for editing AU effect presets
2015-04-07 21:38:42 +10:00
Miodrag Milanovic
cdc1fb2bee
fix for mingw-clang sdl build (nw)
2015-04-06 14:09:09 +02:00
Miodrag Milanovic
9eafc36819
removed not needed declaration (nw)
2015-04-06 14:08:50 +02:00
Miodrag Milanovic
1c61e69daf
Fixed non-unicode builds (nw)
2015-04-06 11:52:35 +02:00
Vas Crabb
29d96af74d
CoreAudio sound output good enough to be default on OSX
2015-04-05 23:56:19 +10:00
Vas Crabb
971a8da26d
Bigger isn't always better (nw)
2015-04-05 07:53:33 +10:00
Vas Crabb
ee0fd53c28
I can be really dumb sometimes
2015-04-05 02:13:46 +10:00
Vas Crabb
bec996831e
the AudioUnit is happier if we don't stop it for silence (nw)
2015-04-05 02:38:41 +11:00
Vas Crabb
18ec0951bd
Add a simple CoreAudio sound output module
...
It doesn't provide facilities for AU effects, although that could be
added pretty easily if someone wants to. Advantages over SDL sound
output are simpler code and lower latency.
2015-04-05 01:48:35 +11:00
Vas Crabb
73f53bb15e
* Take more link dependencies caused by OSD out of genie.lua
...
* Always dynamically link SDL on Windows
* Fix SDL1 build on Windows
2015-04-04 18:25:04 +11:00
Vas Crabb
a119fc50ab
Remove some obsolete code, enable MALLOC_DEBUG for SDLWin32
2015-04-04 15:05:21 +11:00
Vas Crabb
4cd434246d
Bring back USE_SDL, CYGWIN_BUILD and malloc debugging for Windows OSD
2015-04-04 14:53:47 +11:00
Vas Crabb
80b4bd05e9
Some compilers don't like implicitly casting negative values to unsigned types
2015-04-03 09:34:35 +11:00
Vas Crabb
0a1b6b66b0
Fix warning with some clang configurations, don't automatically disable bgfx for 10.5 Leopard
2015-04-03 08:14:30 +11:00
Vas Crabb
c8a45461d5
get rid of some obsolete/unreachable stuff, get rid of more abuse of SDLMAME_ macros outside OSD
2015-04-02 23:37:34 +11:00
Vas Crabb
a63bd12019
Add back support for big endian targets including OSX-PPC
2015-04-02 22:26:35 +11:00
arbee
140163dcc7
netdev: fix race condition/crash when using the OSD to choose pcap devices. [Rob Braun]
2015-04-01 21:57:10 -04:00
Miodrag Milanovic
ec0553414d
MSVC build fix (nw)
2015-04-01 10:27:34 +02:00
Vas Crabb
5ca7080703
Link osdnet into a library reflecting its location, define USE_NETWORK properly, don't use SDL in non-SDL-specific macros
2015-04-01 18:00:35 +11:00
Vas Crabb
19d52cef70
Bring back NOASM
2015-04-01 16:12:03 +11:00
Vas Crabb
cb10350dd4
Fix Cocoa debugger leaks with SDL2, still looking into crash on exit
2015-04-01 12:44:59 +11:00
Vas Crabb
4d84885a29
Refactor out common OSD modules into separate lua file
2015-04-01 07:29:54 +11:00
Vas Crabb
30ef0cb847
Small cleanup to how macros are defined for SDL OSD
2015-04-01 03:03:17 +11:00
Miodrag Milanovic
49545f9e84
Remove need for winprefix.h and moved alloca define to osdcomm.h (nw)
2015-03-31 11:09:10 +02:00
Miodrag Milanovic
c44d434416
Changes in order to compile SDL build under VS2013, removed duplicated code, it exists in strconv (nw)
2015-03-31 09:48:28 +02:00
Vas Crabb
6bd93dc2c9
No more need for PATH_SEPARATOR inside SDL
2015-03-31 15:41:02 +11:00
Miodrag Milanovic
de541d79ee
removed windows/osinline.h and placed MSVC dependent files in top folder (nw)
...
moved MSVC defines from winprefix.h to osdcomm.h
removed empty file compilation - porttime.c
removed osinline.h in windows and sdl and change files using them.
2015-03-30 20:30:18 +02:00
Vas Crabb
945ff007a6
Fix creation of paths
2015-03-31 01:51:01 +11:00
Miodrag Milanovic
72d5222016
made bgfx compile on more platforms (nw)
2015-03-29 14:29:06 +02:00
Vas Crabb
3010be4c30
SDL and Windows strconv are the same thing.
2015-03-29 18:23:02 +11:00
Miodrag Milanovic
e14a06de87
Split OSD per file [qmc2]
2015-03-27 13:01:03 +01:00
Miodrag Milanovic
f76d59c41d
Moved build system to GENie [Miodrag Milanovic]
...
make TARGET=mess -j19
will generate all needed files and build MESS, while developing you can use
make TARGET=mess COMPILE=1 -j19
to prevent rebuilding of make files.
Build system have automatic generate of dependencies so will do incremental builds fine.
make clean
will remove all generated files/projects and obj files
2015-03-26 09:00:39 +01:00
Miodrag Milanovic
0147bb4cc8
Cleanups and version bump
2015-03-25 08:16:51 +01:00
Oliver Stöneberg
442aedc911
made -[no]dummywrite DEBUG only and removed it from the official documentation (nw)
2015-03-24 10:37:17 +01:00
Cesare Falco
efc7dedb57
Updated *nix manpages to forthcoming 0.160
2015-03-23 12:57:46 +01:00
Oliver Stöneberg
2849b81c5d
removed unnecessary assert.h includes (nw)
...
including global one for Visual Studio
2015-03-20 11:36:49 +01:00
Oliver Stöneberg
bf586d0bcc
small windows.mak cleanup (nw)
2015-03-20 10:56:51 +01:00
Peter Ferrie
9cf8308096
font_windows.c: don't crash if no memory for bitmap [Peter Ferrie]
...
more graceful exit will occur when next malloc() fails, and condition
might be temporary
2015-03-18 19:18:00 -07:00
Peter Ferrie
672ce6c666
debugwin.c: avoid race condition where debugger window update request is made before debugger is initialised [Peter Ferrie]
2015-03-16 17:35:28 -07:00
Miodrag Milanovic
9b2a16c12f
Added ability to completely disable MIDI [qmc2] (nw)
2015-03-16 17:37:07 +01:00
Miodrag Milanovic
41cfcb26c4
some compilers have trouble with this (nw)
2015-03-16 10:29:26 +01:00
Peter Ferrie
366a5b7272
osd_opengl.h: fix compile on MSVC 2012 (nw)
2015-03-15 21:06:36 -07:00
Vas Crabb
af7b120d82
OS/2 patches for SDLMAME 0.159 [KO Muyng-Hun]
2015-03-15 22:57:16 +11:00
Oliver Stöneberg
5366e265b6
default to DirectInput 8 so it builds with 3rdparty/dxsdk out of the box [Oliver Stöneberg]
2015-03-12 20:14:41 +01:00
Miodrag Milanovic
8908bdc264
Removed unused variable (nw)
2015-03-06 16:08:00 +01:00
Vas Crabb
c728179916
Fix SDL1 build
2015-03-06 12:38:11 +11:00
couriersud
8477b99c8c
Swap interval for baseline opengl.
...
I can't test this. Neither virtualbox nor wine seem to support WGL
Extensions. (nw)
2015-03-05 02:44:07 +01:00
couriersud
972de7ee3d
Fix debug build. (nw)
2015-03-04 21:45:47 +01:00
couriersud
98a6781c27
First step to move osd_printf_* into osd again. Callbacks are now
...
implemented using an interface and use a push/pop approach where the pop
can happen out of order of pushes. [Couriersud]
2015-03-04 01:39:52 +01:00
Peter Ferrie
a6890cb916
don't crash if malloc fails (nw)
2015-03-02 19:01:15 -08:00
Peter Ferrie
e77ccca75d
really fix opengl compile on MSVC (thanks to couriersud) (nw)
2015-03-02 19:00:45 -08:00
couriersud
9754f63086
Avoid members having the same names as wgl* functions. Renamed those to
...
pfn_wgl... If any windows headers do some macro magic, this should work
around it. (nw)
2015-03-03 02:23:12 +01:00
couriersud
fddd44793c
Just another one for Peter. (nw)
2015-03-02 23:21:05 +01:00
couriersud
401f483615
Reorder includes in drawogl.c. (nw)
2015-03-02 22:51:30 +01:00
couriersud
081cae6919
Fix fullscreen toggle for the accel driver os OSX. [Couriersud]
2015-03-02 22:04:21 +01:00
couriersud
de6b090917
OpenGL MSVC fix for Peter. If compiling under MSVC, don't use GL/gl.h or
...
GL/glext.h. Use our own headers. (nw)
2015-03-02 21:05:39 +01:00
couriersud
8338e0d7a4
Fix switchres for sdl build. (nw)
2015-03-02 01:53:25 +01:00
couriersud
168e4d3d2b
Some more alignment. (nw)
2015-03-01 22:08:27 +01:00
couriersud
563ff83b3b
Aligned monitor handling between sdl and baseline. [Couriersud]
2015-03-01 18:31:53 +01:00
couriersud
b818233abc
Fix clipping bug (e.g. apparent in neogeo) for video accel. Minor code
...
changes. [Couriersud]
2015-03-01 02:51:49 +01:00
couriersud
ea57f3ebaf
Fix detecting rotation for "-video accel" for quadratic screen bitmaps.
...
[Couriersud]
2015-02-28 20:35:52 +01:00
couriersud
86108cceea
Fix mame restart (builtin game selector) in draw13.c. [CourierSud]
2015-02-28 17:34:22 +01:00
couriersud
f33d0614c3
OpenGL on windows now supports glsl options. This worked out of the box
...
with wine64 and on virtualbox windows7 (64bit).
mametiny.exe gridlee -video opengl -gl_glsl -glsl_shader_mame0
shader/glsl_plain -glsl_shader_mame1 shader/TV/tv -now
-gl_forcepow2texture -keepaspect
[Couriersud]
2015-02-28 14:30:12 +01:00
couriersud
b414a032e6
Merged sdl_video_config and win_video_config
2015-02-28 13:28:23 +01:00
couriersud
8a3bc6b8e4
Moved all renderers to osd/modules/render. (nw)
2015-02-28 00:21:44 +01:00
couriersud
218c388088
Fix resizing on windows. (nw)
2015-02-27 18:09:39 +01:00
couriersud
50d7d0f8ad
Fixed windows baseline build.
...
More osd_dim use. (nw)
2015-02-27 01:42:50 +01:00
couriersud
dae49b998a
Fix windows sdl build. (nw)
2015-02-27 00:31:15 +01:00
couriersud
b77fbed384
Introduced osd_rect and osd_dim to allow for more code alignment. (nw)
2015-02-27 00:19:41 +01:00
couriersud
4001dfe147
C++'d more of window.c (nw)
2015-02-26 19:38:42 +01:00
couriersud
e3d8bf2f0d
Fix other builds. Still fighting a bit with eGit. (nw)
2015-02-26 08:26:58 +01:00
Vas Crabb
fa02cb4060
Speculatively fill in what couriersud forgot to commit. This is
...
probably horribly wrong, but it fixes the build and renders video OS X
with the OpenGL renderer. Treat it as an interim fix to keep things
working (for some values of "working") until couriersud commits the
actual code.
2015-02-26 16:21:30 +11:00
couriersud
a7e6dbdef2
Merge branch 'master' of https://github.com/mamedev/mame.git
2015-02-26 01:40:30 +01:00
couriersud
eb8144a3bb
Moved opengl related stuff to modules/opengl
2015-02-26 01:40:18 +01:00
cracyc
2139591ccc
fix building qt debugger on windows (nw)
2015-02-25 16:56:43 -06:00
couriersud
0fd2001a67
Enable OpenGL renderer on Windows. By default, run-time function
...
resolution is enabled.
To resolve addresses, the code now first tries GetProcAddress followed
by wglGetProcAddress. [Couriersud]
2015-02-25 23:44:17 +01:00
Miodrag Milanovic
6ae44e46f9
Cleanups and version bump
2015-02-25 08:09:13 +01:00
Miodrag Milanovic
65c0f32ba7
Fixed USE_BGFX build for SDL (nw)
2015-02-24 19:10:52 +01:00
Vas Crabb
c0be42503c
OS/2 patches for SDLMAME v0.158 [KO Myung-Hun]
2015-02-24 20:52:46 +11:00
Alex W. Jackson
757335d048
Whoops, I knew I'd miss something in src/osd/windows (nw)
2015-02-23 16:54:55 -05:00
Alex W. Jackson
afa3796da8
render.c: render_containers now always make their own copy of the emulation palette for paletted textures, whether or not there are custom brightness/contrast/gamma settings. Fixes -mt color issues in driftout, raphero, etc. without the additional complexity introduced in fde220f4a7
(which has been reverted) (nw)
2015-02-23 14:51:32 -05:00
Oliver Stöneberg
97d6571cfc
disabled another Visual Studio warning (nw)
2015-02-23 13:55:28 +01:00
Peter Ferrie
be54232cf6
make declarations match (nw)
2015-02-22 21:35:37 -08:00
couriersud
ed4d846b77
Fixed fullscreen toggling (SDL2) on OSX. Simplified multithreading
...
code-paths (via defines). (nw)
2015-02-23 02:33:44 +01:00
couriersud
c2c3a819a5
Merge branch 'master' of https://github.com/mamedev/mame.git
2015-02-22 20:34:12 +01:00
couriersud
9fcd415327
WM_DESTROY may be send multiple times. This also fixes
...
-bench X crashes. (nw)
2015-02-22 20:24:16 +01:00
Vas Crabb
3047ba4982
Add a whole line scroll mode to make breakpoints/watchpoints header work nicely
2015-02-23 04:23:12 +11:00
Vas Crabb
deaf2eef30
More intelligible auto window position code
2015-02-23 04:23:12 +11:00
couriersud
4ca1df404e
Fix 32bit build of sdlmame on Win32. (nw)
2015-02-22 17:37:46 +01:00
couriersud
996a15bbd7
More alignment of code:
...
- HDC is passed differently to gdi renderer (the only one using it).
- Merged sdl_window_config and win_window_config into osd_window_config.
- Use osd_window_config instead of replicating individual member
variables in osd_window.
2015-02-22 16:39:25 +01:00
Vas Crabb
79fcba5fe6
Slight improvement in Cocoa debug view performance
2015-02-22 21:12:00 +11:00
Vas Crabb
e3d0846478
Fix SDL1 builds
2015-02-22 21:12:00 +11:00
Vas Crabb
01bfefa336
More minor improvements to Cocoa debugger (nw)
2015-02-22 12:34:36 +11:00
Vas Crabb
67d741a80d
If verinfo.py fails don't touch the output file, so subsequent builds won't think it's up-to-date
2015-02-22 12:34:36 +11:00
couriersud
d2ea4df4ad
Make OpenGL renderer available in mainline build as well. This needs to
...
be explicitly enabled by specifying USE_OPENGL=1. More code alignment.
[Couriersud]
2015-02-22 01:14:37 +01:00
Vas Crabb
9151c0a9e2
Merge branch 'build-faster' of https://github.com/ramiropolla/mame
...
Conflicts:
src/osd/sdl/sdl.mak
2015-02-22 09:48:11 +11:00
Vas Crabb
28d60ae8bb
Cocoa debugger: suppress trailing whitespace on copy, draw background to edge, more efficient drawing
2015-02-22 09:28:43 +11:00
Vas Crabb
a581728a27
Qt debugger dynamically updates menu items controlling disassembly views
2015-02-22 01:19:09 +11:00
Vas Crabb
b5afc9dfea
More debugger consistency
2015-02-22 01:19:09 +11:00
Vas Crabb
582c9e4e37
Make behaviour of breakpoint control a bit more consistent with other debugger implementations
2015-02-21 22:53:18 +11:00
Vas Crabb
3c4fc89e66
WM_SIZE etc may be posted before CreateWindowEx returns
2015-02-21 22:46:20 +11:00
Vas Crabb
efaf154772
Embed info property list in OSX binaries
2015-02-21 18:17:19 +11:00
Ivan Vangelista
89e74e4b9c
Fixed debug build compile (nw)
2015-02-21 07:41:43 +01:00
Miodrag Milanović
fe91dfe9f1
Merge pull request #139 from cuavas/master
...
Debugger love: Windows edition
2015-02-21 06:43:19 +01:00
Vas Crabb
2edbf5565e
No longer need to mark dirty to hack around the points views
2015-02-21 08:35:49 +11:00
Vas Crabb
8d3efa367f
Fix image device menu
2015-02-21 08:18:50 +11:00
Vas Crabb
8a145904cf
Add enable/disable breakpoint from disasm window menus
2015-02-21 07:11:58 +11:00
Vas Crabb
f4c53c805d
(Break|Watch)points window for Windows debugger
2015-02-21 06:46:01 +11:00
balr0g
86abb5f822
Don't use $(DEFS) for moc (nw)
2015-02-20 13:24:59 -05:00
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