Commit Graph

1484 Commits

Author SHA1 Message Date
Alias Letterman bb0a66b7f9 win32: WaveOut: Fix dumb mistake. 2019-02-11 19:45:45 -06:00
Alias Letterman ed3beae304 win32: Add a WaveOut driver. 2019-02-11 18:45:45 -06:00
Alias Letterman fd177fb317 Some extra checks in resampler.h 2019-02-11 12:32:17 -06:00
Alias Letterman 893c719ef4 win32: Process input after waiting for SoundSync. 2019-02-11 12:30:32 -06:00
Alias Letterman fcbf046b01 win32: Align some dialog positions. 2019-02-11 12:28:58 -06:00
OV2 3c928d0824 win32: remove nonexistent options 2019-02-11 17:45:08 +01:00
OV2 5fdfef70d9 win32: remove some warnings 2019-02-11 17:32:26 +01:00
OV2 c052462248 Remove a few warnings 2019-02-11 17:12:02 +01:00
Brandon Wright b54ded7081 GTK: SDL sound driver fixed. 2019-02-09 19:18:45 -06:00
Brandon Wright 2ba6553c14 GTK: SoundSync is now handled in the drivers. 2019-02-09 18:48:17 -06:00
Alias Letterman b1039e7c65 Fix Windows build. Tweak XAudio a bit. 2019-02-09 16:46:08 -06:00
Brandon Wright 845366f139 Make Resampler a class again. 2019-02-09 12:21:38 -06:00
Brandon Wright e938225cd2 APU: Remove extra buffers. 2019-02-09 12:03:34 -06:00
Brandon Wright 8c9c3eb6a4 Fix buffer overrun. 2019-02-09 11:40:42 -06:00
Brandon Wright ac03facaa9 Add single sample push. 2019-02-08 20:32:42 -06:00
Brandon Wright 36406a6627 Add a consolidated resampler. 2019-02-08 20:23:18 -06:00
Brandon Wright 5b4ca50792 GTK+: Strip out extra sound code.
No more Stereo, 16-bit or Reverse options.
2019-02-06 19:41:33 -06:00
Brandon Wright d8579ff9cb win32: XAudio2: Allow partially filling sample blocks.
Use minimal Snes9x-side buffer with XAudio2.
2019-02-06 17:29:46 -06:00
Brandon Wright 2701e7219c Get SoundSync working and don't overflow dsp buffer. 2019-02-06 15:00:45 -06:00
Brandon Wright 9994023f09 Allow use of Snes9x-side buffer if needed. 2019-02-05 19:56:59 -06:00
Brandon Wright 1a41ca21b3 Don't clear MSU if not enabled. Change sound sync level. 2019-02-05 19:34:50 -06:00
Brandon Wright c376908f2e Revert "Revert "APU: Big refactor." I'll put this in a branch."
This reverts commit 19f03c44de.
2019-02-05 17:21:23 -06:00
Brandon Wright 19f03c44de Revert "APU: Big refactor." I'll put this in a branch.
This reverts commit aebfc85cdf.
2019-02-05 17:20:23 -06:00
Brandon Wright aebfc85cdf APU: Big refactor.
Remove 8-bit, Mono, and Reverse Stereo options.
2019-02-05 16:26:22 -06:00
Brandon Wright 2f646879d3 GTK+: Tweak onscreen font a bit. 2019-02-04 14:13:00 -06:00
Brandon Wright 28d668fff7 win32: Shaders: Save parameters and restore on cancel.
Also, change "Parameters" button to "Parameters..." to indicate
it opens a dialog box.

Adjust the spacing and remove the message about custom shader files.
2019-02-02 19:08:19 -06:00
Brandon Wright b46a954874 Revert "win32: Shaders: Save parameters and restore on cancel."
This reverts commit 93a4cdea96.
2019-02-02 19:07:36 -06:00
Brandon Wright 93a4cdea96 win32: Shaders: Save parameters and restore on cancel.
Also, change "Parameters" button to "Parameters..." to indicate
it opens a dialog box.
2019-02-02 16:50:24 -06:00
Brandon Wright e678ad558d Merge remote-tracking branch 'origin/slang-win32' 2019-02-02 15:03:37 -06:00
OV2 7045cd8478 win32: pass around active shader to parameter dialog 2019-02-01 22:41:29 +01:00
OV2 1ea9bcf560 win32: let shader param dialog save slangp 2019-02-01 22:33:24 +01:00
OV2 47dce09600 win32: only reload shader if filename changes 2019-02-01 00:07:52 +01:00
Brandon Wright 0cb166862f GTK+: Add things to shader parameters dialog:
Spin buttons next to sliders for precise control.
Save as box to save a new preset.
2019-01-31 16:33:17 -06:00
OV2 1dc7eec15d win32: display slang shaders in selection dialog 2019-01-31 23:18:18 +01:00
OV2 cdf2061612 win32: adjust glslang projects to use same intermed/output folders 2019-01-31 22:57:23 +01:00
OV2 8c677dd91e win32: add glslang submodule, compile with USE_SLANG 2019-01-31 22:44:34 +01:00
Brandon Wright c9f66cf910 GTK+: matches only compared joystick bindings. 2019-01-30 17:55:22 -06:00
Brandon Wright c74b643554 Shaders: MSVC wants this explicit. 2019-01-30 12:53:47 -06:00
Brandon Wright a3149db714 Shaders: Remove 10-bit format identifiers. 2019-01-30 12:50:33 -06:00
Brandon Wright 4942c0560c Formatting. 2019-01-30 10:39:18 -06:00
Brandon Wright fc31f47fc2 Shaders: Scan source code in as few passes as possible.
Improves loading time of crt-royale significantly.
2019-01-30 10:25:19 -06:00
Brandon Wright f825f14a06 Shaders: Try to clean up in case we reuse GLSLShader. 2019-01-29 17:49:40 -06:00
Brandon Wright a569fbeabc Typo fix. 2019-01-29 17:23:56 -06:00
Brandon Wright 3426f146f1 Shaders: Oops. Add scale check to Y, too. 2019-01-27 20:26:56 -06:00
Brandon Wright 9b67d0ad8b Shaders: Use mipmap_input flag. 2019-01-27 20:14:28 -06:00
Brandon Wright 5fc0271330 Shaders: Show errors on file load with name in "". 2019-01-27 19:12:42 -06:00
Brandon Wright 9523f10518 Add license stub. 2019-01-27 18:00:37 -06:00
Brandon Wright 8c8805da40 Slang: Implement feedback support. See below.
This uses a complex workaround because we normally draw the last
pass straight to the screen. Now, only in the event that feedback is
enabled and only if the last pass uses it, we draw to a texture and use
glBlitFramebuffer to draw to the screen (saved_framebuffer) instead.
2019-01-27 17:43:22 -06:00
Brandon Wright 58e1bfadfa Revert "Revert "Slang: Feedback support. Doesn't completely work yet.""
This reverts commit 814323513d.
2019-01-27 16:28:18 -06:00
Brandon Wright 814323513d Revert "Slang: Feedback support. Doesn't completely work yet."
This reverts commit 9536daa09b.
2019-01-26 18:13:32 -06:00