Commit Graph

470 Commits

Author SHA1 Message Date
R. Belmont
8157337c42 OS/2 build fixes [K.O. Myung-Hun] 2011-08-02 02:27:31 +00:00
Michaël Banaan Ananas
ec0f083375 DI_PROPNOEFFECT after dinput property change is not an error 2011-08-01 23:06:12 +00:00
Miodrag Milanovic
8449a9cbdc - Removing MD5 support in ROMLOAD_* [Oliver Stoneberg]
- Various core and tools memory leaks fixes [Oliver Stoneberg]
2011-07-31 15:46:18 +00:00
Jonathan Gevaryahu
471762e7df Fix for the hlsl scanline jitter effect [nimitz] 2011-07-28 21:16:50 +00:00
Miodrag Milanovic
38e4c3f09d Fix for VS2010 build (no whatsnew) 2011-07-28 15:34:33 +00:00
Miodrag Milanovic
919780a6bc Added socket support to windows osd [Miodrag Milanovic] 2011-07-28 11:23:37 +00:00
Miodrag Milanovic
dea70e7f6a Fixed hlsl mem leak by Firewave (no whatsnew) 2011-07-27 08:19:32 +00:00
Miodrag Milanovic
b39238d672 Fixed double-free of d3d->hlsl [Oliver Stoneberg] 2011-07-26 17:11:13 +00:00
R. Belmont
6ca8f8a8c3 Fixes for variable shadowing [Oliver Stöneberg] 2011-07-21 13:19:08 +00:00
R. Belmont
77e86084ab Fix autorelease pool warnings when running multithreaded on Mac OS X [Tim Lindner] 2011-07-18 22:37:20 +00:00
R. Belmont
497927733d Corrected syntax in some inline assembly [Balrog] 2011-07-09 16:56:11 +00:00
Angelo Salese
ef7acc5d65 Cleanups (?) and version bump 2011-06-28 14:28:46 +00:00
Miodrag Milanovic
9704fb140c Fixed memory leaks in HLSL code (no whatsnew) 2011-06-28 08:14:45 +00:00
Angelo Salese
e6050ace10 Cleanups and version bump 2011-06-19 19:29:25 +00:00
Miodrag Milanovic
079e1fa5fa Cassette device modernized (no whatsnew) 2011-06-15 09:18:10 +00:00
Ryan Holtz
23976ade94 HLSL Updates: [Ryan Holtz, Bat Country Entertainment]
- MAME will now save an HLSL INI file on the first run of a game that doesn't already have an INI file.
- HLSL INI files must have their parameters left in the order in which they are saved out.
- Fixed a diagonal 'crease' visible on the screen in HLSL mode.
2011-06-13 23:09:41 +00:00
Ryan Holtz
5838be042b Next time feel free to apply the obvious fix, no whatsnew :-) 2011-06-12 08:42:23 +00:00
Ryan Holtz
80d66bb1d6 HLSL Cleanup, no whatsnew:
- Fixed set_vector functionality and simplified shaders as a result
- Fixed HLSL presets, 0 to 3, in increasing level of terribleness
- Reduced options footprint from RGB triplets

Next plan: Separate INI writing.
2011-06-11 23:46:24 +00:00
Fabio Priuli
509b39374d sdlsocket: workaround for a problem in the detection of tcp/ip socket address [Michael Zapf]
out of whatsnew
remark 1- this is for MESS only to my knowledge, let me know if I should credit the change in MESS instead
remark 2 (mainly for Arbee) - sorry if I touched the SDL side of the source, but mizapf was eager to fix the ti99 issues 
            and since tlinder approved the change and you did not object on the MESS list, I think it was time to commit it ;)
