Commit Graph

521 Commits

Author SHA1 Message Date
BearOso 39e21410d8 win32: Make changes to display driver not occur until restart. 2023-03-07 14:01:29 -06:00
BearOso 803125ffe9 win32: Move frame throttle into drivers for precision. 2023-03-07 14:01:29 -06:00
BearOso b82edaac96 vulkan: Add a throttler before present for precise frame rates. 2023-03-07 14:01:29 -06:00
BearOso 1d0dab45da win32: Flush message queue between driver changes. 2023-03-07 14:01:29 -06:00
BearOso 1907b9e25b win32: Tweak busy loop/sleep balance a bit. 2023-03-07 14:01:29 -06:00
BearOso daf4a60b65 win32: Fix CPU usage with new throttle. 2023-03-07 14:01:29 -06:00
BearOso e923382395 win32: Replace timer-based throttling.
The old code used low-res timers that would vary by at least 3ms and
couldn't handle freesync/gsync's needs. So I removed the old
time API calls and interrupt and did a rudimentary throttle with QPC.

This may break NetPlay. Nobody (sane) will ever notice.
2023-03-07 14:01:29 -06:00
BearOso 54770ef3cc win32: Try to handle race in changing drivers. 2023-03-07 14:01:29 -06:00
BearOso 4f08da4cd8 vulkan/win32: Provide reasonable default swapchain.
If extents are reported 0xffffffff, swapchain expects a provided
default size.
2023-03-07 14:01:29 -06:00
BearOso 19787b12f1 win32: Add default option to not add entries to registry. 2023-03-07 14:01:29 -06:00
BearOso c7d4c2e478 win32: Clean up some warnings. 2023-03-07 13:58:22 -06:00
BearOso 2914fdf64c win32: Handle p.min properly in shader dialog.
Windows trackbars with integral values are annoying.
2023-03-07 13:58:22 -06:00
BearOso 8270c1c658 win32: Tweak the shader parameter dialog a bit. 2023-03-07 13:58:22 -06:00
BearOso 6ffca967f7 win32: Request 32-bit color on Win32/OpenGL. 2023-03-07 13:58:22 -06:00
BearOso 0bbecf042a win32: Use simple vulkan output. 2023-03-07 13:58:22 -06:00
BearOso 93a242312f win32: Fix a couple of crashes. 2023-03-07 13:58:22 -06:00
BearOso 2c7d5f7a4d Working Win32/Vulkan shader support. 2023-03-07 13:58:22 -06:00
BearOso 89bbf08c74 Add shaderchain support to win32. 2023-03-07 13:58:22 -06:00
BearOso 44a2958c31 Windows Vulkan working generically. 2023-03-07 13:58:22 -06:00
BearOso daa0e168e8 Getting win32 ready for Vulkan. 2023-03-07 13:58:22 -06:00
BearOso 11dd6b1e6d Fix up Windows build errors. 2023-03-07 13:58:22 -06:00
BearOso 65dbcaf2fb Fix glslang reconfiguration. 2023-03-07 13:58:21 -06:00
OV2 c23ba00aec win32: update directx sdk download link 2022-12-31 13:51:38 +01:00
OV2 5c889d9488 win32: add st to rom file extensions (#793) 2022-11-06 00:44:45 +01:00
BearOso f3fafab8b3 Remove unused logger.cpp and logger.h. 2022-04-25 15:45:39 -05:00
BearOso 1085ed6fad Remove Settings.SupportHires
There's no point in disabling it at this point, so it's always supported.
2022-04-13 15:06:13 -05:00
BearOso a953721967 win32: Adapt to GFX.Screen in core. 2022-04-10 17:26:32 -05:00
BearOso 93d538dfaf Fix errant h. 2022-03-18 16:12:15 -05:00
BearOso 470e55650a win32: Adjust to moved external deps. 2022-03-18 15:50:05 -05:00
OV2 d7dc9acf2f win32: stop trying to send audio data after device removal 2022-02-14 01:05:57 +01:00
OV2 bdb27635e0 win32: fix frame advance hotkey no longer working after 25 days
(fixes #716)
2022-01-31 17:29:01 +01:00
BearOso eb2c993a91 Update version and copyright for 1.61. 2022-01-30 17:52:50 -06:00
Jamiras 32f3f81a2c fix custom key bind for frame advance 2021-12-13 13:24:45 -07:00
Steve Sharples a2ac3b98b1 Fix Win10 SDK and vc142 toolset build 2021-08-24 18:30:55 +01:00
OV2 9398d21e01 win32: specify filter scale for blargg rf (fixes #704) 2021-05-27 15:15:54 +02:00
OV2 cc7e028179 win32: poll joypads in hotkey handler if paused or stopped (#684) 2021-01-11 20:31:23 +01:00
BearOso c283df610c Fix misspelling.
Complement, not compliment.
2020-11-03 10:28:01 -06:00
BearOso e705e71a97 Remove S9xChooseMovieFilename
This is integration of the frontend with the core. Disable
the button mappings that use it. The frontend should implement on
its own.
2020-08-07 14:08:51 -05:00
BearOso f04f1bbe44 Remove S9xChooseFilename
This is integration of the frontend with the core. Disable
the snapshot button mappings that use it. Any frontend should
implement those port commands its own.
2020-08-07 14:08:51 -05:00
BearOso e322bbf109 Remove S9xSetPalette 2020-08-07 14:08:51 -05:00
BearOso d38c15cf78 win32: Include ResourceLimits.cpp in glslang. 2020-07-29 18:33:15 -05:00
Brandon Wright 6db085dc23 win32: Fix glslang include directory. 2020-07-28 18:24:27 -05:00
Brandon Wright c05b27b9ea win32: Redirect glslang file references. 2020-07-28 17:39:49 -05:00
Brandon Wright 2ac236ba10 Remove glslang from win32 directory. 2020-07-28 17:22:51 -05:00
OV2 89f480207d win32: fix for save/load preview dialog in opengl fullscreen (#580) 2020-01-03 16:23:56 +01:00
OV2 5a4c5be0e2 win32: add save banks, hotkeys, menu changes 2019-12-30 17:03:06 +01:00
OV2 10fe4be245 win32: display the actual region number for unknown regions 2019-12-29 23:14:30 +01:00
OV2 c5c1268db0 win32: default reset game hotkey to one that actually works 2019-12-27 17:48:59 +01:00
OV2 cf48a48970 win32: use date/time functions also available in winxp 2019-12-27 03:00:31 +01:00
OV2 9e871a29a4 win32: print additional command line options, also react to -h /? 2019-12-26 14:57:54 +01:00
OV2 6af12f272f Merge branch 'win32-saveload-preview' 2019-12-26 14:33:45 +01:00
OV2 0291042e1c win32: easier definition of hotkey config dialog layout, change order of
hotkeys
2019-12-26 14:12:50 +01:00
OV2 e47e41627f win32: add hotkeys for preview dialog 2019-12-20 16:39:42 +01:00
OV2 04a15d9a2e win32: only load screenshots in preview dialogs 2019-12-19 18:19:50 +01:00
OV2 33f7a1711c win32: reset last_volume when reinitializing sound (fixes #603) 2019-11-27 14:28:23 +01:00
OV2 ef2b451cd8 win32: add license header to shader dialog files 2019-11-15 12:12:13 +01:00
OV2 2e7a345dca win32: add dialog for saving/loading with preview images 2019-09-18 18:12:27 +02:00
OV2 87f259c0f5 win32: add license header to shader dialog files 2019-09-18 18:12:04 +02:00
Brandon Wright ae84135f10 win32: Fix RF filter size. 2019-09-15 16:53:29 -05:00
Brandon Wright 583ed1004c win32: Add RF NTSC filter name. 2019-09-15 16:05:19 -05:00
Brandon Wright 406de85e0d win32: Add RF NTSC filter name. 2019-09-15 16:04:52 -05:00
Brandon Wright ca8ca040ad win32: Add RF version of blargg NTSC filter.
Also, add the burst phase to the blit function.
2019-09-15 16:03:06 -05:00
OV2 f47b4ee5ca win32: add menu entry to load oops files 2019-08-03 15:55:37 +02:00
OV2 9377e50a7d win32: add option to confirm save/load operations (#555) 2019-08-03 15:55:31 +02:00
bearoso bf4e6f8b62
Merge pull request #523 from yoffy/unmacro-tile
Unmacro tile.cpp
2019-06-26 16:46:12 -05:00
Brandon Wright 5e81da0b67 win32: Apply turbo mode volume when rewinding. 2019-06-23 16:48:03 -05:00
OV2 66f1ac2abc win32: reset d3d viewport before clearing (#531) 2019-05-20 21:15:32 +02:00
Brandon Wright 38d2d2773c win32: Set inactive pause on minimize size event. 2019-05-13 15:29:42 -05:00
Kenta Yoshimura 7603ed09d2 tile: Divide instantiations. This enables parallel compilation. 2019-05-04 15:01:01 +09:00
Brandon Wright 5195200b78 Win32: Remove break I accidentally put in. 2019-04-16 15:27:35 -05:00
OV2 f53a6697dd win32: add warning icon to warn message 2019-04-16 21:17:18 +02:00
Brandon Wright ea8e016631 Win32: Add set defaults and warning to hacks dialog. 2019-04-16 12:18:11 -05:00
Brandon Wright 66046da2c8 Update win32 glslang correctly. 2019-04-12 12:23:39 -05:00
Brandon Wright f70e072bd9 Revert to higher APU clock. 2019-04-12 12:10:51 -05:00
Brandon Wright 07f1976dcf Win32: Fix accidental frametime reversion. 2019-04-09 10:54:29 -05:00
Brandon Wright 6a789f9947 Add the separate echo buffer option. 2019-04-08 17:16:24 -05:00
Brandon Wright 3c879cc2b3 Win32: Add hacks dialog. 2019-04-08 16:54:24 -05:00
Brandon Wright d404f3fd39 Tweak 16x16 icon. 2019-04-06 17:42:51 -05:00
Brandon Wright 5f8d4bd26e Fix icon proportions to be precise. 2019-04-03 17:22:26 -05:00
Brandon Wright 53d7441c7c Win32: Fix blurriness on flat icon. Add glossy icon. 2019-04-03 16:56:21 -05:00
Brandon Wright 43d54e1fb0 Use old 3D icons with a new 48x48 size added. 2019-04-03 12:19:55 -05:00
Brandon Wright 8035c3073f Fix icons. Add LodanZark's flat icon as an option. 2019-04-03 12:01:58 -05:00
Kenta Yoshimura 9cec789d1b Try to fix syntax error. 2019-04-03 21:17:47 +09:00
Brandon Wright 8513ecec51 win32: Nominal frame time NTSC: 60.09881... 2019-03-25 16:17:22 -05:00
Brandon Wright 65c5995436 Update version number and start changelog. 2019-03-13 17:40:51 -05:00
Brandon Wright 0d4ee55824 Fix problems with pull request. 2019-03-09 18:18:01 -06:00
bearoso b5270db944
Merge pull request #428 from CapnCrinklepants/master
Swap joypads over Netplay
2019-03-09 18:14:50 -06:00
Brandon Wright 0eaa701954 Remove DirectDraw's format setting. 2019-03-07 17:42:10 -06:00
Brandon Wright 76b6342ca1 Remove most of GFX_MULTI_FORMAT. 2019-03-07 17:14:51 -06:00
Brandon Wright 23a0e1251e win32:opengl: Use DWM sync in windowed, Vsync in fullscreen exclusive. 2019-03-05 14:25:50 -06:00
Brandon Wright 045d20507d win32: Use nvidia-suggested settings for opengl fullscreen. 2019-03-04 15:49:05 -06:00
Brandon Wright 19456090ee Reword. 2019-03-04 14:42:40 -06:00
Brandon Wright da37d725ec win32: Change DWMTweaks to DWMSync option. 2019-03-04 14:40:32 -06:00
Brandon Wright ab1fa8d360 Update version to 1.59.2. 2019-02-27 20:36:00 -06:00
Brandon Wright fc4f476414 Bump version number to 1.59.1. 2019-02-27 19:02:56 -06:00
Brandon Wright f2069e8af9 Remove extra parameter from S9xInitSound
Explain disabling USE_SLANG in how2compile.txt
2019-02-27 11:02:22 -06:00
OV2 441fbeaf9d Add hint about SPIRV-Cross 2019-02-27 12:59:33 +01:00
Brandon Wright 993f6ef927 Update some documents. 2019-02-26 16:36:05 -06:00
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