Commit Graph

10885 Commits

Author SHA1 Message Date
Sergio Padrino
81eba84eb9 Add GameController support for the Wii U Gamepad (#59) 2021-10-23 20:03:15 +11:00
GaryOderNichts
d516577d4f audio/wiiu: don't wait if device is not enabled 2021-02-01 00:00:11 +01:00
GaryOderNichts
07f1d1f5e1 audio/wiiu: deregister framecallback before freeing sources 2021-01-31 23:59:28 +01:00
GaryOderNichts
ecef835577
Merge pull request #3 from GaryOderNichts/wiiu-2.0.9
render/wiiu: change origin to the upper left
2020-08-07 16:22:25 +02:00
GaryOderNichts
e32891ea04 render/wiiu: change origin to the upper left 2020-07-20 03:44:38 +02:00
Ash Logan
eb05b491c1 video/wiiu: Don't replace an already running ProcUI 2020-04-23 21:34:02 +10:00
Ash Logan
e3d2191889 render/wiiu: respect SDL_RENDERER_PRESENTVSYNC 2020-01-05 12:49:02 +11:00
Ash Logan
a9be38d3a1 cmake: Don't link against stub libraries 2019-11-21 13:55:47 +11:00
Ash Logan
71e63524fc audio/wiiu: Add maps for mono and stereo audio 2019-11-21 13:38:45 +11:00
Ash Logan
f7568b7d97 joystick/wiiu: Add player index support 2019-11-21 13:01:12 +11:00
rw-r-r-0644
26290a65a6
audio/wiiu: FIx right audio channel
The deinterleaving algorithm ended up overwriting the first half of the right channel buffer
2019-10-17 18:48:51 +02:00
Ash Logan
7c235083d0 audio/wiiu: Attempt to make stereo become n-channel (broken)
This does something odd with the right channel and it sounds wrong
2019-10-17 18:39:15 +11:00
Ash Logan
d929c75f0b audio/wiiu: (very) early stereo implementation
-Remove calculations relying on buffer size instead of sample count
- Add some temp code to deinterleave on the CPU
- Add a crap solution - voice_r. Really should be an array of voices, 
gimme some time for that
2019-09-21 22:47:38 +10:00
Ash Logan
fa6d0c47b8 audio/wiiu: Properly initialise AXVoiceDeviceMixData
(fixes odd behaviour when surround sound is enabled, hopefully)
2019-09-21 20:10:14 +10:00
rw-r-r-0644
0c51093c68 Update build instructions 2019-09-20 21:21:07 +10:00
Ash Logan
0eaa9070a2 joystick/wiiu: Add support for WPAD/KPAD controllers 2019-09-20 21:21:01 +10:00
Ash Logan
776380a70f joystick/wiiu bugfix: Don't hardcode Gamepad device_index to 0 2019-09-20 21:20:53 +10:00
Ash Logan
564c25b52f joystick/wiiu: Hotplug support (gamepad only) 2019-09-20 21:20:41 +10:00
Ash Logan
d3c3ee1e98 big oops: missed a merge conflict on 2.0.9 2019-05-04 20:35:42 +10:00
Ash Logan
f2e83587ad cmake: Update SDL_LIBS so pkg-config pulls in needed Cafe libs 2019-04-29 22:59:32 +10:00
rw-r-r-0644
bf5e9a1cd5 render/wiiu: Fix scaling mode for windowTex
Previously the driver would always end up using point scaling as the final windows texture scaling mode and thus the screen output
2019-04-29 22:59:32 +10:00
rw-r-r-0644
6ba2f62f38 render/wiiu: Allocate normal textures from MEM2
MEM1 fills up very quickly and soon runs out of space for apps with many textures
2019-04-29 22:59:32 +10:00
rw-r-r-0644
14bbb4a0f1 render/wiiu: DestroyRenderer: Wait for the rendering to finish and free texture draw data 2019-04-29 22:59:32 +10:00
rw-r-r-0644
c349a79696 render/wiiu: Free render data after calling GX2DrawDone 2019-04-29 22:59:32 +10:00
rw-r-r-0644
fb9cda3712 render/wiiu: Reintroduce check removed with fd92b81 to fix crashes 2019-04-29 22:59:32 +10:00
rw-r-r-0644
4388bea3ad render/wiiu: Fix the remaining graphical glitches! 2019-04-29 22:59:32 +10:00
rw-r-r-0644
d4f823db47 render/wiiu: Code cleanup
* Remove unused functions
* Remove unneeded checks
* Uniform coding style with the rest of SDL
2019-04-29 22:59:32 +10:00
rw-r-r-0644
74a42de67b render/wiiu: Use WIIU_FreeRenderData in DestroyRenderer 2019-04-29 22:59:32 +10:00
rw-r-r-0644
87fbbbec7e render/wiiu: Update RenderReadPixels to lock the surface and use the correct texture format 2019-04-29 22:59:32 +10:00
rw-r-r-0644
ceb9f1c096 render/wiiu: Fix compiler warnings 2019-04-29 22:59:32 +10:00
rw-r-r-0644
7a02c03542 render/wiiu: Reduce GX2SetContextState calls
The function takes a fairly long time to complete
2019-04-29 22:59:32 +10:00
rw-r-r-0644
7507d2b9a2 render/wiiu: Disable blending for render_scene 2019-04-29 22:59:32 +10:00
rw-r-r-0644
7446bdc731 render/wiiu: Implement SetTextureColorMod/SetTextureAlphaMod 2019-04-29 22:59:32 +10:00
rw-r-r-0644
fcb1d21683 render/wiiu: Use vec* for u_texSize and u_viewSize 2019-04-29 22:59:32 +10:00
Ash Logan
eba4263f00 render/wiiu: Re-set context state after a clear
whb does this, so y'know
2019-04-29 22:59:32 +10:00
Ash Logan
dcb58351f0 render/wiiu: Textures keep their own colour buffers 2019-04-29 22:59:32 +10:00
Ash Logan
8c4b5c066e render/wiiu: Use point scaling by default
see https://wiki.libsdl.org/SDL_HINT_RENDER_SCALE_QUALITY
2019-04-29 22:59:32 +10:00
Ash Logan
da762c2f05 video/wiiu: Add support for DRC/TV only windows (#1) 2019-04-29 22:59:32 +10:00
Kuruyia
f814e40fcf video/wiiu: Add flags to only draw on TV or Gamepad (#1) 2019-04-29 22:57:45 +10:00
rw-r-r-0644
b6873f94f4 Edit README for the wiiu port 2019-04-29 22:55:56 +10:00
rw-r-r-0644
d58f563d65 input/wiiu: Clear last_touched after sending touch release event 2019-04-29 22:55:56 +10:00
Ash Logan
73ba941733 render/wiiu: Use vec* for FillRects (fixes no-draw bug) 2019-04-29 22:55:56 +10:00
Ash Logan
482fa50607 render/wiiu: Fix present position/texcoord confusion 2019-04-29 22:55:56 +10:00
Ash Logan
2b640b8e7b render/wiiu: Respect window sizes 2019-04-29 22:55:56 +10:00
Ash Logan
b17164d5f6 render/wiiu: Handle window size changes 2019-04-29 22:55:56 +10:00
Ash Logan
89013edb6c render/wiiu: readability - introduce vec* structs for drawing 2019-04-29 22:55:56 +10:00
Ash Logan
e147fbab72 render/wiiu: Fix resource flags on texture creation 2019-04-29 22:55:56 +10:00
Ash Logan
72d34778d6 render/wiiu: Convert RenderData to use GX2RBuffers 2019-04-29 22:55:56 +10:00
Ash Logan
ca33399a70 render/wiiu: Use GX2R for texture surfaces
Untested at time of commit, hopefully it works hehe
2019-04-29 22:55:56 +10:00
Ash Logan
fa157dbcaa video/wiiu: Remove the last of the emulated framebuffer 2019-04-29 22:55:56 +10:00