Commit Graph

210 Commits

Author SHA1 Message Date
fgsfds 98aa0fe376 fix #537 2023-10-16 15:03:20 +02:00
fgsfds 2a312a8f68 move sys_sleep to platform.c 2021-11-26 03:29:37 +03:00
fgsfds b5f50dd975 time whole frame instead of just the rendering part
thanks to opmox for the fix
2021-11-26 03:12:32 +03:00
fgsfds 6a904853bd remove --syncframes 2021-11-25 16:20:11 +03:00
blackops7799 d1b787427c Remove test_vsync
Simplify sync_framerate_with_timer
2021-11-25 03:05:58 -05:00
blackops7799 c4a55e351d Always syncronize framerate with timer (Fixes #381) 2021-11-24 21:32:38 -05:00
DanTheMan827 b9cdcb2d81
Load gamecontrollerdb.txt before SDL_Init 2021-01-22 11:15:23 -06:00
fgsfds 70b281405f actually use the sys_sleep function 2020-11-02 19:39:40 +03:00
fgsfds 68e6e60a03 new timing scheme which should eliminate speedups
thanks to opmox for initial implementation
2020-11-02 19:32:54 +03:00
s4Ys369 18dc3e268a Bugfix: Discord Integration crashes
Fix by PeachyPeach to stop crashes with Discord Integration when enter later Bowser courses and fights early
2020-10-04 02:22:35 +03:00
fgsfds fb22013eab add --syncframes to override vblank count detection 2020-09-07 15:48:41 +03:00
fgsfds dd0e86dbee add rudimentary SDL1 controller backend
it's more to deal with the mouse not working I suppose
2020-08-30 16:06:22 +03:00
fgsfds 4c1809a9da Merge remote-tracking branch 'origin/master' into nightly 2020-08-30 15:41:45 +03:00
fgsfds 420d82ce8c fix spaces 2020-08-30 15:39:41 +03:00
fgsfds da20f79e96 GL_LEGACY: this should've been GL_REPLACE all along 2020-08-30 01:29:26 +03:00
Garrett 468887a6f9 Check for zero rumble setting before allowing rumble
Fixes controllers which don't check for rumble_strength and have constant rumble from rumbling even when set to 0 in the config.
2020-08-29 17:08:17 -04:00
fgsfds 840eadb9e6 change GL_LEGACY to only use GL1.1 (1.2?) features 2020-08-29 02:13:30 +03:00
fgsfds dfd1a08475 add --poolsize arg for modifying main pool size 2020-08-29 02:13:30 +03:00
fgsfds a8cda7d09e fix controller_sdl2 2020-08-15 16:04:55 +03:00
fgsfds 347980355b add barebones SDL1.2 backends
for that sweet Win9x support
2020-08-15 07:15:28 +03:00
fgsfds 8543ee8be3 fix GL_LEGACY 2020-07-27 17:28:32 +03:00
fgsfds 597546125e don't assume first frame happens at 0 ticks 2020-07-10 15:44:58 +03:00
fgsfds 4b15a8f7b6 add a catch for 240hz refresh rates
hopefully 150, 180 and 210hz monitors don't exist
2020-07-09 17:24:15 +03:00
fgsfds 572a4b698b do vsync exactly like sm64-port does it
maybe this will finally work better
2020-07-09 17:02:43 +03:00
fgsfds 2982fcdb8e time video frames instead of game frames 2020-07-08 13:07:05 +03:00
fgsfds 92e869d263 roll back to using SDL_Delay/SDL_GetTicks 2020-07-08 12:51:15 +03:00
fgsfds 1486bee60a replace 'double' vsync option with 'auto' from sm64-port 2020-07-07 15:21:14 +03:00
fgsfds 765a08c846 merge gfx updates from sm64-port 2020-07-07 15:21:14 +03:00
fgsfds fccaead53d allow to bind controller triggers 2020-06-25 02:10:03 +03:00
fgsfds 9c2b5f08b6 actually bind L to LSHIFT and LSHOULDER by default 2020-06-25 01:19:38 +03:00
fgsfds 613a23e5e3 I am a dumb fuck
where the fuck are these LANG_ defines from, winapi?
2020-06-23 03:38:04 +03:00
fgsfds 1ba31e1266 fix discordrpc in EU 2020-06-23 02:58:39 +03:00
fgsfds 7eb65238f6 rename save folder to sm64ex; copy saves from old folder 2020-06-21 20:18:46 +03:00
fgsfds 52e32ba763 properly merge refresh 10.1's audio code
this fixes crashes on EU, there is now audio output but it's still borked
2020-06-21 02:23:03 +03:00
fgsfds d48db1d9c6 add missing texture indicator 2020-06-20 18:13:10 +03:00
fgsfds 59cbe0ab70 update puppycam; add runtime option to disable it 2020-06-20 17:22:33 +03:00
fgsfds fe44da4794 fix GRUCODE defines 2020-06-20 04:32:12 +03:00
n64 4a448cf10d merge refresh 10 2020-06-20 02:49:59 +03:00
fgsfds 34af21bad4 premultiply volume scales by master volume
instead of scaling the output
2020-06-18 02:20:32 +03:00
fgsfds 7526a998cb 'filter' is a reserved keyword in GLSL
but only Intel drivers get pissed at this
2020-06-17 04:40:14 +03:00
fgsfds 5abf1baf6a controller_sdl: init haptics separately in case it's not available 2020-06-17 03:11:50 +03:00
fgsfds 2e989e4831 properly scale sound volumes instead of abusing fadeVolume 2020-06-15 00:20:23 +03:00
fgsfds 91f50a4089 remove stray spaces 2020-06-14 23:29:34 +03:00
fgsfds b1b3fef112
Merge pull request #329 from KiritoDv/nightly
Music Volume Config
2020-06-14 23:27:06 +03:00
fgsfds fd05cd3adb don't use small resource alignment for large textures
thanks to Emil for this one

see https://docs.microsoft.com/en-us/windows/win32/api/d3d12/ns-d3d12-d3d12_resource_desc#alignment for an explanation
2020-06-13 22:54:33 +03:00
NoHomoBoi b15bd727c2 Added sfx and env volume settings 2020-06-13 02:16:00 -05:00
fgsfds 208bfdcbf3 move all the discordrpc stuff to pc_main.c
that means it will now work in D3D11 and D3D12

also 'normalized' the sdl2 main loop
2020-06-13 04:21:47 +03:00
fgsfds eed923e442 sdl2: fix window position saving and alt-enter 2020-06-13 00:51:37 +03:00
NoHomoBoi 7c341334f0 Code cleanup & changed max volume to 127 2020-06-12 03:22:08 -05:00
NoHomoBoi 56c6590bf3 Fixed config indentation 2020-06-12 00:56:51 -05:00