Commit Graph

473 Commits

Author SHA1 Message Date
OV2 b0c4f47889 win32: report a more appropriate __cplusplus value 2019-02-23 14:31:56 +01:00
OV2 86d58931a1 win32: disable xp deprecation warnings for new projects 2019-02-23 14:01:29 +01:00
OV2 dabda7186d win32: disable scanlines when checkbox is unset 2019-02-23 13:58:30 +01:00
Brandon Wright aaadcf820f Bump version number and copyright date. 2019-02-20 16:25:56 -06:00
Brandon Wright 9c120fe3bf Adjust default input rate, too. 2019-02-19 17:54:57 -06:00
Brandon Wright aa867abcd3 Use nominal frequency ratio for APU. 2019-02-19 17:50:25 -06:00
Brandon Wright df9e37d718 win32: Fix poor performance with OpenGL/snes_ntsc.
Switch to root copy of snes_ntsc.
Change framebuffer format and access hint.
2019-02-19 16:57:42 -06:00
Brandon Wright f211d878a5 And missing comma. 2019-02-19 14:31:32 -06:00
Brandon Wright be64fcf518 Fix extraneous ] 2019-02-19 14:27:44 -06:00
Brandon Wright 504be0917b win32: Readd version to title string. 2019-02-19 14:26:48 -06:00
Brandon Wright c3afc788ca Capitalization consistency. 2019-02-18 15:18:13 -06:00
Brandon Wright 6757f93830 Snes9x, not Snes9X
Win32 title will display "ROM base name - Snes9x"
2019-02-18 15:15:28 -06:00
Brandon Wright 33db8a355b win32: Make control dialog less cramped. 2019-02-17 17:40:52 -06:00
Brandon Wright abea8212d5 win32: Add a config file only DWM tweaks option. 2019-02-17 17:27:50 -06:00
OV2 c90de1077b win32: fix buffer overflows 2019-02-16 15:42:26 +01:00
Brandon Wright e48f077f6c win32: Don't encourage 32000Hz sound.
It's not relevant or helpful in this case, since sound is resampled
anyway, DSP output is actually 32040Hz, the MSU1 is 44100Hz, and the
Windows sound server uses 48000Hz by default.
2019-02-15 12:59:18 -06:00
Brandon Wright 5b7c329134 GFX.DoInterlace-- should occur even if we don't render frame.
Also, adjust the turbo frames label.
2019-02-13 18:20:55 -06:00
Brandon Wright 3215788e26 win32: Fix TVMode in non-directdraw. 2019-02-13 17:28:45 -06:00
Brandon Wright 081c4eeb86 win32: Dialogs: Change one width. 2019-02-13 17:08:44 -06:00
Brandon Wright 5c29a1f834 win32: Change frame skipping captions to be less confusing. 2019-02-13 17:04:31 -06:00
Brandon Wright dbd118f6d6 win32: dialogs: A few small tweaks. 2019-02-13 16:56:26 -06:00
Brandon Wright b57dcc25b7 win32: Finish tweaking dialog boxes. 2019-02-13 16:47:38 -06:00
bearoso 3cfe7b31e3
Fix missing parenthesis. 2019-02-12 23:09:50 -06:00
Brandon Wright cf3feb24ac win32: WaveOut: Correct volume setting. 2019-02-12 22:32:53 -06:00
Brandon Wright 49e399c9cf win32: Control dialog box OK/Cancel were backwards. 2019-02-12 19:35:06 -06:00
Brandon Wright 9774d7024e win32: Window sizes don't want to snap to grid. 2019-02-12 19:18:12 -06:00
Brandon Wright 0c5a9580d5 win32: Tweak cheat dialog box. 2019-02-12 18:27:50 -06:00
Brandon Wright 1b7a80f646 win32: Clean up dialog boxes. 2019-02-12 18:27:45 -06:00
Brandon Wright 2164c86158 Remove S9xFinalizeSamples. 2019-02-12 18:27:33 -06:00
Brandon Wright 8106d02de9 win32: Correct wrong file removed from project. 2019-02-12 18:27:19 -06:00
OV2 3c28cbf514 win32: add device selection to WaveOut 2019-02-12 19:42:03 +01:00
OV2 28f8ac8341 win32: correct audio buffer size values 2019-02-12 19:42:03 +01:00
Brandon Wright 0772e3828c win32: WaveOut: Add underrun recovery and buffer size min. 2019-02-12 12:32:47 -06:00
OV2 4aa65d1df6 win32: move sound sync to sound drivers 2019-02-12 17:56:01 +01:00
OV2 761c41ba85 win32: set volume in WaveOut 2019-02-12 17:51:47 +01:00
OV2 bbc4bd2d9d win32: remove DirectSound, hook up WaveOut 2019-02-12 17:09:59 +01:00
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 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
Alias Letterman b1039e7c65 Fix Windows build. Tweak XAudio a bit. 2019-02-09 16:46:08 -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 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
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
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 a569fbeabc Typo fix. 2019-01-29 17:23:56 -06:00
OV2 5b01fa2dc1 win32: make _twfullpath work with NULL destination 2019-01-15 23:23:39 +01:00
OV2 4ede9b18cc win32: remove non existing header from project 2019-01-15 23:23:15 +01:00
OV2 29241c9cde win32: update compile txt to include dxmath and remove ddraw hint 2019-01-13 13:55:47 +01:00
OV2 625448333b win32: return before restoring old output device on ok (fixes #471) 2018-12-29 15:28:43 +01:00
Brandon Wright 881d64c2e9 Move ChangeInputDevice after controller option set. 2018-12-18 19:22:29 -06:00
Brandon Wright 4b2ce429cd win32: Try to propagate controller enabled state. 2018-12-18 19:15:36 -06:00
Brandon Wright 5edd667f11 win32: Disable controller port 2 if controller 2 is disabled. 2018-12-18 16:48:50 -06:00
OV2 3e95c7f052 win32: get rid of some more warnings 2018-12-15 19:28:14 +01:00
OV2 879ad3e119 win32: do not immediately apply automatic input rate checkbox 2018-12-15 19:28:14 +01:00
OV2 3832ec3607 win32: add audio device selection (xaudio2 only for the moment) 2018-12-15 19:28:08 +01:00
OV2 a8119d531a win32: remove unused xml class 2018-12-15 14:10:19 +01:00
OV2 1634fe33f7 win32: disable winxp deprecation warnings 2018-12-14 23:54:20 +01:00
Brandon Wright 18d52cd0f5 Bump version number to 1.58. 2018-12-13 11:58:33 -06:00
Brandon Wright 68e13e9044 Remove useless 'register' storage class.
It's deprecated, and any compiler we use now ignores it.
2018-11-17 15:02:37 -06:00
Brandon Wright 5f56cadafb Use a license stub everywhere.
This points to the full license in the root directory.
2018-11-15 17:31:39 -06:00
Brandon Wright e5aed9f8d5 Update 1.56.2 to 1.57 everywhere but appveyor. 2018-11-08 19:00:36 -06:00
Brandon Wright 18535e99e2 win32: Add a colorful icon resource. 2018-11-06 19:22:06 -06:00
OV2 6c9bd1a580 win32: remove hires option (closes #348) 2018-11-06 22:18:55 +01:00
OV2 28c04cfc31 win32: align offset with gtk/libretro 2018-11-01 23:22:21 +01:00
OV2 24c29e281a win32: cut ext height from top and botton, center regular (fixes #443) 2018-11-01 23:01:07 +01:00
OV2 63126dfc48 win32: remove bogus height reduction 2018-10-31 20:54:57 +01:00
Brandon Wright 8b49ab2f5f win32: Disable bg toggle keys by default. 2018-10-30 16:45:02 -05:00
Brandon Wright daee29865f win32: add InitialSnapshotFilename support. 2018-10-03 17:06:41 -05:00
CRINKLE-PC\sloan e0d88d435f Swap joypads over Netplay
Someone smarter than me can probably figure out a more "proper" way to do this, but I hate RetroArch and wanted an easy way to Swap P1 and P2 without both players having to press the button at the same time.
2018-08-31 19:59:09 -07:00
retrotalker e280b25ff1
appveyor libretro 2018-08-27 14:12:27 -05:00
OV2 c474f081ad win32: fix compile with newest studio 2017 2018-08-25 19:51:42 +02:00
OV2 67effe4b42 win32: add dx9 error dialog with download link 2018-08-14 21:30:48 +02:00
OV2 72686f0f76 win32: get rid of some warnings 2018-08-07 18:37:14 +02:00
OV2 55e5cd6272 win32: switch to DirectXMath to remove d3d9x dependency, remove HLSL 2018-08-07 18:37:14 +02:00
Brandon Wright 6d15bf7d94 Make interpolation config a little cleaner.
Add config file option to all ports.
2018-08-06 12:31:07 -05:00
OV2 cb5b6651f4 win32: save custom rom dialog position and column sizes 2018-07-03 22:39:20 +02:00
OV2 b65b07112c win32: only enable cheat if it was valid 2018-07-03 20:42:11 +02:00
OV2 2a3cafb6b2 win32: use WM_CLOSE when exiting via menu (fixes #349) 2018-06-28 14:29:03 +02:00
OV2 dfaae04670 win32: make custom rom dialog resizable, reactivate splitter 2018-06-24 16:18:50 +02:00
OV2 44eb9c7926 win32: include ddraw libs, compile with ddraw support by default 2018-06-24 13:12:59 +02:00
OV2 f2c9386f9f win32: move shader param dialog to VideoDriver container 2018-06-19 22:36:50 +02:00
Brandon Wright de593cbe6f Bump version number to 1.56.2. Update changes.txt. 2018-06-16 17:10:13 -05:00
Brandon Wright c28a86dfd0 win32: Allow disabling of NTSC Filter Scanlines. 2018-06-16 16:35:56 -05:00
Brandon Wright f10e8d1114 When image is below 1x scale, don't use integer scaling. 2018-06-16 14:25:58 -05:00
OV2 6c4954c5be win32: clear extra line when doubling for blargg so that mixing does not
access random bytes (fixes #332)
2018-06-13 14:55:38 +02:00
Brandon Wright 094cb425b8 win32: Add integer scaling option. 2018-06-12 17:50:24 -05:00
Brandon Wright 3578139270 Bump version number. 2018-06-07 16:02:48 -05:00
Brandon Wright 83480765f1 Sanity check input rate better. 2018-06-07 15:49:41 -05:00
Brandon Wright 4b6130262e win32: Populate cheat dialog in correct order. 2018-06-07 15:23:23 -05:00
Brandon Wright 692c8f58b7 Sanity check automatic input rate for deviations > 5%. 2018-06-07 09:43:29 -05:00
Brandon Wright dbb91e0ef7 Update readme-windows.txt. 2018-06-06 15:33:08 -05:00
kps501 239404d28b
add macs rifle controller (win32) 2018-06-04 01:45:53 +00:00
Brandon Wright 642ce83e47 Switch back to .cht format. Update to byuu's new form. 2018-06-03 18:02:48 -05:00
Brandon Wright 315c606e94 Update readme-windows.txt slightly. 2018-05-31 17:34:00 -05:00
OV2 d7ff305c96 Expose debug command to ports 2018-05-31 12:53:38 +02:00
bearoso fb7c599bd4
Load glGetString before trying to use it. 2018-05-29 16:20:54 -05:00
Brandon Wright 2b4806b9ca Support loading with older functions. 2018-05-29 16:14:16 -05:00
OV2 18fb82c2b6 win32: add superfx speed setting 2018-05-29 20:47:21 +02:00
Brandon Wright 171a20cb6d Use some more compatible OpenGL version checking. 2018-05-28 18:40:29 -05:00
OV2 1cd8d65705 win32: clear sound buffer when not using default frame time (fixes #310) 2018-05-28 12:04:35 +02:00
Brandon Wright eb82a9f706 Load QueryDisplayConfig symbols on-demand. 2018-05-27 17:56:53 -05:00
Brandon Wright b64eaba633 Bump version number, except Appveyor. 2018-05-25 16:01:02 -05:00
Brandon Wright 20bd60a3c6 Update copyright dates. 2018-05-25 15:44:52 -05:00
OV2 75b76e3bb7 win32: add up/down controls to all parameters 2018-05-25 22:24:32 +02:00
OV2 2a685b558c win32: hide gfx dialog while displaying parameter dialog, disable button
when shaders are disabled
2018-05-25 20:56:21 +02:00
Brandon Wright 98d3d276d5 Add automatic input rate adjustment to win32. 2018-05-24 18:52:43 -05:00
OV2 636ac85b85 win32: free allocated full path 2018-05-24 18:22:20 +02:00
OV2 ba76c1c2be win32: handle unicode when loading glsl shaders 2018-05-24 18:19:00 +02:00
OV2 4b770e0997 win32: add missing parameter dialog files 2018-05-24 18:12:35 +02:00
OV2 c72675a03b win32: handle shader loading errors 2018-05-24 16:14:50 +02:00
OV2 ec5980b1af win32: reset texture size vars on deinit and creation 2018-05-24 15:54:06 +02:00
OV2 9a78a04a90 win32: properly adjust height for filters (fixes #305) 2018-05-24 15:54:06 +02:00
OV2 06f84ee6b3 win32: add shader parameters dialog 2018-05-24 15:54:06 +02:00
OV2 a911503d4a win32: restore old style OGL .shader support 2018-05-22 21:43:51 +02:00
OV2 69f5e03ac5 win32: use npot textures in OGL if available, use glsl viewport callback 2018-05-22 21:30:59 +02:00
OV2 3b5ca2397b win32: do not overwrite glsl output 2018-05-22 21:26:38 +02:00
OV2 ad2c72d26c win32: fist step glsl shaders 2018-05-20 20:51:20 +02:00
OV2 f883561d11 win32: use bilinear setting in core 2018-05-20 20:51:20 +02:00
OV2 af71ef55cd win32: switch to OpenGL Loader Generator files 2018-05-20 20:51:20 +02:00
OV2 94f90fc94b win32: use rewinding setting in core 2018-05-20 20:51:20 +02:00
OV2 870b6fd77f win32: allow additional options via msbuild 2018-05-20 20:51:20 +02:00
OV2 0c1976b0ef win32: correctly delete cheats (fixes #290) 2018-05-08 18:34:28 +02:00
Brandon Wright f51734d68c d3d: only lock a small region in case the driver tries to readback. 2018-05-06 11:05:09 -05:00
Brandon Wright 113a43c4cd win32: Add a reduce input lag option for OpenGL and Direct3D. 2018-05-05 16:31:54 -05:00
OV2 4733942460 win32: disable hotplugging, add menu entry to detect gamepad changes 2018-05-05 18:29:27 +02:00
OV2 5593fb762a win32: add option to ignore hotkeys from keyboard with backgroundinput 2018-05-05 18:28:49 +02:00
OV2 14d5dcb0c6 win32: add mute hotkey 2018-05-05 16:11:00 +02:00
OV2 ce5459bc69 win32: add hotkeys for saving/loading from file 2018-05-05 15:51:45 +02:00
OV2 8f1ee68c5b win32: easier index handling, some dialog comfort fixes 2018-05-05 15:17:14 +02:00
OV2 7eaf377183 win32: remove some compile warnings 2018-05-05 15:09:36 +02:00
OV2 89b41da263 win32: remove index from deleted cheats (fixes #288) 2018-05-05 00:55:02 +02:00
Brandon Wright 964b4f072f Update Win32 icon. 2018-05-03 16:42:55 -05:00
Brandon Wright b9dd7021cf win32: hidpi awareness fixes 2018-05-01 18:03:39 -05:00
OV2 db315b36fc win32: add delete all button 2018-05-01 23:31:40 +02:00
OV2 d4230b3225 win32: add search database button, increase dialog size 2018-05-01 23:21:25 +02:00
OV2 3f4fc0e25a win32: updates to cheat dialog handling 2018-05-01 22:59:09 +02:00
Brandon Wright e3838a2dad Use .bml instead of .cht. Add fallbacks where loading. 2018-04-30 17:25:43 -05:00
OV2 074965bd1c win32: move S9xCheatsEnable to PostRomInit 2018-05-01 00:07:39 +02:00
OV2 25fa85bce4 win32: changes to GUI cheat handling 2018-05-01 00:02:01 +02:00
Brandon Wright 21a4fe3163 Updated for Windows support. 2018-04-27 15:42:19 -05:00
Brandon Wright bbfeb19b08 Calculate SHA256 checksum for later use. 2018-04-24 17:06:32 -05:00