6891 Commits

Author SHA1 Message Date
headshot2017
cedc2ca8e0 use classicube's built in EGL implementation
i didn't realize i forgot to set Window_Main.Handle so it didn't crash
2024-03-15 20:06:08 -04:00
headshot2017
102a5367d1 change resolution on handheld/docked mode 2024-03-15 19:19:27 -04:00
headshot2017
e74023ce66 audrvUpdate after freeing audio backend
fixes garbage data playing on yuzu after returning to launcher
2024-03-15 19:12:53 -04:00
headshot2017
8d4adefb0e don't de-init audren on AudioBackend_Free()
fixes sounds not playing when returning to launcher and starting the game again
2024-03-15 12:44:12 -04:00
headshot2017
5c136aea57 AudioBackend_Tick!! 2024-03-14 22:18:19 -04:00
Headshotnoby
e1d830064c
Merge branch 'ClassiCube:master' into switch 2024-03-14 22:12:48 -04:00
UnknownShadow200
2e7c309e79 Tick audio from main game thread 2024-03-15 13:08:26 +11:00
headshot2017
1383d84daf change sound volume 2024-03-14 21:55:40 -04:00
headshot2017
2df6854dcf fix waitable milliseconds overflow
fixes music immediately starting again after it ends
2024-03-14 21:44:06 -04:00
headshot2017
c590975cdf fix music 2024-03-14 21:33:02 -04:00
headshot2017
413fa5e8de why didn't this sync?? 2024-03-14 19:46:28 -04:00
headshot2017
0bf5bb7762 log using svcOutputDebugString() 2024-03-14 19:32:51 -04:00
headshot2017
e0487ef70d waiting 2024-03-14 19:32:51 -04:00
headshot2017
5f9f8d15bc some more progress on switch audio backend
* if channels == 2 (stereo), use audrvVoiceSetMixFactor() calls from hwopus-decoder libnx example
* issue where music stops after playing for a few seconds
2024-03-14 19:32:50 -04:00
headshot2017
076f8dcb73 download sound asset on all platfoms
removed if defined CC_BUILD_CONSOLE preprocessor
2024-03-14 19:32:50 -04:00
headshot2017
aa23b5d444 download sound resources on Switch 2024-03-14 19:32:50 -04:00
headshot2017
ed3c0ff23c use libnx code for aligned alloc 2024-03-14 19:32:50 -04:00
headshot2017
5fdad50316 sounds are finally working on Switch
music is audible as well but it's broken. WARNING: if you decide to play with music, watch out for garbage data earrape
2024-03-14 19:32:50 -04:00
headshot2017
36b937e1c8 increase thread stack size to 0x100000 2024-03-14 19:32:49 -04:00
headshot2017
2d8949661d create sdmc:/switch
if it doesn't exist, it fails to create sdmc:/switch/ClassiCube and does not download resources
2024-03-14 19:32:49 -04:00
headshot2017
f37b3aea77 revert back to mutex/condvar waitables
fixes sign in
2024-03-14 19:32:48 -04:00
headshot2017
ee012dcd36 use 0x20000 stack size for threads 2024-03-14 19:32:48 -04:00
headshot2017
8566ac9631 use LEvent (light events) for waitable
also left Thread_Detach() empty
2024-03-14 19:32:48 -04:00
headshot2017
f14e3a55f5 add Thread_Detach for switch 2024-03-14 19:32:47 -04:00
headshot2017
bd1d7c674f replace pthread with libnx threads 2024-03-14 19:32:47 -04:00
headshot2017
ec4959c57e fix some mistakes on switch audren 2024-03-14 19:32:47 -04:00
headshot2017
198c6e18cc implement switch audren driver
temporarily calls audrvUpdate() on Window_ProcessEvents. need an audio update function
2024-03-14 19:32:46 -04:00
headshot2017
05a7e82582 comment out Thread_Detach code 2024-03-14 19:32:46 -04:00
headshot2017
7ee08a5c16 add -lpthread just in case 2024-03-14 19:32:46 -04:00
headshot2017
9fd89c3073 add Switch port 2024-03-14 19:32:24 -04:00
UnknownShadow200
8c78f66cc5 Wii U WIP stuff 2024-03-15 09:56:51 +11:00
UnknownShadow200
44ce6561ea Copy paste fail 2024-03-15 08:54:18 +11:00
UnknownShadow200
e41833dd26 Unfinished wii U stuff 2024-03-15 08:44:05 +11:00
UnknownShadow200
c087dfac50 Dreamcast: Optimise a tiny bit 2024-03-12 23:43:58 +11:00
UnknownShadow200
0b82f4f3df N64: Try to disable FPU exceptions 2024-03-04 19:15:32 +11:00
UnknownShadow200
dfcd025cab Support displaying < 1 FPS in HUD 2024-02-21 19:41:13 +11:00
UnknownShadow200
c4e8729034 Separate event for controller movement from pointer raw movement 2024-02-20 21:04:24 +11:00
UnknownShadow200
89725e4676 Transfer repository to ClassiCube organization
Dreamcast: Also fix loading messages being trimmed
2024-02-20 11:52:31 +11:00
UnknownShadow200
c74151e289 NetBSD github actions too 2024-02-19 20:56:06 +11:00
UnknownShadow200
c9e4ce31b2 FreeBSD workflow and update checkout action version 2024-02-18 21:11:40 +11:00
UnknownShadow200
ffc1626261 RPI build workflows 2024-02-18 09:03:04 +11:00
UnknownShadow200
e4b80f60a4 Dreamcast: Draw each quad as a triangle strip instead of two triangles 2024-02-15 19:31:05 +11:00
UnknownShadow200
751e5b500f macOS: Use platform serial number key on macOS pre 10.5 as machine ID 2024-02-11 21:08:54 +11:00
UnknownShadow200
a03d1d7a13 3DS: Don't delete GPU textures immediately to avoid crashing/freezing 2024-02-11 15:50:16 +11:00
UnknownShadow200
adfd994f8e PSP: Try to get web requests to at least work, although it completely blocks the UI 2024-02-10 21:21:15 +11:00
UnknownShadow200
09a33815a1
Merge pull request #1146 from UnknownShadow200/UIFixes_3DS
Try to simplify code for 3DS dual screen behaviour
2024-02-09 11:47:34 +11:00
UnknownShadow200
6d7d7ce0d5 PSP: Some networking fixes so it at least sort of works now 2024-02-09 08:16:04 +11:00
UnknownShadow200
475cb602ca 3DS: Set gfx render screen target directly 2024-02-08 23:04:36 +11:00
UnknownShadow200
e91cc7cfd8 WIP on avoiding calling Window_SetRenderScreen so often 2024-02-08 22:34:31 +11:00
UnknownShadow200
7d3bdb7f53 Dreamcast: Simplify loading messages 2024-02-08 19:10:48 +11:00