2011-06-08 19:49:12 +00:00
Miodrag Milanovic
3853306c85 Added image devices menu to debugger (windows only for now) [Miodrag Milanovic] 2011-06-08 12:59:11 +00:00
Ryan Holtz
1ec454197a HLSL Updates: [Ryan Holtz, Bat Country Entertainment, austere]
- Reworked default shadow mask settings, eliminating rainbow banding and matching reference shots more closely
- Moved color power to occur after shadow mask, as it is intended to simulate nonlinear phosphor response
- Added a variable-width notch filter to the Y channel in NTSC post-processing, eliminating luma banding on e.g. CoCo 2 and Apple II
2011-06-06 21:25:38 +00:00
Angelo Salese
a449c766a2 Cleanups and version bump 2011-06-05 22:35:20 +00:00
Ryan Holtz
ad8a4985f9 Memory leak fix, nwn 2011-06-03 14:41:30 +00:00
Ryan Holtz
771b77142f Fix for performance regression and slider regression in HLSL, also re-enabling pixel prescaling in yiq_encode.fx. No whatsnew. 2011-06-03 14:38:59 +00:00
Ryan Holtz
30b0cb9a6f De-regressing HLSL performance on certain resolutions of game, nwn 2011-06-02 17:01:08 +00:00
Ryan Holtz
844296b795 Split HLSL code into a separate file, d3dhlsl.c/.h. Also split drawd3d.c into a couple of headers. [Ryan Holtz, Bat Country Entertainment] 2011-06-02 06:22:09 +00:00
Ryan Holtz
b3406aac94 nwn: bad printf, bad! 2011-06-01 22:21:35 +00:00
Ryan Holtz
b6f85b8c26 Kill height-based HLSL prescaling, only prescale based on frame width. Brings Kangaroo's prescale down from 5 to 2 and thus within a more reasonable GPU budget. Games that have a ridiculously higher vertical resolution than horizontal resolution will still have issues. 2011-06-01 22:08:28 +00:00
Ryan Holtz
130b3fcabb Keep HLSL prescaling from blowing out VRAM when regular prescaling is enabled. 2011-05-31 15:58:49 +00:00
Ryan Holtz
61eda625cb NWN: Fixing the NTSC codec. Oops. 2011-05-31 14:43:47 +00:00
Ryan Holtz
f42b5ccda0 No whatsnew
Attempting to fix the HLSL 'blurriness' reported by a few people. Now HLSL will auto-prescale to the nearest texture size that is greater than the target screen size on both axes and is also an even multiple of the raw bitmap's size.
2011-05-31 13:53:25 +00:00
Ryan Holtz
103358104c nwn, reducing default scanline brightness offset to 0 2011-05-31 05:08:35 +00:00
Ryan Holtz
ed6689e2d4 Fixed scanlines, nwn. This took much longer to fix than it should have. :[ 2011-05-31 05:02:17 +00:00
Ryan Holtz
37e8c1d7e4 Fixing some scanline-alignment issues. 2011-05-31 02:04:28 +00:00
Ryan Holtz
773e35d79b Moved "color floor" functionality to occur after scanlines but before shadow mask. Scanlines look much better and no longer cut black lines through the shadow mask. No whatsnew. 2011-05-30 21:40:25 +00:00
Ryan Holtz
796e691522 HLSL Updates: [Ryan Holtz, Bat Country Entertainment, austere, SoltanGris42]
- Added the ability to render screenshots at arbitrary resolutions.
- Added the ability to record AVI videos (albeit with no audio) at arbitrary resolutions.
- Added a 43-tap-wide FIR-based NTSC filter with tunable Y, I and Q frequency response.
- Updated scanlines to have a user-tunable pixel-height ratio in addition to the current screen-height ratio.
- Fixed a VRAM leak that was causing many dynamic-resolution drivers to run out of memory mid-run.
2011-05-30 21:10:23 +00:00
Aaron Giles
e532e74a8a Should fix osd keys. 2011-05-30 20:58:55 +00:00
Aaron Giles
665d213ee4 (Finally found the time to finish this....)
Low-level input upgrade. Classes now exist for input_codes, input_items,
input_devices, and input_seqs. Also created an input_manager class to
hold machine-global state and made it accessible via machine.input().
Expanded the device index range (0-255, up from 0-16), and the OSD can
now specify the device index explicitly if they can better keep the 
indexes from varying run-to-run. [Aaron Giles]

Note that I've built and run SDL on Windows, but not all the code paths
were exercised. If you use mice/joysticks extensively double-check them
to be sure it all still works as expected.

This is mainly an OSD and core change. The only thing impacting drivers
is if they query for specific keys for debugging. The following S&Rs
took care of most of that:

S: input_code_pressed( *)\(( *)([^, ]+) *, *
R: \3\.input\(\)\.code_pressed\1\(\2

S: input_code_pressed_once( *)\(( *)([^, ]+) *, *
R: \3\.input\(\)\.code_pressed_once\1\(\2
2011-05-30 19:07:19 +00:00
R. Belmont
601301fc95 GCC 4.6 "Variable assigned but not used" fixes, part 6 (no whatsnew) 2011-05-30 03:31:11 +00:00
R. Belmont
999394b8f5 GCC 4.6 "Variable assigned but not used" fixes, part 5 (no whatsnew) 2011-05-30 03:19:31 +00:00
Angelo Salese
81036ed1f9 Robbbert port from MESS, nw! 2011-05-29 12:42:57 +00:00
Ryan Holtz
0d2bc3300f Fix -nohlsl 2011-05-24 19:35:47 +00:00
Ryan Holtz
e97aa6b56d Internal HLSL cleanup - removed aux texcoords, restored software vertex processing due to low-end cards not doing hardware vertex processing, removed unnecessary tristrip->trilist splitting. Restores D3D functionality on integrated chipsets and marginal cards. [Ryan Holtz, Ashura-X] 2011-05-24 18:28:54 +00:00
Ryan Holtz
6760f6a40c HLSL bugfxes, nwn 2011-05-24 00:23:40 +00:00
Angelo Salese
95f06e11a8 Cleanups and version bump 2011-05-24 00:13:27 +00:00
Angelo Salese
b91ca7e606 Initial frameworking for upcoming artwork updates [Mr. Do] 2011-05-23 16:28:23 +00:00
Ryan Holtz
b63233e7a6 Call off the dogs, the OSD routing for OSD-side sliders has been fixed. nwn 2011-05-23 05:03:16 +00:00
Ryan Holtz
b1b15dd44e Oops. 2011-05-23 00:57:17 +00:00
Ryan Holtz
25029d2dbf Fixing broken Red Power slider 2011-05-23 00:15:18 +00:00
Ryan Holtz
01f16cb0f8 HLSL Updates: [Ryan Holtz, Bat Country Entertainment]
- Created a new OSD function, osd_get_slider_list, which allows OS-specific slider controls.
- Plumbed new OSD-specific slider controls for HLSL parameters on Direct3D 9 targets. And there was much rejoicing.
2011-05-22 23:59:27 +00:00