Commit Graph

2197 Commits

Author SHA1 Message Date
Brad Hughes
02a4591d48 Hybrid Input Module: Change error printing to verbose on probe() and error on init() 2016-05-31 19:46:09 -04:00
ImJezze
0e7755c88c Vector line width is now applied by BGFX 2016-05-29 18:51:09 +02:00
ImJezze
0c83e22fe0 Cleanup vector batch in D3D (nw) 2016-05-29 18:51:08 +02:00
ImJezze
5da7690669 Removed dead D3D code (nw)
- removed not functional vector texture code
- removed unused D3DTOP_MODULATE2X/4X code
- removed unused antialiasing code for UI lines
- removed usage of vector_time_period which does not exist anymore
2016-05-29 18:51:07 +02:00
therealmogminer@gmail.com
63132b3d01 More slider cleanup, nw 2016-05-28 17:33:45 +02:00
Logan B
0a17395344 Rearrange shaderc arguments (nw)
Gets past a shaderc error on linux
2016-05-28 22:42:31 +12:00
Vas Crabb
6b9c752850 misc fixes (nw)
* fix a mismatched new[]/delete error in corealloc
* _name massacre in corealloc while at it
* add template/macro for delaring array with equivalent dimensions
2016-05-28 15:10:28 +10:00
Miodrag Milanovic
088142ff78 fix OSX compile (nw) 2016-05-27 18:56:15 +02:00
therealmogminer@gmail.com
20cc49bf61 Fix potential crash when using pillarbox default.lay but not specifying 3 shader chains 2016-05-27 15:38:45 +02:00
therealmogminer@gmail.com
f263110d93 Fix crash when using pillarbox shaders, nw 2016-05-27 14:45:41 +02:00
Vas Crabb
73153c3387 ui refactoring [Vas Crabb]
* Make ARRAY_LENGTH cause a compile error if used with a pointer/vector
* Clean up text input code, move common operations to inline templates
* Fix numerous one-byte buffer overruns
* Don't flat-out ignore input beyond the C1 hole
* Fix decoding of SDL text input
2016-05-27 16:03:03 +10:00
Brad Hughes
0023938081 Fix -resolution and -switchres 2016-05-26 19:41:06 -04:00
therealmogminer@gmail.com
1f1ccd9b7d Fix debug crash with bgfx screen chains 2016-05-26 21:54:03 +02:00
Vas Crabb
87429e74d9 ui refactoring [Vas Crabb]
* move menu classes into ::ui namesapce
* reduce scope of many symbols

