Commit Graph

41803 Commits

Author SHA1 Message Date
Twinaphex 8347b6da21
Merge pull request #6056 from gblues/master
Use the right value for BIT256_GET macro
2018-01-06 07:09:27 +01:00
gblues 5b13f85967 Use the right value for BIT256_GET macro
== DETAILS

The BIT256_GET() macro expects a bit number (from 0-255), and we're giving it
a 32-bit mask (0x000080000).

Solution:

- Define VPAD_BUTTON_xxx_BIT macros using the bit number
- Use said macro in wiiu_input.c
- organizational cleanup:

  * put VPAD_BUTTON_TOUCH into the enum in stead of as a hokey define
  * put the touch bits in the right order
  * put in placeholder enums for (currently) unused bits
2018-01-05 20:03:10 -08:00
Andrés dedcd26495
Merge pull request #6053 from aliaspider/master
(WIIU) add preliminary multi-pass shader support.
2018-01-05 21:48:30 -05:00
aliaspider 55d262f5d8 (WIIU) add preliminary multi-pass shader support.
can load *.slangp and *.slang files. since there is no runtime compiler,
precompiled shaders (*.gsh) need to be present next to each *.slang
source file.
2018-01-06 03:39:53 +01:00
orbea df885fce31 libchdr: Backport "backported chd_file::guess_unitbytes from upstream to set unitbytes and unitcount fields for pre-v5 headers"
Backports 13444fc72f
2018-01-05 16:08:29 -08:00
orbea eeb6230ebd libchdr: Trivial cleanup 2018-01-05 16:08:29 -08:00
twinaphex bc53b9e1b6 Update libretro-common 2018-01-05 23:32:25 +01:00
meepingsnesroms 69bb95c49b Remove -a from uname 2018-01-05 09:58:10 -08:00
twinaphex f677a7ad7e Add HAVE_OVERLAY to qb system 2018-01-05 16:10:34 +01:00
twinaphex 8ca98e0a18 Buildfix 2018-01-05 14:14:42 +01:00
Twinaphex f4250a1ad5 Silence unused variable warnings 2018-01-05 14:13:58 +01:00
Twinaphex 3dff396ff4
Merge pull request #6050 from aliaspider/master
(WIIU) add a frame shader to match the shaders used by gl/vulkan
2018-01-05 13:49:10 +01:00
twinaphex 08abfd9208 (LED) Fix relative path includes 2018-01-05 13:47:49 +01:00
twinaphex f9e4ff3610 Cleanups 2018-01-05 13:28:50 +01:00
twinaphex a516a0a3a3 Add overlay_led_driver 2018-01-05 13:27:52 +01:00
aliaspider 8e095164e0 (WIIU) add a frame shader to match the shaders used by the gl/vulkan
drivers.
2018-01-05 13:18:55 +01:00
twinaphex 751c0fe58c Sync libretro-common 2018-01-05 13:16:04 +01:00
twinaphex cf8e7cd362 (wiiu) small style nits; declare variables at top; C comments 2018-01-05 13:09:05 +01:00
Twinaphex af9911df8a
Merge pull request #6048 from gblues/master
Fix RETRO_DEVICE_ID_POINTER_PRESSED handling
2018-01-05 12:39:52 +01:00
gblues 34b120c269 Fix unfreed memory bug
== DETAILS
This should fix #6025.

After confirming that dummying out the init block of the HID subsystem
driver eliminated the crash, I narrowed it down to the event loop.

And that's when I noticed that, when the thread consumes the event,
it doesn't free it.

Oops.

Updated the event loop to free the event after it has been processed.

== TESTING
Local build, was able to load multiple ROMs in succession where prior
I was getting the system memory errors.

I've #if 0'd out a call to HIDRead that is still getting deadlocked,
because it slows down the startup/shutdown process.
2018-01-05 00:16:59 -08:00
Twinaphex d3e68239df
Merge pull request #6047 from pattheaux/overlay_led
Added an overlay led driver, fixed a bug in the rpi led driver
2018-01-05 08:17:58 +01:00
gblues 3a0468523a Fix RETRO_DEVICE_ID_POINTER_PRESSED handling
== DETAILS

The joypad driver was only copying the first 16 bits when executing
get_buttons(). The touchpad button is bit 19, so as a result
RETRO_DEVICE_ID_POINTER_PRESSED would never fire.

