Commit Graph

41629 Commits

Author SHA1 Message Date
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
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
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
Andrés
2ddcea8112
Merge pull request #6037 from leiradel/master
Fixed HTTP request for cheevos; fixed handling invalid cheevos
2018-01-03 21:41:31 -05:00
orbea
2d19885a17 C89_BUILD: Fix some clang compiler errors
Fixes the following -Werror warnings with C89_BUILD=1 and clang.

gfx/common/x11_common.c:407:17: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement]
         Status status = 0;
                ^
libretro-common/formats/libchdr/chd.c:639:12: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement]
                uint8_t *sector = &dest[framenum * CD_FRAME_SIZE];
                         ^
libretro-common/formats/libchdr/chd.c:723:12: warning: ISO C90 forbids mixing declarations and code [-Wdeclaration-after-statement]
                uint8_t *sector = &dest[framenum * CD_FRAME_SIZE];
                         ^
2018-01-03 16:53:11 -08:00
orbea
a4ab4794cf C89_BUILD: Remove c++ style comments 2018-01-03 14:56:22 -08:00
leiradel
ba661a3af4 Fixed HTTP request for cheevos; fixed handling invalid cheevos 2018-01-03 21:34:52 +00:00
twinaphex
447e990522 Add missing files 2018-01-03 20:54:37 +01:00
twinaphex
0c13961f9e Updates 2018-01-03 20:48:33 +01:00
Twinaphex
8559fb8085
Merge pull request #6036 from orbea/clang
C89_BUILD: Fix some clang compiler errors.
2018-01-03 21:37:21 +01:00
orbea
e1db3e7a6d C89_BUILD: Fix some clang compiler errors.
Fixes these two compile errors with C89_BUILD=1

configuration.c:2028:9: error: ISO C90 forbids mixing declarations and code [-Werror,-Wdeclaration-after-statement]
   bool has_application_data =
        ^
1 error generated.
make: *** [Makefile:164: obj-unix/configuration.o] Error 1

In file included from menu/widgets/menu_osk.c:42:
menu/widgets/menu_osk_utf8_pages.h:62:94: error: no newline at end of file [-Werror,-Wnewline-eof]
                          "ヤ","ユ","ヨ","ワ","ヲ","ァ","ィ","ゥ","ェ","ォ","⊕"};
                                                                                 ^
1 error generated.
make: *** [Makefile:163: obj-unix/menu/widgets/menu_osk.o] Error 1
2018-01-03 12:19:16 -08:00
twinaphex
a3b9f0ab63 (D3DX8) d3dx8 always has to be statically linked 2018-01-03 20:35:24 +01:00
twinaphex
b925603eff (D3D9) Buildfix 2018-01-03 20:26:13 +01:00
twinaphex
a8445c3ec4 D3D8 buildfix 2018-01-03 20:23:34 +01:00
twinaphex
5d5115941f (d3d_common.c) Fix D3D8 codepaths 2018-01-03 20:16:19 +01:00
twinaphex
45d532b3a2 Simplify Makefile.common 2018-01-03 19:58:51 +01:00
twinaphex
aa255a9ad2 (D3D) Make d3dx dynamically loadable 2018-01-03 19:55:00 +01:00
twinaphex
d3480e6365 Create d3d_font_indirect 2018-01-03 19:03:19 +01:00
twinaphex
94b04828f9 Add ability to dynamically load d3d DLL 2018-01-03 18:53:13 +01:00
twinaphex
3a3776ba24 Create d3d_initialize_symbols 2018-01-03 18:38:13 +01:00
twinaphex
f19ff885f4 Cleanups 2018-01-03 18:23:04 +01:00
twinaphex
7b8299bbd7 Add this back 2018-01-03 18:15:20 +01:00
twinaphex
2424ffaa26 Dehardcode D3D_SDK_VERSION 2018-01-03 18:14:54 +01:00
twinaphex
30ba656f5c Create d3d_create 2018-01-03 18:09:31 +01:00