(first step in making UI code less rage-inducing so I can fix text input)
2016-05-27 03:00:20 +10:00
Justin Kerk
72adf80244 Disable pthreads under Emscripten for now, they aren't actually available unless you compile with experimental settings (nw) 2016-05-26 01:10:42 +00:00
Vas Crabb
b60112ce44 couriersud please stop using _names, they're reserved for compiler/system 2016-05-26 11:05:27 +10:00
Miodrag Milanovic
68785dccfe Cleanups and version bump 2016-05-25 08:19:21 +02:00
ImJezze
e208f1d540 Revert partial fix for border style issue (nw)
- reverted from commit f911dfc and a6ccd3b, because it wasted up to 10 percent of the performance in fullscreen mode (actual fix for MT-06209 is not harmed)
2016-05-24 19:40:47 +02:00
smf-
ca0c90ad4f remove some dead threading code (nw) 2016-05-23 12:36:00 +01:00
ImJezze
052fd0c608 Moved extension of vector lines to where it belongs (nw) 2016-05-22 20:54:31 +02:00
ImJezze
92c2bdf917 Normalized vector attenuation settings
- vector_length_ratio is now independent from screen size
- changed vector_length_ratio range from [0.0, 1000.0] to [0.0, 1.0]
- updated display name and description of vector_length_scale vector_length_ratio
2016-05-22 20:54:30 +02:00
Paul Priest
2164ed1848 window.cpp - Remove dead WM_USER_* events for which handling was causing crashes. Fixes MT6217. 2016-05-22 11:07:16 +01:00
Miodrag Milanovic
b6cd9e18e2 Fixed init of XAudio2 when there is no window active (nw) 2016-05-22 11:34:25 +02:00
ImJezze
18522bbc54 Fixed bloom target size for vector screens in full-screen mode
- this also improves the performance slightly
2016-05-22 11:01:23 +02:00
Robbbert
293caed9cb 1. fixed title of fr2; 2. Fixed access violation after getting:
Proposed video mode not supported on device \\.\DISPLAY1
Unable to initialize Direct3D.
Fatal error: Unable to complete window creation
2016-05-21 13:27:54 +10:00
mahlemiut
13d091c38f debugimgui: made a start on rendering just the visible areas of a debugger view. Generally works, but the scrollbar doesn't appear when viewing a 32-bit or larger address space (imgui bug?) 2016-05-20 22:43:13 +12:00
Quench0
7d7d366223 Improve support for more Joysticks with DirectInput8. Also repair DirectInput7 compile. 2016-05-20 18:05:14 +10:00
Miodrag Milanovic
a6f997cb4d Cleanup of network output module 2016-05-19 19:24:51 +02:00
AJR
ea43e9a386 Ioport refactoring and cleanups (nw)
- Completely move mouse hit testing down into the UI input module. This reduces some dependencies.
- Never return a null pointer from ioport_field::name() to prevent potential crashes. All anonymous inputs are classified as INPUT_CLASS_INTERNAL, so several frontend functions now check type_class instead.
- Correct a couple of typos.
2016-05-18 19:23:54 -04:00
ImJezze
29d11280a1 Fixed half pixel offset of vectors in D3D
- appearance should be identical to GDI and BGFX
2016-05-17 21:39:35 +02:00
ImJezze
829641f901 Small changes to creation of render targest in HLSL (nw)
- removed unessesary recreations of non-screen-quad texture targets
- removed creation of cached targets for non-screen-quad texture
2016-05-16 23:19:17 +02:00
ImJezze
ad3525a4d4 Fixed several HLSL problems when running machines without screen (nw) 2016-05-16 23:19:16 +02:00
therealmogminer@gmail.com
b06be31dfe Move slider_state and ui_menu_item into src/frontend/mame, nw 2016-05-16 19:59:15 +02:00
ImJezze
a6ccd3bc23 Fixed MT 06209 (part 3)
- fixed switchres option
2016-05-15 12:05:05 +02:00
ImJezze
f911dfcc39 Fixed MT 06209 (part 2)
- the D3D device is now always created with presentation parameters where Windowed = true, which actually does not make sense
2016-05-15 11:01:33 +02:00
ImJezze
f15b37e5c6 Fixed MT 06209
- when deleting the D3D device, it was reset before with outdate presentation information
2016-05-14 18:19:10 +02:00
mahlemiut
1055499a5b debugimgui: move view drawing into a single function, few more minor colour fixes. 2016-05-14 17:08:34 +12:00
mahlemiut
a39b5d7159 debugimgui: fix up title and menu bar colours. 2016-05-12 19:38:18 +12:00
Miodrag Milanovic
bc1351ead3 Fix colors due to defaults change (nw) 2016-05-12 08:46:07 +02:00
Miodrag Milanovic
175084897e Added ability to create standalone emulators, added zexall as example (nw) 2016-05-08 19:07:18 +02:00
Miodrag Milanovic
e3ff63cdda no deps between osd and frontend, internal debugger removed (nw) 2016-05-06 14:01:27 +02:00
Miodrag Milanovic
87cca4d3f9 No SDL 1.2 support anymore (nw) 2016-05-06 08:22:05 +02:00
Miodrag Milanovic
1d92248a09 leftovers from mt (nw) 2016-05-06 08:12:38 +02:00
Miodrag Milanovic
3c027304eb fix windows SDL build (nw) 2016-05-06 08:01:11 +02:00
Miodrag Milanovic
6c50e184ff Fix OSX compile (nw) 2016-05-06 07:44:11 +02:00
couriersud
6cb4c9c051 RIP sdlinc.h 2016-05-06 02:41:23 +02:00
couriersud
d69d0f9e57 Remove dead code left over from "-mt". [Couriersud] 2016-05-06 02:10:20 +02:00
ImJezze
b4b6543929 Equalized options of HLSL and BGFX HLSL chain
- removed POT texture size from shadow mask in HLSL, U/V size is now simply the percentage of the actual texture size
- adjusted display names of options
2016-05-05 20:59:33 +02:00
mahlemiut
aa540fbb67 debugimgui: Use a getter function for combo boxes. Memory windows are now much faster. 2016-05-04 20:14:48 +12:00
mahlemiut
40dc83ddef debugimgui: move building of source lists for disasm and memory windows so they are done once when created. 2016-05-02 18:59:26 +12:00
Miodrag Milanovic
be67262fc2 INC -> HXX makes editors and code analyzers see it as C++ (nw) 2016-05-01 20:27:50 +02:00
AJR
b3578a6ec8 Merge remote-tracking branch 'upstream/master' into mui 2016-04-27 15:42:06 -04:00
Miodrag Milanovic
cfee536f22 Cleanups and version bump 2016-04-27 08:13:59 +02:00
AJR
e06384aaba Relieve UI menus and such from having to constantly fetch UI object from global state (nw) 2016-04-26 16:37:43 -04:00
Miodrag Milanovic
f440d5b957 Reset menu on toggle fullscreen [barlog] 2016-04-26 19:58:11 +02:00
balr0g
dc85827687 Clean up extended ASCII (nw) 2016-04-26 11:14:09 -04:00
therealmogminer@gmail.com
36ad386e5f Reapply balrog's fix 2016-04-26 12:39:06 +02:00
therealmogminer@gmail.com
ed3eb38382 Fix preservation of settings when changing screen chain selection with multiple screens, nw 2016-04-26 12:39:05 +02:00
Miodrag Milanovic
bcb1b85de5 Fixed Alt-Enter on SDL (nw) 2016-04-26 09:21:55 +02:00
Miodrag Milanovic
c5cd671e89 fix windows compile (nw) 2016-04-26 08:09:32 +02:00
balr0g
983ce4cae0 Revert "Fix crash when switching screen chains (nw)" upon request (nw)
This reverts commit 3e1af09ef5.
2016-04-25 11:53:22 -04:00
Miodrag Milanovic
a301260017 Fix for Alt-Enter on Brad code (nw) 2016-04-25 17:34:47 +02:00
Miodrag Milanovic
9c2ef88573 Revert "Temp revert of Brad changes (nw)"
This reverts commit 5e831f6506.
2016-04-25 17:22:25 +02:00
Miodrag Milanovic
5e831f6506 Temp revert of Brad changes (nw) 2016-04-25 17:09:47 +02:00
balr0g
3e1af09ef5 Fix crash when switching screen chains (nw) 2016-04-25 11:02:29 -04:00
mahlemiut
b5bfde99e3 debugimgui: added keyboard input for the debug view with focus. 2016-04-25 13:58:14 +12:00
therealmogminer@gmail.com
ea6bc4d8ce bgfx: Ported xBR shaders from libretro. [Ryan Holtz, Hyllian] 2016-04-25 02:12:59 +02:00
ImJezze
07d8b25571 Added "selection" parameter to chain input sampler
- if specified all textures (.png) within the same directoy of the given texture will be selectable via slider in the UI
- also added slider for "shadow mask tile mode" to HLSL chain
2016-04-24 20:36:42 +02:00
Miodrag Milanovic
c8c6617862 Fix Clang build (nw) 2016-04-24 13:24:58 +02:00
Miodrag Milanovic
89c5e1f681 Various cleanups suggested by static analyzer (nw) 2016-04-24 12:58:31 +02:00
Miodrag Milanovic
ff2c95e3bf enabled internal debugger, but this would need to go in time, it is too coupled with UI (nw) 2016-04-23 14:22:46 +02:00
mahlemiut
583eaef9f0 debugimgui: Optimised rendering by drawing text via the window draw list. 2016-04-23 22:56:09 +12:00
Miodrag Milanovic
d4d9774272 changes for UWP (nw) 2016-04-23 12:45:06 +02:00
Miodrag Milanovic
1c726824f2 Split UI and frontend part from core [Miodrag Milanovic] 2016-04-23 11:26:47 +02:00
ImJezze
b681e5dc2b Simplified min, max, default and step value handling for chain configuration
- min, max, default and step are now floating points without an addition scale factor
2016-04-22 19:32:35 +02:00
ImJezze
dba12a31ad Small fixes (nw)
- fixed not used u_humbar_hertz_rate parameter
- fixed half pixel shift of the shadow mask along the screen diagonal
2016-04-22 13:16:37 +02:00
Miodrag Milanović
6eb5b8a474 Merge pull request #826 from bradhugh/shared_ptr2
Refactor OSD window.
2016-04-21 19:28:01 +02:00
Brad Hughes
1a844a49c5 Refactor OSD window.
Unified renderer in osd_window as std::unique_ptr
Made windows all std::shared_ptr<window_type>
Made window lists std::list<std::shared_ptr<window_type>>
Updated OSD SDL worker_param to not use malloc (not compatible with smart
pointers)
Made renderer pointer to window a weak reference. May not be available
during destruction of the window.
2016-04-21 11:10:03 -04:00
Miodrag Milanovic
b69d285eab works for sub folders of CHAIN folder specified (nw) 2016-04-21 15:50:15 +02:00
therealmogminer@gmail.com
f5aa86dfc6 Checkpoint 1, nw 2016-04-21 15:48:29 +02:00
Miodrag Milanovic
ff27716bec compile just one chain with
make shaders CHAIN=unfiltered
2016-04-21 15:21:08 +02:00
mahlemiut
5e26d00e6b debugimgui: added sending of mouse clicks to debugger views. Please note that you have to click the view area first to give it focus before you can set the cursor in a disassmbler or memory view. 2016-04-21 21:29:05 +12:00
ImJezze
6e9ef69b7c Fixed b1c06ac (nw) 2016-04-21 09:59:10 +02:00
ImJezze
b1c06acb61 Implemented handling for u_screen_scale and u_screen_offset (nw) 2016-04-21 07:52:29 +02:00
dankan1890
a72ad0c4fe fix sdl build. (nw) 2016-04-21 06:48:26 +02:00
Miodrag Milanovic
a314888cf6 SDL cleanup (nw) 2016-04-20 10:21:27 +02:00
Miodrag Milanovic
8318d85597 Isolate CLI part (nw) 2016-04-20 09:50:13 +02:00
Miodrag Milanović
2ee3949169 Merge pull request #823 from ajrhacker/deviter
Iterate over devices C++11 style [AJR]
2016-04-20 09:19:08 +02:00
ImJezze
cd4dfca43e Refactored BGFX distortion pass (nw)
- also removed vector hack
2016-04-19 21:18:16 +02:00
ImJezze
8ed3a7d94a Refactored distortion pass
- separated curvature parameter into distortion, cubic_distortion and distort_corner
- distortion and cubic_distortion can be negative, to compensate each other
- distort_corner is intependent from the image distortion
2016-04-19 21:13:20 +02:00
therealmogminer@gmail.com
c97e2cb590 Merge branch 'master' of https://github.com/mamedev/mame 2016-04-19 16:30:43 +02:00
therealmogminer@gmail.com
f8034ac812 bgfx: Added SuperEagle shader. [Ryan Holtz] 2016-04-19 16:29:30 +02:00
Brad Hughes
ee6872dc68 Add UWP implementation for cursor methods 2016-04-18 19:05:45 -04:00
AJR
084d3654ca Iterate over devices C++11 style
Replace the old device_iterator and its specialized versions with functionally equivalent classes that use standard operators to yield references to devices/interfaces rather than pointers. With range-based for loops, they no longer have to be stored in named variables, though they can also be reused concurrently since the iteration state is now maintained by a subclass.

