Commit Graph

1658 Commits

Author SHA1 Message Date
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