therealmogminer@gmail.com
bf033cfe00
Final fixups, get sliders working again, nw
2016-02-21 03:03:29 +01:00
therealmogminer@gmail.com
eca47070a5
More work on targets, nw
2016-02-21 03:03:28 +01:00
therealmogminer@gmail.com
664a0aee90
More reader support, nw
2016-02-21 03:03:26 +01:00
therealmogminer@gmail.com
c68d4538a7
More JSON reader plumbing, nw
2016-02-21 03:03:25 +01:00
therealmogminer@gmail.com
09f03905fd
More reshuffling, nw
2016-02-21 03:03:24 +01:00
therealmogminer@gmail.com
9a47a870df
First take on render API reorg, nw
2016-02-21 03:03:23 +01:00
ImJezze
e57c90084c
Quality and Performance improvements
...
- HLSL now uses NPOT sized target surfaces (breaks compatibility with
graphics cards based on R300/R400/NV30 and older)
- HLSL target surfaces now have the size of the screen canvas
- removed HLSL pre-scale factor
- HLSL now uses a sharp bilinear interpolation to pre-scale textures to
screen canvas size, based on [Themaister's] implementation
- improved overall performance (based on the previously required
pre-scale factor, you might notice a 5-50% speed-up depending on your
graphics card, more if you used a higher pre-scale factor)
- improved shadow mask quality (pixel-perfect) in screen-mode
- fixed half source texel offset of bloom level alignment
- removed ./hlsl/artwork_support folder
- all shaders after pre-scale are now based on screen coordinate
(workaground, till both raster and vector pass can work on texture
coordinates)
- disabled distortion shader for more than one screen and for artworks
in full mode, does not affect artworks in copped mode (workaground, till
both raster and vector pass can work on texture coordinates)
- moved compute_texture_size() from texture_info to texture_manager (nw)
2016-02-20 21:58:56 +01:00
Miodrag Milanovic
f481b60978
limit internationalization to UI where it belongs (nw)
2016-02-20 10:10:35 +01:00
Miodrag Milanovic
cc1ca5eb93
Doing some preps for internationalization (nw)
2016-02-19 15:58:46 +01:00
Vas Crabb
b1e63f98ed
Fix build with some clang versions
2016-02-18 18:07:45 +11:00
therealmogminer@gmail.com
f99431e5c8
Use RGBA instead of BGRA in bgfx
2016-02-17 17:37:32 +01:00
Miodrag Milanovic
a661821aa5
Dropped ddraw renderer (nw)
2016-02-17 09:57:26 +01:00
therealmogminer@gmail.com
fbe6e54400
Fix remaining issues with bgfx renderer
2016-02-17 01:35:38 +01:00
Miodrag Milanovic
e446d482f8
fix for emscripten (nw)
2016-02-16 19:01:10 +01:00
Miodrag Milanovic
38e054c765
placed back OPENGL check since GL is not same as GLES (nw)
2016-02-16 18:00:19 +01:00
Miodrag Milanovic
9eb2734495
BGFX mandatory requirement (nw)
2016-02-16 17:35:27 +01:00
Miodrag Milanovic
e1ace73626
opengl as requirement (nw)
2016-02-16 17:21:32 +01:00
Miodrag Milanovic
c16d050d54
remove SDLMAME_SDL2 usage (nw)
2016-02-16 16:45:12 +01:00
Miodrag Milanovic
13b44026be
windows compile fix (nw)
2016-02-16 16:37:29 +01:00
Miodrag Milanovic
7caab6653e
Remove not needed headers (nw)
2016-02-16 16:35:29 +01:00
Miodrag Milanovic
40e0a1bcb7
Remove SDL 1.2 support (nw)
2016-02-16 16:35:03 +01:00
Miodrag Milanovic
22e6c350ed
Enabled BGFX support for SteamLink
2016-02-16 11:36:13 +01:00
therealmogminer@gmail.com
622df200de
Fix errors with -rol and -ror, nw
2016-02-15 20:22:20 +01:00
therealmogminer@gmail.com
b0a7bcd346
Significant speed improvements to the BGFX renderer. [MooglyGuy]
2016-02-15 17:57:28 +01:00
Miodrag Milanovic
e8f547428d
proper memory handling (nw)
2016-02-12 16:29:18 +01:00
Miodrag Milanovic
e7e6420ca7
cleanup and fix for xy_to_render_target (nw)
2016-02-12 15:58:24 +01:00
Miodrag Milanovic
244e00775a
simplify code (nw)
2016-02-12 15:15:11 +01:00
Miodrag Milanovic
61bada0d91
Added multi window support for BGFX backend (nw)
2016-02-12 14:49:36 +01:00
Miodrag Milanovic
3a5c9d62a7
make window index part of osd_window (nw)
2016-02-11 10:32:58 +01:00
Miodrag Milanovic
56ec560c88
Fix sequence of primitives while rendering (nw)
2016-02-08 18:58:42 +01:00
Miodrag Milanović
b051abab1f
Merge pull request #610 from motoschifo/master
...
Videosnaps patch (additional file to write: gamename.inp.timecode) [Michele Fochi]
2016-02-08 18:46:35 +01:00
Miodrag Milanovic
3607505b4d
fixed texture clamping and added respect of filter parameter (nw)
2016-02-08 14:26:53 +01:00
Michele Fochi
f736cd5abc
Added new options:
...
-[no]exit_after_playback (default=no)
-[no]record_input (default=no)
Added new UI shortcut to save current timecode (default F12)
Translated variable names and comments to english language
2016-02-08 13:25:25 +01:00
Miodrag Milanovic
03c8434a4f
fix SDL display for BGFX (nw)
2016-02-08 09:08:53 +01:00
Miodrag Milanovic
ce49486fed
optimize a bit (nw)
2016-02-07 20:34:48 +01:00
Miodrag Milanovic
827c9da586
use proper texture format bgfx::TextureFormat::BGRA8 (nw)
2016-02-07 20:24:03 +01:00
Miodrag Milanovic
1c728dddf0
remove debug data (nw)
2016-02-07 19:58:34 +01:00
Miodrag Milanovic
a572b3da0f
respect waitsync param (nw)
2016-02-07 19:55:56 +01:00
Miodrag Milanovic
9d4945d386
removed vsync flag (nw)
2016-02-07 19:46:58 +01:00
Miodrag Milanovic
e3d8dbb364
optimized code a bit, reused Aarons code (nw)
2016-02-07 19:19:18 +01:00
Miodrag Milanovic
db8397c470
propagate color to texture (nw)
2016-02-07 17:22:50 +01:00
Miodrag Milanovic
178167b8fe
Initial support for BGFX [Dario Manesku, Branimir Karadic, Miodrag Milanovic]
...
Need optimization and cleanup, note that all shaders can be built only on windows
due to usage of DirectX DLLs
2016-02-07 15:49:55 +01:00
ImJezze
d15d53c728
Fixed Bloom Level Alignment
...
- fixed target dimensions of bloom levels, which results in a much
better alignment especially for game with very low resolution (therefore
current bloom settings might look a little less intense than before)
- small cleanups (nw)
2016-02-07 13:40:24 +01:00
ImJezze
f5e3032d98
Improved Scanline Simulation
...
- changed the amount of scanline darkness, a setting of 1.0 now becomes
fully black (to get the same result as before half your current setting)
- scanline height now depends on the brightness of the underlying color
- the amount of the scanline brightness and overdrive now depends on the
scanline darkness
- renamed 'Scanline Screen Height' to 'Scanline Screen Scale' and
'Scanline Indiv. Height' to 'Scanline Height'
2016-02-07 13:32:34 +01:00
Justin Kerk
0174ccbbe1
Fix indentation (nw)
2016-02-06 16:01:59 -08:00
Miodrag Milanovic
fe79bbad82
fix output interface(nw)
2016-02-06 15:23:17 +01:00
Dankan1890
701df7fe9e
Initial import of MEWUI to MAME [Dankan1890]
2016-02-04 15:14:24 +01:00
Justin Kerk
039a07bb4d
Substantial improvements to Web Audio sound backend for Emscripten port. [Grant Galitz]
2016-02-04 04:36:17 +00:00
Miodrag Milanovic
f005b29cce
using dereferenced mutex = bad idea (nw)
2016-01-31 17:05:40 +01:00
hap
22941d57de
osd/windows: small cleanup
2016-01-31 01:51:33 +01:00
Miodrag Milanovic
42622cfe8e
replace osd_lock with std::mutex [Miodrag Milanovic]
2016-01-30 20:43:50 +01:00
dankan1890
29ba71768c
Use nothrow allocation in these circumstance.
2016-01-30 09:31:46 +01:00
Miodrag Milanović
1ec138b458
Merge pull request #591 from stuartcarnie/mame0170
...
osdmini: fixes build issues [Stuart Carnie]
2016-01-30 07:50:33 +01:00
Stuart Carnie
048fd105db
osdmini: fixes build issues
2016-01-29 22:44:18 -07:00
mahlemiut
e0da1a7288
SDL: if binding, listening or connecting to a socket fails, then close the socket handle.
2016-01-29 22:20:39 +13:00
Miodrag Milanovic
1686fdd06e
Fix error by ImJezze (nw)
2016-01-27 13:51:08 +01:00
ImJezze
801956ff64
Fixed skip of phosphor pass (nw)
2016-01-27 09:02:06 +01:00
Miodrag Milanovic
b1d6f6d63f
Cleanups and version bump
2016-01-27 08:12:00 +01:00
Miodrag Milanovic
9425c141de
fix error (nw)
2016-01-27 06:56:44 +01:00
Miodrag Milanović
8b283b9753
Merge pull request #587 from ImJezze/pull
...
HLSL: NTSC and color convergence refactoring
2016-01-27 06:46:02 +01:00
ImJezze
a5fb439705
Cleanup (nw)
2016-01-26 22:14:41 +01:00
ImJezze
d516871e6f
NTSC Refactoring and Options
...
- merged YIQ encode and decode pass into one NTSC pass
- added options for most NTSC settings
- reduced sample count to 64
- changed default O value to 0
- fit NTSC signal jitter between a reasonable limit of 0 and 1
- fit A and B value between a reasonable limit of -1 and 1
- fit scanline jitter between a reasonable limit of 0 and 1
- added hum bar simulation based on [MooglyGuy's] GLSL port of the mame
shader pipeline
- added monochrome-chessboard.png
- added slot-mask-aligned.png (to simulate a TFT LCD)
2016-01-25 22:02:24 +01:00
Miodrag Milanovic
0260e5b299
fix compile for windows (nw)
2016-01-24 10:17:55 +01:00
Brad Hughes
9a6eb2250b
XAudio2 Bug fix - forgot to initialize buffers and no need to init COM
2016-01-23 19:02:58 -05:00
R. Belmont
6fd9e66cd0
Merge pull request #571 from bradhugh/xaudio2
...
XAudio2 support
2016-01-22 17:59:21 -05:00
Dankan1890
170ebc7f06
Fix OSX build. (nw)
2016-01-21 14:05:28 +01:00
Brad Hughes
c5c9367079
Fix GCC compiler warning in xaudio2 implementation
2016-01-20 23:38:01 -05:00
Bradley Hughes
7b072ad174
Update XAudio2 support to handle overflow, underflow, and audio_latency properly.
2016-01-20 23:16:18 -05:00
Brad Hughes
2f36228306
XAudio2 support
2016-01-20 23:16:18 -05:00
Miodrag Milanovic
4e8e3066f8
reverting:
...
SHA-1: 1f90ceab07
* tags are now strings (nw)
fix start project for custom builds in Visual Studio (nw)
2016-01-20 21:42:13 +01:00
Miodrag Milanovic
7c9cd3feea
Revert "rest of device parameters to std::string (nw)"
...
This reverts commit caba131d84
.
2016-01-20 21:35:11 +01:00
Miodrag Milanovic
69b44cd860
Revert "fixed qt build (nw)"
...
This reverts commit a23a0abc76
.
2016-01-20 21:34:41 +01:00
Miodrag Milanovic
5f31386020
Revert "Fix OSX build (nw)"
...
This reverts commit 8144b878ab
.
2016-01-20 21:34:20 +01:00
Miodrag Milanovic
8144b878ab
Fix OSX build (nw)
2016-01-16 21:00:21 +01:00
Miodrag Milanovic
a23a0abc76
fixed qt build (nw)
2016-01-16 20:55:10 +01:00
Miodrag Milanovic
caba131d84
rest of device parameters to std::string (nw)
2016-01-16 20:05:32 +01:00
Miodrag Milanovic
c02754e802
Fix OSX build (nw)
2016-01-16 18:46:38 +01:00
Miodrag Milanovic
1f90ceab07
tags are now strings (nw)
...
fix start project for custom builds in Visual Studio (nw)
2016-01-16 14:54:42 +01:00
Miodrag Milanovic
807265ed21
put debug_view back in machine due to issues with QT (nw)
2016-01-12 12:00:56 +01:00
Miodrag Milanovic
db0bd9e5e5
Fix compile on OSX
2016-01-12 11:08:03 +01:00
Miodrag Milanovic
79fd7e15d1
Fix linux compile
2016-01-12 10:02:55 +01:00
Miodrag Milanovic
f9a9eafba0
created debugger_manager, now this one owns debug_view_manager (nw)
2016-01-12 09:50:59 +01:00
Miodrag Milanovic
04a5484b49
change initialization order, removes need for additional checks (nw)
2016-01-11 10:21:21 +01:00
Miodrag Milanović
36195292e3
Merge pull request #561 from ajrhacker/strings
...
Return std::string objects by value rather than pass by reference [ajrhacker]
2016-01-11 09:18:43 +01:00
AJR
115db95642
Return std::string objects by value rather than pass by reference
...
- strprintf is unaltered, but strformat now takes one fewer argument
- state_string_export still fills a buffer, but has been made const
- get_default_card_software now takes no arguments but returns a string
2016-01-10 16:36:18 -05:00
Miodrag Milanovic
30c10f6f79
modernized ui_input_manager (nw)
2016-01-10 20:32:30 +01:00
Miodrag Milanovic
833094f88c
disable debugging (nw)
2016-01-10 18:42:20 +01:00
Miodrag Milanovic
f9f908d48b
modernize output_manager (nw)
2016-01-10 18:41:17 +01:00
Miodrag Milanovic
3e5ad46410
modernized configuration_manager (nw)
2016-01-10 15:17:18 +01:00
mahlemiut
7520eea004
Make internal debugger menu remember its currently selected item, to help make switching CPUs/regions/options easier. Also, set all windows to visible only on initial display.
2016-01-11 00:20:56 +13:00
ImJezze
ded9493cb0
Fixed YIQ passes
...
- fixed half texel offset
- readded usage of A value in encode/decode pass
- readded jitter of B value in encode/decode pass
- readded usage of P value in encode pass
- fixed not set O value uniform for decode pass
- removed duplicate YIQ option definition
- changed default of O value back to 1.0
2016-01-09 16:41:53 +01:00
ImJezze
37b596b7b4
Refactored color converge
...
- color converge is now independent from ratio
- the radial converge now "translates" the most outer pixel as thay
would be translated by the linar converge with the same amount
- color converge is now limited to a maximum of 10
- added color converge pass to vector rendering
2016-01-09 16:15:45 +01:00
Miodrag Milanovic
08c8c26b62
remove usage of NO_MEM_TRACKING macro (nw)
2016-01-08 13:42:19 +01:00
Miodrag Milanovic
ce75a5d682
removed memory tracking (nw)
2016-01-08 12:41:13 +01:00
Jeffrey Clark
81a7c7b20c
common osd path environment var expansion
2016-01-06 02:34:33 -06:00
mahlemiut
c5f16b5022
fix input regression in internal debugger window editors
2016-01-06 14:10:53 +13:00
mahlemiut
2dfaf69380
Prevent keypresses from passing through to internal debugger windows while the windows are hidden.
2016-01-04 21:32:51 +13:00
ImJezze
1cacb7d040
Refactoring (nw)
...
- restructured bloom level size and weight uniforms
2016-01-03 16:20:27 +01:00
mahlemiut
521fc5c927
Add various keyboard shortcuts and pass keypresses to the debug view with input focus.
2016-01-04 00:08:45 +13:00
AJR
3e6c0d3434
Allow mame -validate -verbose to capture verbose messages
2016-01-02 09:40:15 -05:00
mahlemiut
72f5e11450
fix vertical scrollbar on large windows (such as the program space of an i386)
2016-01-02 20:32:41 +13:00
ImJezze
a2c7b61daa
Refactoring
...
- replaced shader parameters OrientationSwapXY xor RotationSwapXY by
SwapXY
- made shader parameters SourceDims, SourceRect, TargetDims, ScreenDims,
QuadDims and SwapXY available for all shaders
- color convolution, defocus and phosphor pass will now be skipped if
all influencing parameters are 0
- removed unused bloom_texture and bloom_target arrays from cache_target
class
- fixed half texel offset in prescale.fx
2015-12-31 16:59:23 +01:00
ImJezze
eea40fd0e4
Cleanup (nw)
...
- removed unused pincushion.fx
2015-12-31 16:32:35 +01:00
Miodrag Milanovic
4afd75e2fd
Cleanups and version bump
2015-12-30 08:18:51 +01:00
Miodrag Milanovic
5d1eb49824
Make SDL2 use software if hardware acceleration is not available
2015-12-27 18:25:13 +01:00
Miodrag Milanovic
fd21d7accb
Do not add this for other then windows (nw)
2015-12-27 13:51:16 +01:00
Miodrag Milanovic
4810f2e98e
Fix for windows Qt5 compile (nw)
2015-12-27 13:49:04 +01:00
Olivier Galibert
9d231a83ad
qt5 debugger port [O. Galibert]
2015-12-27 12:58:00 +01:00
Miodrag Milanović
851f66aff9
Merge pull request #522 from ImJezze/pull
...
HLSL: Improved Defocus, Fixed LCD screen, Extended Shadow Mask and Bloom [ImJezze]
Made defocus strength equal for x/y and independent from screen size
defocus is now independent from screen size and ratio
horizontal and vertical defocus now have the same strength
replaced asymmetric defocus kernel by a symmetric kernel
defocus is now limited to a maximum of 10
added shader uniforms for orientation and rotation settings
Fixed HLSL for LCD screen
fixed wrong detection of vector screen, which meant that a LCD screen was also detected as vector screen
re-enabled scan-line and other CRT related sliders for LCD screen
Extended Shadow Mask and Bloom functionality
added shadow mask option to choose between "Screen" and "Source" tile mode ("Screen" is the default as before)
added bloom option to choose between "Addition" and "Darken" blend mode ("Addition" is the default as before)
the alpha channel of a shadow mask is now filled with the background color of the screen by the amount of the inverted alpha value
added monochrome-matrix.png which can be used in combination with "Source" tile mode and "Darken" blend mode to simulate a STN LCD
2015-12-26 14:19:44 +01:00
ImJezze
ff77b7897b
Cleanup (nw)
...
- renamed shadow_mask_type to shadow_mask_tile_mode
- renamed bloom_type to bloom_blend_mode
- implemented "Source" shadow mask tile mode for artwork_support/post.fx
2015-12-26 12:27:07 +01:00
yz70s
a8ef53fa51
debugint.cpp: fix uninitialized variable error (nw)
2015-12-25 20:18:31 +01:00
ImJezze
1b373eb812
Extended Shadow Mask and Bloom functionality
...
- added shadow mask type option to choose between "Screen" and "Source"
tile mode ("Screen" is the default as before)
- added bloom type option to choose between "Addition" and "Darken"
blend mode ("Addition" is the default as before)
- the alpha channel of a shadow mask is now filled with the background
color of the screen by the amount of the inverted alpha value
- added monochrome-matrix.png which can be used in combination with
"Source" tile mode and "Darken" blend mode to simulate a STN LCD, for
example
2015-12-25 20:02:47 +01:00
ImJezze
099f547d05
Fixed HLSL for LCD screen type
...
- fixed wrong detection of vector screen, which meant that a LCD screen
was also detected as vector screen
- re-enabled scan-line and other CRT related sliders for LCD screens
2015-12-24 14:06:01 +01:00
ImJezze
b1f1300517
Made defocus strength equal for x/y and independent from screen size
...
- defocus is now independent from screen size and ratio
- horizontal and vertical defocus now have the same strength
- replaced asymmetric defocus kernel by a symmetric kernel
- defocus is now limited to a maximum of 10
- added shader uniforms for orientation and rotation settings
2015-12-20 13:57:28 +01:00
arbee
89ec79c953
Support 64 and 80-bit floats in OS X debugger (nw)
2015-12-19 22:08:45 -05:00
mahlemiut
4facaf6c24
Stop internal debugger windows from drawing space characters, speeds rendering up quite a bit.
2015-12-19 21:36:34 +13:00
mahlemiut
043eed6171
Make new internal debugger windows appear in a cascade-like position, and give some windows better default sizes. Change render_target::debug_top() to put targets at the end of the target list, fixing the order in which windows are rendered (nothing else uses this function).
2015-12-17 19:10:31 +13:00
mahlemiut
73276c7ae8
Stop internal debugger window title and editors from drawing text outside the bounds of the window.
2015-12-15 19:41:38 +13:00
mahlemiut
bbf703252e
Made internal debugger window editors appear over the window to which it is related (makes it a little bit clearer).
2015-12-14 15:03:13 +13:00
mahlemiut
408edf4f77
Base the size of internal debugger window title bars on the font size.
2015-12-13 23:33:05 +13:00
mahlemiut
14d5966a37
Internal debugger now honours the -debugger_font and -debugger_font_size options.
2015-12-13 20:54:13 +13:00
mahlemiut
27d7781b7c
Add memory window to internal debugger.
2015-12-12 21:56:34 +13:00
Miodrag Milanovic
379581fb36
macro removal INLINE -> static inline (nw)
2015-12-12 08:58:57 +01:00
mahlemiut
799c299ade
Make internal debugger windows just a bit more pleasing to the eye.
2015-12-12 13:31:21 +13:00
mahlemiut
3c628e4681
Giving the internal debugger a bit of love. Make closed windows actually disappear, and add a Run and Hide Debugger option. Also spaced out initial windows, so that they aren't on top of each other to start with.
2015-12-11 22:50:25 +13:00
Miodrag Milanovic
3414b0166e
tagmap_t to std::unordered_map or std::unordered_set where applicable (nw)
2015-12-09 21:14:13 +01:00
Miodrag Milanovic
52612a9fdd
cleanup of osdcomm.h (nw)
2015-12-09 15:20:48 +01:00
Miodrag Milanovic
791743976e
Revert "Cleanup of osdcomm.h (nw)"
...
This reverts commit 1d40aecb58
.
2015-12-09 11:37:33 +01:00
Miodrag Milanovic
1d40aecb58
Cleanup of osdcomm.h (nw)
2015-12-09 10:50:20 +01:00
Miodrag Milanovic
bc86cde3c6
VS2012 is not supported anymore (nw)
2015-12-07 19:41:55 +01:00
yz70s
e76dc64868
Show 64 and 80 bit floats in windows and qt debugger (issue #476 )
2015-12-06 23:33:03 +01:00
Cowering
b910bf5a85
missed two (nw)
2015-12-06 14:01:59 -06:00
Cowering
418d057e97
fix SDL on Windows compile
2015-12-06 13:56:05 -06:00
Miodrag Milanovic
784a5e690a
implementation must be removed too (nw)
2015-12-06 16:44:45 +01:00
Miodrag Milanovic
5a3352a6b0
Fix clang build on OSX/Linux
2015-12-06 16:40:18 +01:00
Miodrag Milanovic
93d0471081
Fix clang build on OSX/Linux
2015-12-06 16:39:38 +01:00
Miodrag Milanovic
ff21376524
fix for non-windows os (nw)
2015-12-06 16:33:16 +01:00
Miodrag Milanovic
3ee9b6cee4
fixing some more override (nw)
2015-12-06 09:23:23 +01:00
Miodrag Milanovic
3e5898124e
some core c++11 narrowing fixes (nw)
2015-12-04 15:03:26 +01:00
Miodrag Milanovic
379c9afa5f
Fix narrowing (nw)
2015-12-04 08:50:24 +01:00
Miodrag Milanovic
5a2f80dcde
clang-modernize part 5
2015-12-04 07:06:18 +01:00
Miodrag Milanovic
91605d3f4d
clang-modernize part 1 (nw)
2015-12-03 18:17:25 +01:00
Miodrag Milanovic
92f81361d6
Initial conversion of core to C++14. Note that compilers are now limited to GCC 4.9.0 and up, Clang 3.4.0 and up, and VS2013 and up [Miodrag Milanovic]
2015-12-03 11:40:45 +01:00
arbee
1c7c1e479a
Support float view in OS X debugger (nw)
2015-11-30 21:34:29 -05:00
yz70s
0b0701b32d
Show 32 bit floating point values in qt debugger memory view (issue #476 )
...
Since i was at it also 8 byte chunks
2015-11-30 22:49:03 +01:00
yz70s
b052dcb402
First commit for issue #476
...
"byte per chunk" is sostituted by "data format"
data formats lesser than 9 work as before, data format 9 is 32 but floating point
in the debug_view_memory class method bytes_per_chunk is substituted by get_data_format, set_bytes_per_chunk is substituted by set_data_format
floating point values cannot be edited
currently floating point values are available only in the windows debugger, next commit will add them to the qt debugger, osx i won't be able to do it
afterwards 64 and 80 bit formats will be added
2015-11-30 10:15:25 +01:00
Miodrag Milanovic
0825ce4f3b
Cleanups and version bump
2015-11-25 08:22:24 +01:00
Justin Kerk
7470f47f23
Warning fix (nw)
2015-11-24 21:06:14 +00:00
Justin Kerk
9744037cd7
Compile with Emscripten out of the box. [Justin Kerk]
2015-11-24 15:38:42 +00:00
arbee
fee2af52af
Updated OS/2 support [KO Myung-Hun]
2015-11-23 21:24:58 -05:00
ImJezze
1cda42b22e
Fixed missing shadow mask
...
- fixed missing shadow mask texture when switching between window mode
and full screen
2015-11-20 12:42:19 +01:00
ImJezze
0095c77163
Cleanup (nw)
...
- removed some tabs at line ends
2015-11-18 18:09:09 +01:00
ImJezze
d5c6dc78e9
Cleanup
...
- fixed not used HLSL settings from <custom>.ini if MAME was started
without driver parameter
- removed default values from HLSL sliders, the defaults here are more
like null values to hint when an effect would be disable
- slightly changed default HLSL settings
2015-11-18 18:01:01 +01:00
ImJezze
05f83580c0
Fixed dynamic beam width for invariabel vector intensity
...
- the vector renderer now tries to detect a invariabel vector intensity
and disables the calculation of a dynamic beam width
2015-11-18 13:37:53 +01:00
ImJezze
8d3ef79c0f
Fixed changed screen adjustment for multi screens
...
- fixed changed screen adjustment for multi screens
2015-11-17 23:50:19 +01:00
ImJezze
94453b474d
Fixed reset of HLSL settings
...
- fixed bug that resets the HLSL settings when switching between window
mode and fullscreen
2015-11-17 19:59:54 +01:00
ImJezze
8be53c28f0
Changed screen adjustment for HLSL
...
- screen adjustment (scale, offset) can now be handled by the respective
render API itself (default behavior is as before)
- D3D (if HLSL) is activated handles screen adjustment by itself within
the shader, which fixes the odd behavior of some effects (e.g. round
corners) when screen scale and offset is used
2015-11-17 19:37:56 +01:00
ImJezze
5200f15ace
Merge remote-tracking branch 'remotes/mamedev/master'
2015-11-15 13:07:26 +01:00
ImJezze
2844aa7b02
Fixed HLSL visibility when toggling off/on
...
- sliders will be hidden when toggled off and will be shown when toggled
on again
2015-11-15 12:04:25 +01:00
ImJezze
8446d718bb
Fixed missing shadow mask texture when enabling HLSL via shortcut keys
...
- fixed creation order of D3D and HLSL resources
2015-11-14 21:59:18 +01:00
Thomas Klausner
fc37423e70
OSD/SDL: add missing header to fix build on NetBSD.
2015-11-13 14:30:25 +01:00
Miodrag Milanovic
927a8a5302
ups, sorry for this
2015-11-11 18:41:32 +01:00
Miodrag Milanovic
4df2317ad7
Fix compile SDL build on win32 (nw)
2015-11-11 17:19:27 +01:00
Miodrag Milanovic
02f128df25
more cleanups and fix (nw)
2015-11-11 17:19:26 +01:00
ImJezze
2e4f148a96
Merge remote-tracking branch 'mamedev/master'
2015-11-09 18:06:48 +01:00
therealmogminer@gmail.com
7b5119e166
nw, more PVS-Studio fixes
2015-11-09 12:23:29 +01:00
ImJezze
e57eb2c76b
Renamed *.c to *.cpp (nw)
...
- renamed *.c to *.cpp of changed files to be able to merge with base
master
2015-11-09 09:08:10 +01:00
Miodrag Milanovic
0f07b50595
logerror to osd_printf_verbose for osd (nw)
2015-11-09 08:36:54 +01:00
ImJezze
b06d506fd5
Fixed reset of HLSL settings
...
- fixed bug that resets the HLSL settings when the screen size has
changed
- removed hardcoded HLSL presets
- updates HLSL readme
2015-11-08 22:46:08 +01:00
Miodrag Milanovic
4bff9fcca7
renamed m -> mm (nw)
2015-11-08 13:43:04 +01:00
Miodrag Milanovic
7c19aac60e
Rename *.c -> *.cpp in our source (nw)
2015-11-08 12:56:12 +01:00
ImJezze
2a3bd8b8d0
Cleanup
...
- removed duplicate prescale fields
- made visibility of HLSL options depending on screen type
- disabled scanlines for LCD screen type
2015-11-07 12:03:36 +01:00
therealmogminer@gmail.com
52fa9421b9
- Fix some instances of PVS-Studio warning V501, "There are identical sub-
...
expressions to the left and to the right of an operator". [MooglyGuy]
2015-11-06 14:02:51 +01:00
Miodrag Milanovic
41fea29de5
Relaxed emu.h a bit, should make compile a bit faster (nw)
2015-11-05 20:39:57 +01:00
Vas Crabb
80f55d4f66
Let's assume no-one uses a broken 450 core in a multi-CPU configuration (nw)
2015-11-02 23:40:03 +11:00
Miodrag Milanovic
7f03841c2a
Merge branch 'master' of https://github.com/mamedev/mame
2015-11-01 14:34:52 +01:00
Miodrag Milanovic
18188cb13b
making logerror part of machine and device classes [Miodrag Milanovic]
...
display tag of device that logged message
2015-11-01 14:34:45 +01:00
Vas Crabb
fca1106249
Clean up some stuff that upsets GCC5
2015-11-01 15:45:10 +11:00
dankan1890
b51e3df525
Fixed comment.
2015-10-30 01:02:09 +01:00
dankan1890
c6a8dafe09
Fix for VS2013 build.
2015-10-30 00:53:40 +01:00
Miodrag Milanovic
47f56372ee
Cleanup and version bump
2015-10-28 08:06:12 +01:00
Miodrag Milanović
0a415253a1
Merge pull request #432 from ImJezze/master
...
Vector Rendering Fixes and Improvements
2015-10-27 11:35:37 +01:00
Vas Crabb
f0065308e9
Fix for some configurations
2015-10-27 21:00:23 +11:00
ImJezze
21b577483b
Cleanup
...
- some renamings
- reverted one unwanted change in vector.fx
2015-10-26 19:49:17 +01:00
hap
a6094ce5aa
champbas.c driver needs cleanup, i'll continue on that if i can sort out MCU emulation for it (via hmcs40 instead simulation)
2015-10-26 18:19:01 +01:00
hap
0095fa01e6
windows rawinput: allow nameless input devices
2015-10-26 04:39:00 +01:00
ImJezze
5f1f5d500a
Experimental Dynamic Beam Width
...
- replace beam width by beam min. and beam max. width, this makes it
possible to create a linear dynamic beam width by the amount of
intensity of the beam
- added beam intensity weight, this adds an exponential factor to the
dynamic beam width (values greater than 0 will push larger intensities
more than smaller intensities)
- fixed displayed ratio of vector points (zero-length lines)
2015-10-25 20:54:00 +01:00
arbee
bd5fca7042
Apollo changes: [Hans Ostermeyer]
...
- fixed the Apollo floppy disk emulation
- added the media option -node_id resp. -ni to set the node ID from a node ID rom image file
- fixed the unmapped ISA Bus access to return 0xff instead of 0x00
- removed excessive log entries from unmapped ISA Bus access
- fixed date (and some other issues) in mc146818 (new in MAME 0166)
2015-10-24 17:09:09 -04:00
ImJezze
a7b8acbe3e
Merge pull request #6 from mamedev/master
...
Sync to base master
2015-10-20 21:34:36 +02:00
ImJezze
4610935e79
Small Fixes
...
- fixed position of reflection effect for vector graphics
- fixed size of rounded corners
- fixed very small black border
2015-10-20 20:07:38 +02:00
Miodrag Milanovic
a93a5f53ef
update suggested by DrMefistO (nw)
2015-10-20 08:13:12 +02:00
Miodrag Milanovic
b49f780f7a
fix compile on VS2013 (need check on VS2015 if this is needed at all) (nw)
2015-10-19 11:13:07 +02:00
ImJezze
7eb83c31a5
Artwork Support
...
- added special post.fx and distortion.fx shader, which support enabled
artworks, but they cannot apply some of the previously implemented
corrections (e.g. bloom staircase artifacts when screen is curved,
elliptic rounded corners when aspect ratio is not 4:3)
2015-10-18 19:16:46 +02:00
Miodrag Milanović
fb179e042c
Merge pull request #401 from fulivi/pty_dev3
...
PTY support for u*x OSes [F.Ulivi]
2015-10-18 16:00:23 +02:00
ImJezze
2577b29602
Cleanup
...
- changed default values of curvature, vignetting, reflection, round
corner and smooth border to 0
- reverted compute_size_subroutine() back to non static
- removed some test code
2015-10-18 14:35:46 +02:00
fulivi
3f70abab45
pty: added inclusion of stdlib.h on systems != Linux
2015-10-18 10:13:31 +02:00
fulivi
e496024c9c
pty: changed pstname_r to ptsname for OSX compatibility
2015-10-17 18:26:41 +02:00
Miodrag Milanovic
58bf8e3345
Disabled DX12 on mingw since it is not working (nw)
2015-10-15 10:52:18 +02:00
fulivi
ba6f6fc127
pty: put a stopper in windows & osdmini versions of OSD as they don't
...
support PTYs
2015-10-14 11:44:56 +02:00
fulivi
f8cb153519
pty: first step of pseudo terminal implementation
...
Conflicts:
scripts/src/bus.lua
2015-10-13 12:00:52 +02:00
ImJezze
534cd86c17
Bloom Overdrive
...
- added experimental bloom overdrive effect and options, this effect
allows to overdrive pure colors like red, green and blue to become more
brighter
- added lcd.ini to parse_standard_inis()
2015-10-10 17:02:51 +02:00
ImJezze
81c15decf8
Smooth Borders
...
- enabled smooth border effect and added option, its amount is limited
by the amount of rounded corners
- added raster.ini to parse_standard_inis()
- merged vector and raster bloom options, use vector.ini or raster.ini
to distinguish
2015-10-09 18:49:39 +02:00
ImJezze
5addcdd2da
Small fixes
...
- fixed defocus strength with difference prescales
- removed default screen ratio of 4:3, ratio is now based on the screen
quad size
- reverted some space to tab changes
2015-10-04 15:57:07 +02:00
Sergey Svishchev
b05c038b77
Remove obsolete CapsLock hack.
2015-10-02 10:58:28 +03:00
Peter Ferrie
a4e655513d
osdcomm.h: func me MSVC (nw)
2015-09-30 09:06:15 -07:00
Miodrag Milanovic
8e4ced4b53
Cleanups and version bump
2015-09-30 08:29:01 +02:00
ImJezze
062e6e0383
Refactoring, Fixes and Cleanup
...
- added distortion pass, which is applied after the bloom pass
- moved vignetting, curvature, round corners and reflection effect to
distortion pass
- disabled distortion pass for multi screens and activated artworks due
to not yet fixed misalignments
- disabled scanlines for vector rendering in post pass shader
- removed prescale knowledge from downsample, bloom and post pass shader
- fixed half pixel offset in most shaders
- fixed position of reflection effect when screen is rotated or flipped
- fixed roundness of round corners in any aspect ratio
- fixed shadow mask bleeding (nearly completly)
- added bounds() and screen_bounds() getter to layout_view
- added current_view() getter to render_target
- some cleanup and refactoring
2015-09-26 18:22:51 +02:00
balr0g
459c86dee3
Fix build with Xcode 7 (nw)
2015-09-18 16:00:03 -04:00
David Haywood
f93c013f8b
added 'global_inputs' (disabled by default) to allow MAME to read inputs even when it doesn't have the focus [Scrooge McClunk]
...
SailorSat made it possible to run multiple instances of MAME for link games, but the problem is that you can only control one MAME instance at a time (the window that has focus). Because win32 MAME supports RawInput, we can make linked games playable with global inputs that will poll simultaneously regardless of whether that MAME instance has focus. In win32 MAME using RawInput, keyboards were already registered for global inputs (RIDEV_INPUTSINK), but the polling code checks if the window has focus, so it wasn't taking advantage of it.
I thought it'd be a good idea to add an option for global inputs to win32 MAME with RawInput. The WINOPTION is the "global_inputs" boolean. The option is disabled by default because this is an uncommon use case for MAME. The option is also disabled when forcing direct input and debugging. If the RawInput initialization code fails for whatever reason, the option will not be enabled. If the option is disabled, keyboards are no longer registered for global inputs (dwFlags set to 0 instead of RIDEV_INPUTSINK), because they won't work globally with the screen focus check anyway.
2015-09-14 02:08:12 +01:00
Miodrag Milanovic
a4ea92de24
Update scripts for compile with latest BGFX (nw)
2015-09-12 11:06:14 +02:00
arbee
a392cdbdb9
netdev: fix pcap crashes on OS X [Rob Braun]
2015-09-10 09:19:54 -04:00
arbee
ee81c1ff9c
opengl: fix overly-strict requirement on SCREEN shaders to match docs [cgwg]
2015-09-06 15:29:27 -04:00
Vladimir Kryvian
27f3177dda
Update window.c
...
Just a mistype.
2015-08-27 15:06:01 +03:00
Vladimir Kryvian
d7cf28647a
Fixed create_window_class
...
First, try to unregister previously registered class.
2015-08-27 14:10:21 +03:00
Vladimir Kryvian
ee826f16cb
Fixed register_window_classcreate_window_class
...
First, try to unregister previously registered class.
2015-08-27 14:08:38 +03:00
Vladimir Kryvian
d1c123beeb
Fixed register_window_class
...
First, try to unregister previously registered class.
2015-08-27 14:07:13 +03:00
Vladimir Kryvian
40b357731b
Fixed register_window_class
...
First, try to unregister previously registered class.
2015-08-27 14:05:59 +03:00
Vladimir Kryvian
8b2b67d9e4
Fixed GetModuleHandleUni
...
VirtualQuery first argument fixed.
2015-08-26 11:56:49 +03:00
Vladimir Kryvian
5a36c43800
Fixed GetModuleHandleUni
2015-08-26 10:04:41 +03:00
Vladimir Kryvian
0170d6b995
Fixed GetModuleHandle to be universal.
2015-08-25 16:39:50 +03:00
couriersud
fe8e6aca65
Added seconds() and attoseconds() to attotime and prefixed members with
...
m_. Rewrote code accessing members to use seconds() and attoseconds().
The changes were triggered by a test how gcc __int128_t would perform as
the internal representation. This test revealed that the current
implementation is still faster. (nw)
2015-08-15 17:56:10 +02:00
Justin Kerk
ae23d2ca40
Fix emscripten compile (nw)
2015-08-12 19:09:11 +00:00
Peter Ferrie
9b0c6dbd54
debugviewinfo.c: destroy window before destroying view (nw)
...
destroying the focus window triggers a killfocus event. for
cursor-supporting windows, this accesses the just-deleted view data, and
then crashes
2015-08-10 21:56:26 -07:00
ImJezze
37f6ff0b65
Refactoring and Fixes
...
- removed position offset in post.fx
- fixed texture offset caused by 0th level of bloom.fx
- fixed texture offset caused by focus.fx
- changed Passthrough parameter in phosphor.fx to boolean
- simplified defocus pass function and calling it twice
- removed CU_PHOSPHOR_IGNORE (Passthrough) uniform, which was only used
in phosphor pass function and is now directly set
- added CU_TARGET_DIMS (TargetDims) uniform based on the current render
target
- fixed missing Prescal parameter in downsample pass function
- some code cleanup
2015-08-02 17:31:54 +02:00
Olivier Galibert
9485ca9d43
Revert "debugqt: Port to Qt5 [O. Galibert]"
...
Experience shows it's too early for that. I'll keep that in a corner
and we'll see again later.
2015-08-01 20:43:47 +02:00
Vas Crabb
668c54497f
Debugger fix from Judge (nw)
2015-07-31 16:22:20 +10:00
Vas Crabb
2479dfce8a
Doesn't fix the crash, but it doesn't hurt either nw
2015-07-30 23:03:45 +10:00
Olivier Galibert
a83ad4d11f
debugqt: Port to Qt5 [O. Galibert]
2015-07-29 11:19:43 +02:00
R. Belmont
d6f784219f
Merge pull request #266 from wallyweek/wallyweek
...
Bump *nix man pages version
2015-07-22 15:46:58 -04:00
R. Belmont
b83cc37ae2
Merge pull request #257 from 0-wiz-0/master
...
Re-add NetBSD support.
2015-07-22 15:46:15 -04:00
Cesare Falco
97236de577
Bump *nix man pages version
2015-07-22 16:26:46 +02:00
ImJezze
4bcb0c13f5
Merge pull request #5 from mamedev/master
...
Sync to base master
2015-07-20 08:11:41 +02:00
ImJezze
d132946c6f
Vector curvature correction
...
- corrected vector curvature on x-axis when screen dims and render
target dims differ (there is still a difference on y-axis)
2015-07-19 12:28:51 +02:00
Cowering
6b9fecb7f2
fix linux compile with -Wodr in GCC 5.2
2015-07-17 10:17:58 -05:00
Thomas Klausner
7769689bd7
Fix error handling of osd_truncate.
...
Noted by startaq in https://github.com/mamedev/mame/pull/257 .
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
2015-07-14 23:41:06 +02:00
Michael Zapf
2fe1b16c63
Fixed image truncate and a lockup during disk formatting
2015-07-14 23:20:24 +02:00
Thomas Klausner
923b78aa71
Implement missing osd_truncate().
...
Fixes linking on Unix when SDL is disabled.
Signed-off-by: Thomas Klausner <wiz@NetBSD.org>
2015-07-14 21:50:06 +02:00
Cowering
fca72facdc
fix compile (possibly only GCC5.1) (nw)
2015-07-14 08:11:52 -05:00
arbee
7f6f8d0b8d
SDL: fix 0.160 aspect ratio regression. [Hans Ostermeyer]
2015-07-13 09:10:21 -04:00
ImJezze
9ce2864141
Post Pass effects for Vector rendering
...
- added support for post pass effects for vector rendering (does not
work properly in full screen mode, yet)
- made texture_info::compute_size_subroutine() function public static
2015-07-12 23:28:38 +02:00
ImJezze
6e5f7f5d94
Refactoring
...
- separated downsample pass and bloom pass into two function calls
- removed/replaced simple.fx by using primary.fx to render on screen
- changed PostPass parameter of primary.fx to boolean
- simplified bloom.fx and downsample.fx, Prescale parameter is now set
correctly from outside depending on raster/vector rendering
2015-07-11 20:01:24 +02:00
Cowering
8f695663b4
don't include it if you don't want it (nw)
2015-07-08 14:25:22 -05:00
Cowering
a821b6c4be
blame balrog for this :) (NW)
2015-07-08 14:05:56 -05:00
Cowering
9306af2c50
some extremely low hanging pedantic fruit
2015-07-08 14:00:24 -05:00
Curt Coder
4005f0568e
winfile.c: Stop crashing after saving to a disk image loaded from a software list. [Curt Coder]
2015-07-05 22:15:57 +03:00
ImJezze
35ad49dd03
Refactoring
...
- made most render pass functions independent from each other
- resused phosphor and bloom pass function for vector rendering
2015-07-05 18:01:21 +02:00
ImJezze
ae39030c78
Refactoring
...
- reduced number of used render textures/targets from 7 to 4
- some code cleanup
2015-07-04 19:10:55 +02:00
Vas Crabb
eb38a7ad25
Align memory with MALLOC_DEBUG (nw)
2015-07-04 00:37:56 +10:00
Vas Crabb
454895659e
Don't make malloc replacement incompatible with malloc (nw)
2015-07-03 22:31:19 +10:00
R. Belmont
a4b17c1ae7
Revert "In SDL version, fix refresh rate setting in fullscreen"
2015-06-27 15:57:23 -04:00
R. Belmont
e03ae73a5d
Merge pull request #215 from dnlopez/sdl_refreshrate
...
In SDL version, fix refresh rate setting in fullscreen
2015-06-27 11:49:52 -04:00
R. Belmont
154cd29ec1
Merge pull request #209 from dnlopez/master
...
In SDL version command line, don't look for depth in -resolution
2015-06-27 11:49:38 -04:00
Daniel Lopez
d562e7fb64
In SDL version, fix refresh rate setting in fullscreen
2015-06-17 23:02:22 +01:00
Peter Ferrie
47e8753be9
fix compile on MSVC (nw)
2015-06-17 12:08:04 -07:00
Vas Crabb
dff97806b0
Hook up -uimodekey for Windows
2015-06-15 13:58:04 +10:00
Vas Crabb
8ea36b999d
Move UI mode key out of SDL options into generic options
2015-06-15 13:58:04 +10:00
Vas Crabb
277bd7e759
Fix off-by-one
2015-06-15 12:38:50 +10:00
Daniel Lopez
6ccbaeda7e
Fix/extend parsing of -resolution command line arg
...
In both Windows and SDL builds, format of -resolution can now be any of:
<width>x<height>
<width>x<height>x<depth>
<width>x<height>x<depth>@<refresh>
<width>x<height>@<refresh>
Omitted values are defaulted to 0, at the point of parsing (as before).
2015-06-14 20:02:48 +01:00
Daniel Lopez
d77295b722
In SDL version command line, don't look for depth in -resolution
...
-showusage says, and the Windows version looks for,
"<width>x<height>[@<refreshrate>]", but the SDL version was scanning for
"<width>x<height>[x<depth>][@<refreshrate>]", with the effect of
silently ignoring refreshrate if depth was omitted. And if given, the
depth didn't appear to be used anywhere anyway.
2015-06-13 23:40:55 +01:00
arbee
cda571268b
GLSL: unlimit shader file size. [R. Belmont]
2015-06-13 14:31:36 -04:00
ImJezze
78b0529c00
Refactoring
...
- simplified render pass functions
- some code cleanup
2015-06-08 00:21:17 +02:00
balr0g
021aa9eb6c
Nope. (nw)
...
This reverts commit 72794f8ff1
.
At least this provides a more useful stacktrace, if anyone wants to
debug.
2015-06-07 12:25:38 -04:00
balr0g
72794f8ff1
Use attribute unused for inlined new/delete. (nw)
...
This is still not compliant code, and will probably break with LTO,
but is a cleaner fix for the warning. Using this attribute also ensures
that the linker doesn't remove the code.
2015-06-07 12:02:20 -04:00
Julian Sikorski
9027ce9575
Added the ability to use system flac, jpeg, lua, sqlite3, portmidi and zlib based on wallyweek's work
2015-06-06 23:39:24 +02:00
balr0g
8923954751
Minor license tag fix (nw)
2015-06-02 14:38:39 -04:00
Cowering
ea2762e799
Merge branch 'master' of https://github.com/mamedev/mame
2015-05-28 17:07:47 -05:00
Cowering
4332164659
compile fixes for GCC5.1.1 win64 and CPP11 mode.. requested by mingw team to test LTO fixes. please add #ifdefs if 64 bit printf does not work for you
2015-05-28 17:03:36 -05:00
Miodrag Milanovic
a54c5aace9
fix bgfx on windows sdl build (nw)
2015-05-28 08:57:48 +02:00
Miodrag Milanovic
64e16ca8cf
Cleanups and version bump
2015-05-27 09:03:32 +02:00
Curt Coder
b8136ba189
Don't segfault on software list image save. (nw)
2015-05-26 13:20:06 +03:00
couriersud
c702261bae
Discrete audio license update. Put my name on quite a number of discrete
...
audio drivers which I created. Also inserted D. Renaud were appropriate.
Left FIXMEs were I think the copyright holder could actually be D. R.
(nw)
2015-05-25 21:24:02 +02:00
couriersud
e1e0e9edbd
Fixed some clang 3.6 compilation errors and gcc -Wextra warnings. (nw)
2015-05-25 19:32:31 +02:00
Paul Priest
51f0046d04
Self-service (nw)
...
Drivers/core where made (still) recognisable contributions as non-primary author. Any objections, feel free to revert.
2015-05-24 21:32:07 +01:00
Miodrag Milanovic
d22ab4e6e2
owner name consistency and typo fix (nw)
2015-05-22 19:51:00 +02:00
Miodrag Milanovic
5f75a0f05e
unified licenses names (nw)
2015-05-22 15:53:53 +02:00
Miodrag Milanovic
2a52761339
Sven gave permission for BSD3 distribution (nw)
2015-05-22 14:34:28 +02:00
Cesare Falco
84638a73cf
Bump version on *nix man pages.
2015-05-22 12:40:08 +02:00
couriersud
a121403aa3
Fixed a number of "-Wextra -Wdouble-promotion" warnings. (nw)
2015-05-18 00:38:30 +02:00
Vas Crabb
a443584b1f
Cocoa debugger: correctly size controls for user font selection (nw)
2015-05-14 19:36:09 +10:00
R. Belmont
26572a83c3
Merge pull request #173 from ImJezze/master
...
Many HLSL shader improvements [Jezze]
2015-05-11 11:02:01 -04:00
Miodrag Milanovic
db9f8ea39c
did license settings for OG and Andrew, cleared up OSD part for licenses (nw)
2015-05-09 17:02:35 +02:00
Miodrag Milanovic
5df1b60963
MAME now represent full build, for building MESS drivers only use [Miodrag Milanovic]
...
make SUBTARGET=mess, for building only Arcades drivers only use:
make SUBTARGET=arcade
2015-05-09 15:10:29 +02:00
ImJezze
f940c884a0
Fixed automatic Shadow Mask rotation
...
- fixed usage of OrientationSwapXY shader parameter
- added RotationSwapXY shader parameters to consider the user defined
screen rotation
2015-05-09 11:40:23 +02:00
Miodrag Milanovic
f5ba2d39b3
removed restriction link for BSD3 licensed files (nw)
2015-05-07 11:25:01 +02:00
Miodrag Milanovic
1a3af8b611
Added license headers to the rest of files (nw)
2015-05-07 10:52:45 +02:00
ImJezze
a70198a5fb
HLSL shader improvements
...
- changed shadow mask implementation, shadow count XY now represent the
number of pixel the shadow UV sized tiles will take on the screen
- implemented rotation of the shadow mask texture depending on the
default landscape or portrait view of the screen
- removed prescale and pixel border of the shadow mask texture
- added option to change the shadow UV offset, to reduce the color
bleeding of the shadow mask
- adjusted presets to work with the changed mask implementation
- reduced defocus offset
- improved downsampling for better blurring
- improved alignment of bloom layers (raster and vector)
- applied bloom effect to the render output of screenshot and AVI
recording
- changed curvature effect to fit screen size
- changed scanlines to be not rendered into bloom layers
- changed shadow mask to be not rendered into bloom layers
- changed color floor to not light the bloom layers
- changed shadow mask to not dark the color floor
- added image vignetting simulation and option
- added round screen corner simulation and option
- added screen light reflection simulation and option
- made usage of unused brightness offset (additive)
- removed unused pincushion option
- removed duplicate shadow count Y options
- removed artwork/adapture.png
- added artwork/adapture-grill.png
- added artwork/shadow-mask.png
- added artwork/slot-mask.png
- added hlsl/simple.fx
- removed unused shaders::blit() function
- added shaders::screen_pass() function, which handles the
(raster-)rendering on screen, into screenshot and AVI recording
- added effect:set_bool() function
2015-05-03 14:41:05 +02:00
Miodrag Milanovic
76b978d039
Cleanups and version bump
2015-04-29 08:18:54 +02:00
Vas Crabb
c25f6d922d
SDLMAME v0.160 selects the first mode unconditionally as a best mode when -switchres is used on SDL12 [KO Myng-Hun]
2015-04-26 07:31:43 +10:00
Cesare Falco
140e7b4618
*nix man pages: Added new options to select debugger font face and size
2015-04-25 08:56:42 +02:00
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