Add a few more typical getters to device_t::subdevice_list.
2016-04-18 18:53:28 -04:00
David Haywood
3ab4ced499 fix compile (nw) 2016-04-18 21:07:49 +01:00
couriersud
118658da9d These init calls all returned false. No need for a return value in this
case. [Couriersud]
2016-04-18 21:28:07 +02:00
couriersud
aef55ded1f soft is hard and hard is soft. Two is one and one is two. No wonder
"-video accel" has substandard performance if opengl is disabled.
[Couriersud]
2016-04-18 20:37:28 +02:00
therealmogminer@gmail.com
c64b88bc78 -Added HQ2x, HQ3x and HQ4x shaders. [MooglyGuy,Jules Blok,Cameron Zemek,Maxim Stepin] 2016-04-18 19:40:07 +02:00
couriersud
82188dee99 Fix *nix compile. 2016-04-18 18:46:12 +02:00
Brad Hughes
afbb4b6581 Check that we have a window before updating cursor state 2016-04-18 11:32:03 -04:00
Brad Hughes
870db16e99 Standardize platform window pointer storage in osd_window.
Also encapsulate show/hide capture/release cursor functionality.
2016-04-18 10:03:01 -04:00
therealmogminer@gmail.com
8a07dafbaf Fix crash with -video none, nw 2016-04-18 13:13:22 +02:00
mahlemiut
6db5aa2322 debugimgui: added error log window, and limited the debugger console to display 100 lines, so that rendering it doesn't get too slow. 2016-04-18 19:48:01 +12:00
mahlemiut
5c4ef7ac70 debugimgui: Removed some unused stuff, renamed window class. 2016-04-18 16:12:43 +12:00
Brad Hughes
73bf0b9521 Merge branch 'master' of https://github.com/mamedev/mame.git 2016-04-17 16:35:27 -04:00
Brad Hughes
a525b60817 Fixed missing diagnostic module include. 2016-04-17 16:35:21 -04:00
couriersud
162033204f Fix clang compile. 2016-04-17 22:30:55 +02:00
Brad Hughes
ef4f80b4a4 Create diagnostic module for profiling and crash diagnostics 2016-04-17 16:22:51 -04:00
therealmogminer@gmail.com
e6a54bcc23 Minor fixups to pillarboxing shaders 2016-04-17 20:43:10 +02:00
therealmogminer@gmail.com
250a5cc805 Add AVI writing to bgfx, nw 2016-04-17 19:16:14 +02:00
ImJezze
a45d713ad6 HLSL settings are reset now, when a new machine is selected 2016-04-17 14:20:27 +02:00
mahlemiut
74dd3287e5 Added ImGui based debugger. [Barry Rodewald]
Note: Currently only works with the BGFX renderer.  Anyone who wishes to
      write a ImGui backend for other renderers are welcome to do so.
