25507 Commits

Author SHA1 Message Date
twinaphex
fadeb4b3e4 Turn some functions static 2015-12-05 23:03:05 +01:00
twinaphex
693e684b4f (font_driver.c) Turn some functions static and remove others that
are unused
2015-12-05 22:58:52 +01:00
Twinaphex
f89d9822da Merge pull request #2524 from heuripedes/master
(menu) Fix heap overflow
2015-12-05 22:23:12 +01:00
Higor Eurípedes
e18e4494e7 (menu) Fix heap overflow
Some struct video_shader fields have sizes defined by macros, menu.h and
video_shader_parse.h had different values for some of them. This
resulted in menu.c allocating a ~120KB struct video_shader while
video_shader_parse.c tried to memset() a ~150KB. For some reason this
was only triggered in 32bit environments.
2015-12-05 18:15:35 -03:00
twinaphex
ffa4c58f1a move setjmp.h to retroarch.c 2015-12-05 21:31:46 +01:00
twinaphex
ec1b1c3e54 Header cleanups 2015-12-05 21:23:34 +01:00
twinaphex
3517fdc02a (Android) Buildfix 2015-12-05 21:18:06 +01:00
twinaphex
e87c38bbed Remove driver_clear_state 2015-12-05 21:14:44 +01:00
twinaphex
c79c205a0d Header include cleanup 2015-12-05 20:26:37 +01:00
twinaphex
5ba14b45ce Change some header includes 2015-12-05 20:05:32 +01:00
twinaphex
f45867d1cd More CXX_BUILD fixes 2015-12-05 18:56:37 +01:00
twinaphex
955ecce3b0 CXX_BUILD buildfix 2015-12-05 18:53:03 +01:00
twinaphex
84b9acab18 Drop some more header includes 2015-12-05 18:52:07 +01:00
twinaphex
1bf428ec85 general.h - header cleanup 2015-12-05 18:51:21 +01:00
twinaphex
3866c639f7 Cleanup headers 2015-12-05 18:49:41 +01:00
twinaphex
d61b491d47 Don't include retro_miscellaneous.h as part of driver.h 2015-12-05 18:47:05 +01:00
twinaphex
05b1097d37 Rearrange some headers 2015-12-05 18:45:15 +01:00
twinaphex
29f6d23d90 (Cocoa) Buildfix 2015-12-05 17:20:11 +01:00
twinaphex
90ad89cdf1 Header cleanups 2015-12-05 17:19:37 +01:00
twinaphex
f0b4f216b9 Attempt to fix iOS build errors 2015-12-05 17:15:32 +01:00
Twinaphex
0bd36327f5 Merge pull request #2523 from heuripedes/master
Phoenix changes
2015-12-05 16:56:06 +01:00
twinaphex
5b939e810c Get rid of driver_t and driver_get_ptr 2015-12-05 16:54:13 +01:00
Alcaro
67a0623ebf Fix 3DS build fail. 2015-12-05 16:51:02 +01:00
twinaphex
3e6fdaf3e5 Add note to comment 2015-12-05 16:42:02 +01:00
twinaphex
6d71ea6529 Move driver->netplay_data to netplay.c 2015-12-05 16:41:00 +01:00
twinaphex
6abb01e973 Isolate driver->netplay-data to netplay.c 2015-12-05 16:38:24 +01:00
Higor Eurípedes
d62839516e (phoenix) Add optional clang sanitizer support
Set the SANITIZER=address environment variable. Debug mode isn't
required but helps.
2015-12-05 12:31:12 -03:00
Higor Eurípedes
9ed030cda0 (phoenix) Remove android:debuggable from manifest
Use proper ant targets like debug, release, installd and installr or a
combination of release/debug + install instead.
2015-12-05 12:31:12 -03:00
twinaphex
67e8647acb Start isolating usage of driver->netplay_data to netplay.c 2015-12-05 16:27:00 +01:00
twinaphex
d4d07f674f Create netplay_driver_ctl 2015-12-05 16:24:31 +01:00
twinaphex
18ab12ab83 Take header include record_driver.h out of driver.h 2015-12-05 16:12:29 +01:00
twinaphex
85fae522c0 Move recording driver state to record_driver.c 2015-12-05 16:08:08 +01:00
twinaphex
7e5d1f3117 Only rcord_driver.c references driver->recording now 2015-12-05 16:05:35 +01:00
twinaphex
bde80b1159 Rename driver->recording to driver->recording_driver 2015-12-05 15:58:00 +01:00
twinaphex
271975954f move camera_driver.h header incldue out of driver.h 2015-12-05 15:55:26 +01:00
twinaphex
54dc5ca071 Move camera driver state out of driver_t 2015-12-05 15:52:25 +01:00
twinaphex
19a7ee6486 Move header include for location/location_driver.h out of
driver.h
2015-12-05 15:47:33 +01:00
twinaphex
3790b1d566 Move location driver handle data to location_driver.c 2015-12-05 15:44:54 +01:00
twinaphex
ade194b1cc Create location_driver_ctl 2015-12-05 15:40:29 +01:00
twinaphex
a766d1c1c1 Create camera_driver_ctl 2015-12-05 14:40:04 +01:00
Twinaphex
aac2ceba02 Don't set menu_driver_ctx yet to NULL at RARCH_MENU_CTL_DEINIT time 2015-12-05 14:03:39 +01:00
twinaphex
736f343d9f Create RARCH_MENU_CTL_IS_ALIVE 2015-12-05 13:49:34 +01:00
twinaphex
03e2873296 (D3D) Buildfixes 2015-12-05 13:31:02 +01:00
twinaphex
7578e0432e Reorder remaining driver struct members 2015-12-05 13:26:53 +01:00
twinaphex
cbb3535854 joypad_connection.c - include stdlib.h for calloc 2015-12-05 13:24:15 +01:00
twinaphex
2f29d9f18c Take out menu/menu_driver.h include from driver.h 2015-12-05 13:22:50 +01:00
twinaphex
66582c3f06 Move variables to menu_driver.c and turn them staticc 2015-12-05 13:13:49 +01:00
twinaphex
688ddcfd9e Rename the two variables 2015-12-05 13:09:27 +01:00
twinaphex
d3bc47c6dc Create RARCH_MENU_CTL_IS_SET_TEXTURE 2015-12-05 13:06:22 +01:00
twinaphex
841d6010a5 Create RARCH_MENU_CTL_DEINIT 2015-12-05 13:04:21 +01:00