We fix this for now by copying 32 bits.

== TESTING

Will need someone to verify. I don't  have a core handy that leverages
the pointer device state functionality.
2018-01-04 22:13:30 -08:00
meepingsnesroms 0598f2e7c8 Remove 64bit png and replace with 32 as 64 is incompatible new with bannertool 2018-01-04 17:05:54 -08:00
Twinaphex 9791712165
Merge pull request #6044 from aliaspider/master
(WIIU) add a gfd shader file reader.
2018-01-04 23:13:17 +01:00
aliaspider 3979d03cb3 (WIIU) add a gfd shader file reader. 2018-01-04 23:03:11 +01:00
meepingsnesroms 13b03ff5d3 Ignore more 3ds binary files 2018-01-04 11:54:51 -08:00
meepingsnesroms bf47859430 Remove binarys 2018-01-04 11:46:13 -08:00
meepingsnesroms 2e0eb4df8e Allow using custom bannertool and makerom for 3ds, for wav format not found error
You can compile the latest version of bannertool for your system and have retroarch build with that instead of the builtin one that fails on windows.
2018-01-04 11:40:03 -08:00
Ian House 5311544c65 Added overlay led driver, fixed a bug in the rpi led driver 2018-01-04 12:56:57 -05:00
Twinaphex c04b555f04
Merge pull request #6042 from aliaspider/master
(WIIU) add a sprite shader.
2018-01-04 18:00:18 +01:00
aliaspider e653a33237 fix warning. 2018-01-04 17:38:31 +01:00
aliaspider a7632620da (WIIU) add a sprite shader. 2018-01-04 17:38:04 +01:00
aliaspider e63697dca7 (WIIU) fix net logger. 2018-01-04 17:21:16 +01:00
twinaphex 73c36c47e2 (XDK) Xbox buildfixes 2018-01-04 17:00:21 +01:00
twinaphex 99c00b438b Silence unreferenced local variable warning 2018-01-04 16:55:28 +01:00
twinaphex 3033c1586a (MSVC 2010) x64 - compile griffin.c as C 2018-01-04 16:55:00 +01:00
twinaphex c495ca924d (MSVC 2010) Buildfix for x64 2018-01-04 16:53:54 +01:00
twinaphex 2c12010889 Updates 2018-01-04 14:59:23 +01:00
twinaphex e0b59c40ea Cleanups 2018-01-04 14:52:35 +01:00
twinaphex 6eddea99c0 Cleanups 2018-01-04 14:50:56 +01:00
twinaphex 41d9a8fd75 Make D3DX optional 2018-01-04 14:42:13 +01:00
twinaphex bd14582465 Update D3D8 codepath 2018-01-04 12:42:51 +01:00
twinaphex 21bf01ca6c Update file_stream_transforms.c 2018-01-04 08:16:43 +01:00
SaltyFist ad695a8b72 (switch) Add support for RETRO_PIXEL_FORMAT_XRGB8888 2018-01-04 07:28:17 +01:00
misson20000 a039e6c41e (NSW) temporary fix for graphic buffer dequeue failure 2018-01-04 07:28:12 +01:00
Twinaphex 14c9806584
Merge pull request #6040 from gblues/master
Revert previous fix, apply correct fix
2018-01-04 07:01:26 +01:00
Twinaphex 30bbfd88d1
Merge pull request #6039 from orbea/clang
C89_BUILD: Fix some clang compiler errors
2018-01-04 07:01:08 +01:00
Twinaphex 2aff5b54ff
Merge pull request #6038 from orbea/c89
C89_BUILD: Remove c++ style comments
2018-01-04 07:00:43 +01:00
gblues 80cdb92154 Re-re-fix wpad scaling. For real this time.
== DETAILS

@r-type got me the link to the fixed-fixed version.

Which was actually closer to where I was originally!

So:

- Revert the previous commit
- Apply the actual changes needed to fix the problem
- Bring in and fix the logging code from the previous implementation

== TESTING
- Verified that top-left is -0x7fff,-0x7fff and that bottom-right is
  0x7fff, 0x7fff.

== REVIEW
@QuarkTheAwesome @r-type @twinaphex
2018-01-03 21:32:00 -08:00
gblues c1ef5c5497 Revert "Fix wiiu touchpad scaling"
This reverts commit 1d933a6b52.
2018-01-03 19:57:38 -08:00