2016-04-17 23:50:50 +12:00
therealmogminer@gmail.com
32464738c6 Fix compile error on SDL targets 2016-04-16 21:35:14 +02:00
ImJezze
ac6903e05e Merge branch 'master' of https://github.com/GiuseppeGorgoglione/mame
# Conflicts solved:
#	src/osd/modules/render/d3d/d3dhlsl.cpp
2016-04-16 18:38:59 +02:00
therealmogminer@gmail.com
bff9111a30 Add pillarboxing shaders and layout for bgfx, nw 2016-04-16 15:30:40 +02:00
Brad Hughes
f7c9b7095e Use std::chrono instead of GetTickCount in window.cpp/h for Windows OSD 2016-04-15 22:55:01 -04:00
dankan1890
1e3037baf7 ui: Re-enabled configuration menu for single-machine and added some options.
Adding handler for the right mouse button in the main menu, calls the machine configuration.
2016-04-15 17:48:05 +02:00
dankan1890
a0715c7c40 Reduction code for entries of "enum class ui_menu_item_type" and the use of item_append with separators. 2016-04-15 17:39:45 +02:00
Miodrag Milanovic
570c743fcd this is no issue anymore (nw) 2016-04-15 16:16:56 +02:00
Miodrag Milanovic
0bcc96406d renamed class to osd_watchdog (nw) 2016-04-15 16:08:28 +02:00
Miodrag Milanovic
37c94e3373 Update windows to use platform independent watchdog implementation (nw) 2016-04-15 16:01:35 +02:00
Miodrag Milanovic
59662e6c71 moved osdsync to root of OSD, removed osdmini (nw) 2016-04-15 15:19:24 +02:00
Miodrag Milanovic
a83a3c4497 lower deps on clifront.h (nw) 2016-04-15 14:10:47 +02:00
therealmogminer@gmail.com
99aa7eacd7 bgfx: Add data-driven render target clearing [Ryan Holtz] 2016-04-14 17:22:24 +02:00
ImJezze
32f0e6efac Removed hacks for vector screens from shaders (nw)
- added handling of texture coordinates for vector screens to core render
- added handling of orientation/rotation for vector screens to D3D renderer
2016-04-13 19:21:57 +02:00
Brad Hughes
fc53a500f6 Merge branch 'master' of https://github.com/mamedev/mame.git 2016-04-11 23:33:56 -04:00
Brad Hughes
faef055aa6 Fix BACKSLASH2 SDL key mapping 2016-04-11 23:33:46 -04:00
couriersud
612e4f8810 Refactored osd_work to become more c++. Bye to malloc and memset. 2016-04-11 01:34:29 +02:00
Brad Hughes
2a6e17c438 Merge branch 'master' of https://github.com/mamedev/mame.git 2016-04-10 17:18:32 -04:00
Brad Hughes
ea0a6844f7 Skeleton implementation for Universal windows main app classes. 2016-04-10 17:18:23 -04:00
arbee
2d2f52e858 fix SDL compile (nw) 2016-04-10 16:13:55 -04:00
Brad Hughes
c4d91605fc Merge branch 'master' of https://github.com/mamedev/mame.git 2016-04-10 13:34:23 -04:00
Brad Hughes
114a8f8218 Fix bug in Xinput DPAD POV mapping. 2016-04-10 13:33:26 -04:00
therealmogminer@gmail.com
dd9c9a0fb3 Make OSDs return ui_menu_item lists, not slider_state lists 2016-04-10 19:22:31 +02:00
Miodrag Milanovic
ffbe0c66be Basic TCP server based on libuv [Inaki Baz Castillo,Miodrag Milanovic] 2016-04-10 17:03:51 +02:00
therealmogminer@gmail.com
fa92550ddb Add dividing line to bgfx slider list where applicable, nw 2016-04-10 13:13:10 +02:00
Vas Crabb
c569c7c9ad Add render.h no longer indirectly supplied via emu.h <- ui/ui.h 2016-04-10 17:55:18 +10:00
couriersud
a107408a08 Fix compile on linux and windows. 2016-04-10 04:46:23 +02:00
couriersud
3b951313a4 Fixed linux compile. 2016-04-10 03:24:09 +02:00
couriersud
9d4af9a834 convert osd_event into a class. Since all is std:: now, reduce to
inlineable code.
2016-04-10 02:46:31 +02:00
therealmogminer@gmail.com
f10de4fa46 Fix memory leak when changing screen chains, will fix any issues later, nw 2016-04-10 02:38:08 +02:00
therealmogminer@gmail.com
8719535cbc Make sliders use an std::vector instead of a linked list, nw 2016-04-10 02:38:08 +02:00
couriersud
3ab596e445 Fix linux compile. 2016-04-10 02:08:22 +02:00
Brad Hughes
2c273f6719 Correct trigger axis. XInput small code cleanup. 2016-04-09 19:53:43 -04:00
therealmogminer@gmail.com
66cc460224 Fix compile on windows, nw 2016-04-10 00:48:38 +02:00
couriersud
db1e7f6b07 Include modules/osdwindow.h instead of window.h. 2016-04-09 23:45:41 +02:00
couriersud
c091005ca4 Fix OSX compile. Thanks balrog! 2016-04-09 23:45:41 +02:00
couriersud
5f6e20d6a6 Fix SDL build on linux:
- removed inclusion of SDL headers in all headers.
- replaced those by forward declarations and in one case by a wrapper
class (for a typedef struct).
- added -Wno-strict-prototypes to 7z build (gmake target)
2016-04-09 22:21:58 +02:00
therealmogminer@gmail.com
19d51345a1 Add runtime screen chain selection, nw 2016-04-09 19:15:47 +02:00
Miodrag Milanovic
a14994c6c0 Added skeleton for network output (nw) 2016-04-09 15:19:43 +02:00
Miodrag Milanovic
2f974586d6 Added none and console output providers (nw) 2016-04-09 15:19:43 +02:00
Miodrag Milanovic
39c9c8c5dc Remove os dependant output handling (nw) 2016-04-09 15:19:43 +02:00
couriersud
706b8b363a Add includes for dependency documentation. (nw) 2016-04-08 20:33:42 +02:00
Miodrag Milanovic
d00185936b Try to fix issue on some linux platforms (nw) 2016-04-08 13:27:02 +02:00
Miodrag Milanovic
595d930f25 fix 2016-04-08 10:33:12 +02:00
Miodrag Milanovic
0f69c325ad Revert "Fix SDL compile on linux. Took the opportunity to remove a number of"
Partial revert only, some changes still in
This reverts commit 632b10cd0e.
2016-04-08 10:30:18 +02:00
Miodrag Milanovic
d11b3c6655 Revert "compile fix on windows (nw)"
This reverts commit f862b77520.
2016-04-08 10:23:57 +02:00
Miodrag Milanovic
f862b77520 compile fix on windows (nw) 2016-04-08 09:20:15 +02:00
couriersud
632b10cd0e Fix SDL compile on linux. Took the opportunity to remove a number of
"emu.h" includes from src/osd/modules/render/bgfx code. 
There is still a conflict between mame memory.h and bgfx memory.h to be
resolved.
2016-04-08 03:30:12 +02:00
Antonio Giner
c402c87dc0 Fix keepaspect & unevenstretch toggles in SDL OSD 2016-04-07 18:36:00 +02:00
therealmogminer@gmail.com
4f66357f9e Pull a bunch of screen chain code from drawbgfx to chainmanager where it belongs, nw 2016-04-06 17:02:31 +02:00
Brad Hughes
9db1556541 Make XInput triggers centered at 0 2016-04-06 10:18:47 -04:00
Brad Hughes
a0ba9bc8c7 Make Xinput triggers analog 2016-04-06 09:44:02 -04:00
Brad Hughes
42bc565cfb Use XAudio2 by default if available. 2016-04-05 20:52:15 -04:00
Miodrag Milanovic
c211202b6e Fixed typo and updated shaders (nw) 2016-04-05 20:07:22 +02:00
Brad Hughes
89b21ff822 Merge branch 'master' of https://github.com/mamedev/mame.git 2016-04-05 09:58:52 -04:00
Brad Hughes
31d425e866 Release WMI COM objects correctly in XInput device discovery. 2016-04-05 09:58:29 -04:00
Miodrag Milanovic
06415edd9e Added some more files to bgfx build and initialize imgui (nw) 2016-04-05 15:50:08 +02:00
Giuseppe Gorgoglione
990476526c Save Windows post-fx scheenshots as a single .png
Currently in Windows post-fx screenshots (L-ALT + F12) are split in 4 chunks and saved as 4 separate .png files. This was probably done to facilitate fx code debugging, since post-fx screenshots are usually very big and old monitors were low in resolution. With current monitors this shouldn't be a problem any more.
2016-04-05 13:35:12 +02:00
Giuseppe Gorgoglione
74999d3749 Fix Windows rendering after post-fx snapshot or video recording
In Windows OSD, when post-processing effects are enabled, after taking a post-fx screenshot (L-ALT + F12) or enabling post-fx video recording (L-SHIFT + L-ALT + F12) the window is not updated anymore while the emulation goes on normally. This patch fixes that.
2016-04-05 13:20:04 +02:00
Miodrag Milanovic
2becb82ad1 fix compile on non-windows platforms (nw) 2016-04-05 09:57:20 +02:00
Miodrag Milanovic
90ca7b2422 Simplify include for shaders (nw) 2016-04-05 08:55:49 +02:00
Miodrag Milanovic
2904597f18 Added sample shader (nw) 2016-04-05 08:55:08 +02:00
Miodrag Milanovic
125acc0ff7 Updated makefile to support shaders in multiple dirs (nw) 2016-04-05 08:54:33 +02:00
Brad Hughes
3dd8afd6c0 Hybrid DirectInput/XInput module 2016-04-04 22:01:00 -04:00
Miodrag Milanovic
61ea1f20f2 move common struct to common place (nw) 2016-04-04 14:30:54 +02:00
Brad Hughes
eae8eb8b00 winmain compile for UWP 2016-04-03 21:49:38 -04:00
Miodrag Milanovic
bad2e6199e Not needed anymore after move to C++11 features (nw) 2016-04-03 19:47:44 +02:00
Miodrag Milanovic
cea094a3a3 moved aueffectutil to tools (nw) 2016-04-03 19:06:06 +02:00
dankan1890
37f39ecf3c Small changes. (nw) 2016-04-03 18:45:34 +02:00
Miodrag Milanovic
74f95ba03e Fix linux compile (nw) 2016-04-03 18:02:14 +02:00
Miodrag Milanovic
5e80a732aa move clipboard handling on proper place (nw) 2016-04-03 17:55:10 +02:00
Miodrag Milanovic
0730ffc328 sync (nw) 2016-04-03 17:55:10 +02:00
Miodrag Milanovic
d8aa889edf merge main.cpp for windows platform (unicode) (nw) 2016-04-03 17:55:10 +02:00
Miodrag Milanovic
26c8434a70 removed deprecated doc (nw) 2016-04-03 17:21:14 +02:00
Miodrag Milanovic
796f890450 removed testkeys (nw) 2016-04-03 17:19:41 +02:00
Miodrag Milanovic
bd0abfd004 moved emscripten resources (nw) 2016-04-03 17:19:41 +02:00
Miodrag Milanovic
528a39fc54 moved man files to proper location (nw) 2016-04-03 17:19:41 +02:00
Miodrag Milanovic
f2bff83b3d Removed empty header file (nw) 2016-04-03 14:39:22 +02:00
Miodrag Milanović
5b0b34b30a Merge pull request #781 from h0tw1r3/master
cross compile fixes
2016-04-03 13:44:55 +02:00
Miodrag Milanovic
8679bf8e0d this was removed by mistake 2016-04-03 13:21:05 +02:00
Miodrag Milanovic
99bbef5fbf moved texture flags to proper place (nw) 2016-04-03 13:13:33 +02:00
Miodrag Milanovic
bae0f1fc80 removed not used part of code (nw) 2016-04-03 12:54:13 +02:00
Miodrag Milanovic
865ac0e35c reverting 88e84e7c52 (nw) 2016-04-03 12:52:08 +02:00
ImJezze
370aa2e8f5 Fixed render target dimension swap for BGFX (nw) 2016-04-03 12:09:38 +02:00
Miodrag Milanovic
88e84e7c52 ATTN: Ryan, please check. This is flag that causes BGFX looked worst then others (nw) 2016-04-03 10:48:11 +02:00
Jeffrey Clark
07ef71ef8b osx x86 invalid intptr_t conversion (nw)
src/osd/sdl/output.cpp:86:50: error: format specifies type 'int' but the argument has type 'intptr_t' (aka 'long')
2016-04-03 06:26:03 +00:00
Jeffrey Clark
5306f42a77 fix cross compile (nw) 2016-04-03 06:25:53 +00:00
Miodrag Milanovic
731abe8ba0 Fixed joystick on Android preventing application to crash, cleanup init for SDL in total (nw) 2016-04-02 15:37:08 +02:00
Miodrag Milanovic
3b5b03041d fix clang complain (nw) 2016-03-31 21:20:32 +02:00