Miodrag Milanovic
6281e26ddb
fix compile on windows (nw)
2016-03-31 20:22:02 +02:00
AJR
54f7422c2a
Conflict resolution (nw)
2016-03-31 10:29:46 -04:00
AJR
a7e393b36b
Iterate over core classes C++11 style
...
C++11 range-based for loops can now iterate over simple_list, tagged_list, core_options, device_t::subdevice_list, device_t::interface_list, render_primitive_list and all subclasses of the above, and much code has been refactored to use them. Most core classes that have these lists as members now have methods that return the lists themselves, replacing most of the methods that returned the object at an owned list's head. (A few have been retained due to their use in drivers or OSD.)
device_t now manages subdevice and interface lists through subclasses, but has given up the work of adding and removing subdevices to machine_config.
memory_manager has its tagged lists exposed, though the old rooted tag lookup methods have been removed (they were privatized already).
2016-03-31 09:43:53 -04:00
Brad Hughes
2b0cc65dba
Unsubscribe SDL input modules from events on exit.
2016-03-30 17:24:29 -04:00
Miodrag Milanovic
913ab1e140
Cleanups and version bump
2016-03-30 08:35:21 +02:00
Scott Stone
28c9be35ea
Change INIPATH default to cover new HLSL presets (ini/presets) (nw)
2016-03-30 00:38:08 -04:00
therealmogminer@gmail.com
59e129f599
Reinstate scale param for bgfx texture, nw
2016-03-30 03:28:03 +02:00
therealmogminer@gmail.com
d9153eb306
Get bgfx post-processing working with laserdisc games, nw
2016-03-29 11:28:24 +02:00
Jeffrey Clark
18d7e34620
cleanup build includes (nw)
2016-03-28 22:46:00 -05:00
therealmogminer@gmail.com
a4f615a14d
Get NTSC working in both bgfx and d3d, nw
2016-03-29 01:56:37 +02:00
therealmogminer@gmail.com
c0b1182712
Final bgfx fixups for release
2016-03-28 22:58:32 +02:00
ImJezze
fe9dfdbf99
Refactored Bloom
...
- reduced raster bloom level to 8
- extended vector bloom level to 15
- changed vector bloom to be less blocky
- removed bloom_lvl9_weight and bloom_lvl10_weight options
2016-03-28 20:19:01 +02:00
therealmogminer@gmail.com
523a552f5c
Adjust some minor things in bgfx, nw
2016-03-27 19:56:49 +02:00
Miodrag Milanovic
158c90cf11
Initial work to make MAME work on Android [Miodrag Milanovic]
2016-03-27 17:35:23 +02:00
Lord-Nightmare
852240ddf2
fix compile (nw)
2016-03-26 22:22:34 -04:00
R. Belmont
5db0501a3b
Merge pull request #743 from ajrhacker/options
...
Allow software selected from UI to install slot defaults
2016-03-26 21:47:59 -04:00
R. Belmont
0bdcf99982
Merge pull request #745 from ImJezze/pull
...
Improved appearance
2016-03-26 21:47:02 -04:00
ImJezze
41595c05c4
Change vector and gameboy preset (nw)
2016-03-26 11:18:08 +01:00
AJR
96c6dd3344
Allow software selected from UI to install slot defaults
...
Prevent clang warning about unused variable in BGFX target_manager (nw)
2016-03-26 01:17:01 -04:00
therealmogminer@gmail.com
ad7f0e260e
Minor bgfx fixups, nw
2016-03-26 00:15:27 +01:00
therealmogminer@gmail.com
1d4d639044
Fix unused variable, nw
2016-03-25 19:00:38 +01:00
therealmogminer@gmail.com
22f0c31238
Cleanup in the bgfx aisle, nw
2016-03-25 18:44:46 +01:00
ImJezze
c731b59cbe
Added oversampling option
...
- and some cleanup
2016-03-25 16:40:32 +01:00
therealmogminer@gmail.com
93e5a03b89
Huge cleanup of render target handling, nw
2016-03-25 16:20:12 +01:00
Jeffrey Clark
3fcb69a1f2
Fix cross compile (nw)
2016-03-23 15:37:11 -05:00
Brandon Munger
1ac041cd69
Fix compile error (nw)
2016-03-23 14:44:41 -04:00
Vas Crabb
173dcfaaa5
Copy/paste some code from Windows OSD to get SDL going again - sorry if this is dirty
2016-03-24 05:01:31 +11:00
Miodrag Milanovic
bc43490a4c
ah (nw)
2016-03-23 18:35:35 +01:00
Miodrag Milanovic
6fcd60b271
Fix clang compile error (nw)
2016-03-23 18:25:32 +01:00
therealmogminer@gmail.com
ba0a1d8d52
Merge bgfx_shader into master, nw
2016-03-23 17:55:55 +01:00
Brad Hughes
d0867ac3f2
Removing unused functions from winutf8.cpp. Also adding UWP implementations for Set/GetWindowText.
2016-03-23 12:44:30 -04:00
therealmogminer@gmail.com
5ed9f938ea
Typo fix, nw
2016-03-23 17:43:17 +01:00
therealmogminer@gmail.com
e6e705190c
Fix broken cocktail mode, nw
2016-03-23 17:37:59 +01:00
therealmogminer@gmail.com
e3355f1b9f
Fix up description of -bgfx_screen_chains, nw
2016-03-23 17:27:15 +01:00
therealmogminer@gmail.com
295aafc5e5
Per-screen sliders and some bugfixing, nw
2016-03-23 17:12:07 +01:00
therealmogminer@gmail.com
9f48ad4fbb
Add screen-specific shader chain support, nw
2016-03-23 15:11:12 +01:00
Miodrag Milanovic
1054cfe7fd
Fix compile (nw)
2016-03-23 08:38:30 +01:00
Brad Hughes
1c7f05a833
Get max char size from ANSI codepage instead of IsDBCSLeadChar()
2016-03-22 21:15:46 -04:00
therealmogminer@gmail.com
c0a67e7310
Fix housemnq crash, nw
2016-03-22 16:54:01 +01:00
Vas Crabb
59fa46280b
Remove now-unused variable
2016-03-22 12:48:16 +11:00
therealmogminer@gmail.com
124b4ab8a7
Fix cocktail mode crash
2016-03-21 18:26:50 +01:00
Antonio Giner
7d22cfaaf6
Merge remote-tracking branch 'refs/remotes/mamedev/master'
2016-03-21 17:01:57 +01:00
Miodrag Milanovic
2a4a703c79
clang compile fixes (nw)
2016-03-21 11:31:53 +01:00
therealmogminer@gmail.com
a99df78801
Merge with master
2016-03-21 08:27:06 +01:00
therealmogminer@gmail.com
b224d9a77a
Make specifying invalid bgfx backends non-fatal, nw
2016-03-21 06:33:45 +01:00
therealmogminer@gmail.com
825d575195
Fix lots of issues with bgfx
2016-03-21 03:43:02 +01:00
Antonio Giner
57b1c6ab77
Merge remote-tracking branch 'refs/remotes/mamedev/master' into integer_scaling_v2
2016-03-20 22:14:39 +01:00
Antonio Giner
bb51885229
Move integer scaling implementation to render_target::compute_visible_area
...
- Add core option -unevenstretch
- Add core option -unevenstretchx
2016-03-20 21:57:38 +01:00
Brad Hughes
9328fa9028
Fix VS Build issue for WRL ComPtr
2016-03-19 21:43:27 -04:00
dankan1890
5410d5a40a
temporary fix for VS build. (nw)
2016-03-20 00:47:54 +01:00
Brad Hughes
725b90b5fd
Handle a couple more SDL window events to track focus in input module.
2016-03-19 12:50:12 -04:00
Brad Hughes
f38d58f41b
Fix build break for X11 input
2016-03-19 12:22:50 -04:00
Brad Hughes
bcf2c50e13
Merge branch 'master' of https://github.com/mamedev/mame.git
2016-03-19 12:00:57 -04:00
Brad Hughes
7a0a60d3c4
Fix SDL input focus tracking bug plus remove references to USE_OLD_SDL_INPUT compiler directive from the input refactor.
2016-03-19 12:00:50 -04:00
Miodrag Milanovic
95a2e4c2c6
compile BGFX for RPI as well (nw)
2016-03-19 16:09:34 +01:00
Miodrag Milanovic
d2fe9e454b
Revert "Don't invoke VLA unnecessarily"
...
This reverts commit 9a299f35f3
.
2016-03-19 16:09:34 +01:00
Vas Crabb
57f61b2bae
* Fix handling of return codes from newer Windows APIs
...
* Fix a handle-leak in Windows stat implementation
* Return actual error code when path creation succeeds but file creation doesn't
2016-03-19 21:07:25 +11:00
Vas Crabb
9a299f35f3
Don't invoke VLA unnecessarily
2016-03-19 20:35:19 +11:00
Miodrag Milanovic
34cac8befd
fix compile on 4.9.x (nw)
2016-03-19 10:24:32 +01:00
Vas Crabb
855136bfc3
Fix creation of paths on POSIX
2016-03-19 20:07:03 +11:00
therealmogminer@gmail.com
1226b243a2
Make JSON error checking a lot more verbose
2016-03-19 05:44:38 +01:00
Brad Hughes
44a3589fd0
Fix DirectInput stuck joystick directional input when window loses focus. The reset function for the device was overwriting the axis information previously obtained. Changed it to correctly only reset the state member.
2016-03-18 22:57:16 -04:00
Brad Hughes
cadc351289
General code cleanup in input modules. Using ComPtr to manage DirectInput resources.
2016-03-18 22:51:06 -04:00
Antonio Giner
57199a7dff
Revert changes in layout view prior to rework of integer scaling
2016-03-19 00:02:41 +01:00
Antonio Giner
e39daaf5bd
Merge remote-tracking branch 'refs/remotes/mamedev/master'
2016-03-18 22:41:17 +01:00
cracyc
a03a06380d
winfile: fix narrowing error with gcc if LARGE_INTEGER is a union (nw)
2016-03-18 13:17:07 -05:00
therealmogminer@gmail.com
50e3b68924
Bugfixes, nw
2016-03-18 18:56:29 +01:00
therealmogminer@gmail.com
00f83c15ae
Fix screen flipping on opengl targets in bgfx, nw
2016-03-18 18:44:39 +01:00
Brad Hughes
ce5bd9a3d2
Merge branch 'master' of https://github.com/mamedev/mame.git
2016-03-18 13:38:01 -04:00
Brad Hughes
603d5509df
Update Windows OSD file functions to preferred more modern versions. All still available on XP and later.
2016-03-18 13:37:49 -04:00
therealmogminer@gmail.com
f464df3073
Setting a sampler counts as setting a uniform in bgfx, nw
2016-03-18 17:20:55 +01:00
therealmogminer@gmail.com
c383078ba5
Hopefully fix crashes on SDL, nw
2016-03-18 16:53:21 +01:00
Vas Crabb
f993cbbf0c
Slight simplification to the code
2016-03-19 00:30:56 +11:00
therealmogminer@gmail.com
03b2de3556
Add bgfx_backend and bgfx_debug options, fix compile error on mac, nw
2016-03-18 14:17:25 +01:00
Brad Hughes
4e214fd08d
Rewrote overly complex rawinput_device_improve_name function for rawinput module, plus fixing some other defects in input modules as detected by coverity.
2016-03-18 00:13:45 -04:00
therealmogminer@gmail.com
e37b96b68d
Some bugfixes for BGFX on SDL, nw
2016-03-18 04:49:37 +01:00
therealmogminer@gmail.com
ea9e591a0c
Polishing up BGFX shader system, nw
2016-03-18 03:21:34 +01:00
Scott Stone
ba499f3860
Merge pull request #724 from ImJezze/master
...
HLSL refactoring
2016-03-17 20:27:10 -04:00
Antonio Giner
421656e108
Merge remote-tracking branch 'refs/remotes/mamedev/master'
2016-03-17 22:50:29 +01:00
therealmogminer@gmail.com
d7dc173df9
Fix scrolling in slider list, nw
2016-03-17 15:48:32 +01:00
Brad Hughes
26ccf5e75f
Merge branch 'master' of https://github.com/mamedev/mame.git
2016-03-17 09:22:16 -04:00
Brad Hughes
6cd37a0498
DirectWrite font enumeration support
2016-03-17 09:22:11 -04:00
Vas Crabb
d604c8b9d9
Do single conversion instead of two (nw)
2016-03-17 21:31:00 +11:00
Vas Crabb
a01a40c0a9
Fix TTC loading (thanks for the tip, Sarayan)
2016-03-17 20:57:06 +11:00
Justin Kerk
c54c32a82e
Don't need this either (nw)
2016-03-17 04:37:24 +00:00
Vas Crabb
f99198c5c2
Implement couriersud's proposal to put style name in the config name for SDL fonts
...
Enumerate available font styles as well as families
Still has a problem in that TTC fonts are enumerated but can't be loaded by SDL_ttf
2016-03-17 13:32:41 +11:00
Justin Kerk
4cc9dd016a
Don't need to ifdef this out anymore either (nw)
2016-03-17 02:04:19 +00:00
Justin Kerk
d0ce8784a7
Build more of font_sdl.cpp with Emscripten since there is an SDL2_ttf port now (nw)
2016-03-17 01:42:48 +00:00
couriersud
0f3bc4ca99
Fix linux font loading. [Couriersud]
2016-03-16 21:07:17 +01:00
couriersud
3db357bff4
A lot of ttf fonts (including C/J/K fonts like unifont) do not have an
...
type attribute "Regular". This fix will load the first font found if no
"bold" "bold italic" "italic" or "regular" attribute was found.
[Couriersud]
2016-03-16 20:11:41 +01:00
therealmogminer@gmail.com
493cf7289b
More bgfx HLSL fixups, nw
2016-03-16 18:52:07 +01:00
Vas Crabb
6ecc87bc28
Fix drawing characters outside Unicode BMP with SDL
...
Font selection on Linux seems to be working provided you don't choose C/J/K fonts
Selecting a C/J/K font causes MAME to give a black screen when dropping back to main menu
Since fallback fonts aren't used, this means you can't use the Chinese/Japanese localisations with SDL font provider
2016-03-17 04:10:43 +11:00
Vas Crabb
a3b35f8bc6
Move font enumeration to OSD, separate font name from display name as needed for OSX
2016-03-17 00:04:52 +11:00
ImJezze
b507dbb5fc
Scanline Variation
...
- added option for scanline variation
2016-03-15 22:15:25 +01:00
therealmogminer@gmail.com
e1883e3090
Remove -mt, nw
2016-03-15 05:33:23 +01:00
therealmogminer@gmail.com
b212e5dc2e
Add most of the rest of the D3D HLSL chain, nw
2016-03-15 05:17:38 +01:00
Antonio Giner
da18057256
Implement integer scaling in core renderer [Calamity]
2016-03-15 01:04:37 +01:00
couriersud
41c8a9f6fa
netlist updates:
...
- First steps to move towards c++11.
- Base plist on std::vector
- Replace pstack with std::stack
- Remove pnamed_list
- use c++ "for each" in a number of places
- Fixed two "time bombs"
[couriersud]
2016-03-14 20:24:29 +01:00
Justin Kerk
92357bdff2
Fix Emscripten build (nw)
2016-03-14 14:34:52 +00:00
Miodrag Milanovic
e159558996
fix error compiling with clang (nw)
2016-03-14 09:54:10 +01:00
Vas Crabb
a6e758175d
Fixes for Linux
2016-03-14 19:51:52 +11:00
Vas Crabb
34d7850c1e
More fix, and fix a memory leak, too
2016-03-14 19:22:10 +11:00
Vas Crabb
b6ea568352
Win fix
2016-03-14 19:06:57 +11:00
Vas Crabb
42fbb9c396
Make osd_file a polymorphic class that's held with smart pointers
...
Make avi_file a class that's held with smart pointers, encapsulate various AVI I/O structures
Make zip_file and _7z_file classes rather than having free functions everywhere
Hide zip/7z class implementation behind an interface, no longer need to call close() to send back to the cache
Don't dump as much crap in global namespace
Add solaris PTY implementation
Improve variable expansion for SDL OSD - supports ~/$FOO/${BAR} syntax
Rearrange stuff so the same things are in file module for all OSDs
Move file stuff into its own module
7z/zip open and destruct are still not thread-safe due to lack of interlocks around cache access
Directory functions still need to be moved to file module
SDL OSD may not initialise WinSock on Windows
2016-03-14 18:55:00 +11:00
Miodrag Milanovic
2bc9f09811
Revert "Fix that makes non-Unicode build to work (nw)"
...
This reverts commit 560e350e22
.
2016-03-14 07:49:39 +01:00
ImJezze
4de23e7624
#06144 : Fixed infinite loop
...
- fixed infinite loop while building slider list, when more than one
window was created
refs mametesters #06144
2016-03-13 17:18:33 +01:00
ImJezze
c2d4e3c018
Cleanup (nw)
...
- options are reset to loaded preset when game is closed
- changed default values of options to result in no effects activated
- init_slider_list() does not returns but sets g_slider_list directly
- removed unnecessary oriented_vector_texcoords
2016-03-13 17:11:08 +01:00
therealmogminer@gmail.com
9c33c40b82
Fix up NTSC shaders, nw
2016-03-13 15:51:20 +01:00
therealmogminer@gmail.com
cd8f796df6
Add bgfx command line options, major shakeup of organization, nw
2016-03-13 15:51:19 +01:00
therealmogminer@gmail.com
ad1e6ef899
Add dynamic skipping of shader chain passes, nw
2016-03-13 15:51:17 +01:00
therealmogminer@gmail.com
47bdc0f254
Add double-buffered render target support to bgfx shader defs, nw
2016-03-13 15:51:16 +01:00
therealmogminer@gmail.com
a20459a6a3
Fix up numerous bgfx shader bugs, add auto-uniform u_texsize, nw
2016-03-13 15:51:16 +01:00
therealmogminer@gmail.com
3172371fcd
More work on bgfx data-driven shaders, nw
2016-03-13 15:51:15 +01:00
ImJezze
7add547602
Refactoring of render targes and vector texture coordinates
...
- implemented proper texture coordinates for vector quad primitive
- vector screen is now processed in texture coordinates
- revered workaround for raster screen, which is again processed in
texture coordinates
- known issue: cocktail mode for vector screen looks wrong
2016-03-12 16:03:28 +01:00
ImJezze
a026a582f1
Merge pull request #15 from mamedev/master
...
Sync to base master
2016-03-12 12:31:13 +01:00
Miodrag Milanovic
560e350e22
Fix that makes non-Unicode build to work (nw)
2016-03-11 18:12:42 +01:00
Miodrag Milanovic
679574e965
With latest package from MSYS of clang 3.8.0 build at least compile fine on windows (nw)
...
Strange crashing while executing
2016-03-11 15:00:29 +01:00
Vas Crabb
a880f01b17
Don't need to call FlushFileBuffers (it's equivalent to fsync, not fflush)
2016-03-11 20:56:08 +11:00
Vas Crabb
bb0de79a3a
To ArBee with love
...
Add common debugger commands to global menu bar [Vas Crabb]
Also fix occasional crash in Copy Visible
Note that copy visible, paste, toggle breakpoint, and view options still require you to use context menus in windows
Debug/Run menus only work when a debugger window has focus, so Break is less useful than it could be
Hope this is at least a slight improvement for you, ArBee
2016-03-10 19:16:52 +11:00
Miodrag Milanovic
2d3c0abaef
compile fix (nw)
2016-03-08 16:13:07 +01:00
Miodrag Milanovic
de04399afa
Fixed osdmini building for android and pnacl (nw)
2016-03-08 15:46:20 +01:00
Miodrag Milanovic
858c1002d1
compile with latest bgfx,bx (nw)
2016-03-08 12:58:10 +01:00
Miodrag Milanovic
e76d30243e
Removed I64FMT and SIZETFMT, one usage left in chdman.cpp (nw)
2016-03-07 19:34:44 +01:00
Vas Crabb
409fbaba89
hopefully fix build for everyone
2016-03-06 22:41:27 +11:00
Brad Hughes
854fe5592f
Fix Visual Studio build
2016-03-05 16:08:02 -05:00
Jeffrey Clark
b1182ed63b
fix build errors (nw)
2016-03-05 14:37:49 -06:00
Brad Hughes
88412da862
Make XAudio2 available in all Windows OSD builds, plus use 2.9 if available, plus code cleanup.
2016-03-05 15:02:52 -05:00
Miodrag Milanovic
5b549a4fe0
Using SDL_INIT_GAMECONTROLLER it explicitly calls SDL_INIT_JOYSTICK some experimental code (nw)
2016-03-05 13:02:44 +01:00
Miodrag Milanovic
15dadb5bc0
Missed a few files (nw)
2016-03-05 10:45:40 +01:00
Miodrag Milanovic
d4fe78a48a
Added README and LICENSE files (CC0) to folders containing meta-data or documentation (nw)
2016-03-05 10:31:41 +01:00
Miodrag Milanovic
298ce35d64
Added missing xaudio2 header from WINE that is free to use (nw)
2016-03-05 08:59:39 +01:00
Miodrag Milanovic
39f3243a20
consistency fixes and add missed files (nw)
2016-03-04 15:37:07 +01:00
Miodrag Milanovic
ccc12869fd
these are constexpr so calculation does not cost (nw)
2016-03-03 19:30:37 +01:00
Brad Hughes
22f8848c25
Merge branch 'master' of https://github.com/mamedev/mame.git
2016-03-03 11:27:41 -05:00
Brad Hughes
4fadaa781d
Add module probe support for directwrite so we can fall back cleanly.
2016-03-03 11:27:09 -05:00
Brad Hughes
e153edfaec
Code cleanup in rawinput plus use common code for dynamic function binding.
2016-03-03 11:26:08 -05:00
Miodrag Milanovic
23ae468189
use chrono calls for time handling in core (nw)
2016-03-03 15:46:15 +01:00
Brad Hughes
028b4c5b21
Fix DirectWrite font module init error handling
2016-03-02 16:23:45 -05:00
ImJezze
a12fa9fb65
Merge pull request #14 from mamedev/master
...
Sync to base master
2016-03-02 21:53:19 +01:00
ImJezze
9fe9f6d93e
Merge remote-tracking branch 'refs/remotes/mamedev/master'
...
# Resolved Conflicts:
# src/osd/modules/render/d3d/d3dhlsl.cpp
# src/osd/windows/winmain.cpp
2016-03-02 21:49:49 +01:00
Brad Hughes
cb6f06ee30
Simplify xinput dynamic linking
2016-03-02 15:05:42 -05:00
Brad Hughes
8803de248e
Add DirectWrite font support module
2016-03-02 14:13:53 -05:00
ImJezze
dbdf21ee46
Fixed infinite loop
...
- fixed infinite loop while building slider list, when more than one
screen was created (reverted from commit 546f7a2487
)
2016-03-02 19:26:09 +01:00
ImJezze
546f7a2487
Fixed infinite loop
...
- fixed infinite loop while building slider list, when more than one
screen was created
2016-03-02 19:16:24 +01:00
Brad Hughes
babce5a0c7
Minor fixes for DirectInput 7
2016-03-01 19:11:23 -05:00
Miodrag Milanovic
7a1ee25edc
Fix OSX build(nw)
2016-03-01 21:22:44 +01:00
Miodrag Milanovic
3baa2e6e81
update for osdmini (nw)
2016-03-01 21:17:34 +01:00
Miodrag Milanovic
5649dce497
small fix (nw)
2016-03-01 20:55:36 +01:00
Miodrag Milanovic
d9510ed04d
Used std::thread and std::condition_variable (nw)
2016-03-01 20:52:56 +01:00
Brad Hughes
65c3b22b20
Merge dynamic load XInput
2016-03-01 11:13:51 -05:00
Brad Hughes
630edadf9c
Dynamically load xinput
2016-03-01 11:08:05 -05:00
Miodrag Milanovic
91d965d80c
remove asm part for atomic implementations (nw)
2016-03-01 15:21:09 +01:00
Miodrag Milanovic
0b4723c8cc
transformed to std::atomic (nw)
2016-03-01 15:00:15 +01:00
Miodrag Milanovic
91c910e73c
Use std::atomic and std::mutex where applicable (nw)
2016-03-01 13:09:50 +01:00
Vas Crabb
ed69d14967
Unused variable
2016-03-01 14:53:28 +11:00
Vas Crabb
4157688db6
Using unbuffered I/O anyway
2016-03-01 14:44:01 +11:00
Brad Hughes
3b0d8b1efb
Merge branch 'xinput_local_temp1' of E:\mame\bradhugh.mame\mame
2016-02-29 21:59:56 -05:00
Brad Hughes
5cc9973a0a
Add XInput support for Windows OSD
2016-02-29 21:48:14 -05:00
MoochMcGee
c5426670a4
Fix an SDL compile bug
2016-02-29 20:30:28 -06:00
Vas Crabb
ba960afb5f
Add function for flushing file buffers
2016-03-01 07:38:14 +11:00
Miodrag Milanovic
7936291894
fix compile on 32bit mingw (nw)
2016-02-29 10:10:50 +01:00
Miodrag Milanovic
4224b67779
cleanup (nw)
2016-02-29 08:52:04 +01:00
Brad Hughes
f68ad66131
Merge input modules work.
2016-02-28 14:56:54 -05:00
Brad Hughes
7dfb578559
Refactor OSD input into modules
2016-02-28 14:25:10 -05:00
ImJezze
0e76ce80de
Cleanup primary.fx
...
- split into primary.fx into 3 techniques for vector buffer, screen and
UI pass
- moved register_texture() for shaders outside of texture_info creation
- added render_primitive parameter to register_texture(); currently
unused
- removed other unused register_texture() definition
2016-02-28 18:59:10 +01:00
Miodrag Milanovic
d123317a60
-verbose enable debug data with -video bgfx (nw)
2016-02-28 18:01:53 +01:00
Miodrag Milanović
45f749f121
Merge pull request #656 from motoschifo/master
...
Added -exit_after_playback to man pages
2016-02-28 16:18:57 +01:00
Vas Crabb
63f0a918de
Clean up a bit more legacy code
2016-02-29 01:53:08 +11:00
Vas Crabb
92b84c8463
Pick off some low-hanging PTR64 fruit
2016-02-28 14:55:49 +11:00
Vas Crabb
aec01e7407
Replace strformat, strprintf and strcatprintf with type-safe steam_format and string_format
...
Update MAME to use new function
Instantiate ODR-used static constant members
Make some of the UI code more localisable
Remove use of retired functions in tools
2016-02-28 13:36:19 +11:00
therealmogminer@gmail.com
64135e73f9
Cleaned up sliders a bit in d3dhlsl, nw
2016-02-27 16:11:01 +01:00
therealmogminer@gmail.com
cdee786a5d
Fix up a few things in chain JSON loading, nw
2016-02-27 16:11:01 +01:00
Michele Fochi
0c629d0900
Added -exit_after_playback to man pages
2016-02-27 13:14:44 +01:00
Miodrag Milanovic
38874df019
Fix build on SteamLink and enforce BGFX on it (nw)
2016-02-27 09:38:29 +01:00
Miodrag Milanovic
4727b0d97f
OS/2 can not support SDL2 which is needed for MAME to run (nw)
2016-02-26 13:20:43 +01:00
ImJezze
11395616dd
Bloom refactoring
...
- calculation of bloom dimensions is now done only once, when render
target is created
- reduced blur width for non-vector screens
- implemented shadow u/v option for source tile mode
2016-02-25 20:58:49 +01:00
Miodrag Milanović
e934aa93db
Revert "New driver specifiers; modify -listclones, -listsource; add -listtree"
2016-02-25 14:04:13 +01:00
Miodrag Milanović
1e7debe9a1
Merge pull request #650 from ajrhacker/listclones
...
New driver specifiers; modify -listclones, -listsource; add -listtree
2016-02-25 08:22:23 +01:00
AJR
3fc0787fa8
New driver specifiers; changes to -listclones, -listsource; add -listtree
...
Five new specifiers for driver enumeration and all commands depending thereon:
- @source.cpp matches all drivers in source.cpp
- ^driver matches driver and all its clones
- :drivbios matches drivbios and all drivers having it as their BIOS
- ^ matches all drivers excluding clone sets
- : matches all BIOS roots
Note that these new specifiers are not compatible with other wildcards; they only perform normal case-insensitive matches with driver or source file names.
The -listclones command now lists drivers in a completely different, human-readable format. It performs an extra loop to deduce the parent set name if a clone was specified; this causes, for instance, -listclones pacman and -listclones puckman to produce identical output. It includes descriptions with the clone driver names much like -listfull, and uses the parent set's description as a header for its clones. It also recognizes BIOSes and lists unique matching sets with no clones at the end of the output.
The -listsource command outputs not only the source file of each matching driver, but also its parent set and BIOS root (if any). These are output using the new @sourcefile, ^driver and :bios specifiers.
The new -listtree command is a human-readable analogue to -listsource and an alternative to -listclones. It tabulates drivers by source file in tree format, with the names of clones indented under their parents and drivers indented under their respective BIOS roots.
The -listbrothers command remains functionally unchanged, but should be considered somewhat deprecated in favor of the @sourcefile specifier with other listing commands.
Fix include_all counting error causing assert to fail in find_approximate_matches (nw)
Relax dependencies on drivenum.h in UI headers (nw)
2016-02-24 18:47:37 -05:00
cracyc
8c3429cf19
pcap: fix error and crash (nw)
2016-02-24 08:18:50 -06:00
Miodrag Milanovic
834936200a
fix compile (nw)
2016-02-24 08:02:17 +01:00
Miodrag Milanovic
3abcaee63f
Cleanups and version bump
2016-02-24 07:46:57 +01:00
therealmogminer@gmail.com
b7675d4652
Maybe fix nounevenstretch on windows osd
2016-02-24 01:12:22 +01:00
therealmogminer@gmail.com
8644419c95
Fix -window -r -nokeepaspect behavior on Windows OSD, nw
2016-02-23 23:34:36 +01:00
therealmogminer@gmail.com
72365ec20a
Fix lack of bgfx output on OS X, nw
2016-02-22 22:23:23 +01:00
ImJezze
d44f8f4c2b
Merge pull request #13 from mamedev/master
...
Sync to base master
2016-02-22 18:29:53 +01:00
therealmogminer@gmail.com
72dd79838f
Fix bgfx crash when launching games from UI, nw
2016-02-22 17:57:35 +01:00
therealmogminer@gmail.com
53994092de
Fix D3D and BGFX fullscreen toggle issues, nw
2016-02-22 17:30:35 +01:00
Miodrag Milanovic
cce0696a5f
Made OSD=sdl build compile out of box in Visual Studio (nw)
2016-02-22 14:23:15 +01:00
Miodrag Milanović
7df1241e39
Merge pull request #635 from motoschifo/master
...
Man pages aligned to autofire and cheat recent changes
2016-02-22 11:10:01 +01:00
Michele Fochi
8d339dee7c
Man pages aligned to autofire and cheat recent changes
2016-02-22 10:53:15 +01:00
Justin Kerk
83abe3fa3d
Emscripten cleanup (nw)
2016-02-21 23:03:38 -08:00
ImJezze
3be56e3cef
Merge pull request #12 from mamedev/master
...
Sync to base master
2016-02-21 15:49:49 +01:00
Miodrag Milanovic
fadf168c9e
fix -video none (nw)
2016-02-21 15:08:21 +01:00
ImJezze
bf4640c309
Merge remote-tracking branch 'refs/remotes/mamedev/master'
...
Resolved Conflicts:
- src/osd/modules/render/d3d/d3dhlsl.cpp
- src/osd/modules/render/d3d/d3dhlsl.h
- src/osd/modules/render/drawd3d.cpp
- src/osd/modules/render/drawd3d.h
- src/osd/windows/winmain.cpp
2016-02-21 14:50:24 +01:00
Miodrag Milanovic
17305df016
Better fix (nw)
2016-02-21 13:00:56 +01:00
Miodrag Milanovic
782af5c10e
Fix linux compile (nw)
2016-02-21 12:59:52 +01:00
ImJezze
cc24a339d8
Merge remote-tracking branch 'refs/remotes/mamedev/master'
...
Second attempt
2016-02-21 11:48:45 +01:00
Miodrag Milanovic
ed07fd70ed
destroy renderer when needed (nw)
2016-02-21 08:33:39 +01:00
therealmogminer@gmail.com
c13089a065
Fix some compile errors, not sure if all(nw)
2016-02-21 03:52:22 +01:00
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