Commit Graph

25543 Commits

Author SHA1 Message Date
twinaphex
d33f0b5239 Don't make async_jobs dependent on global state anymore 2015-12-06 18:37:57 +01:00
Twinaphex
4e14e6e6fa Merge pull request #2529 from heuripedes/master
(shader_glsl.c) Fix memory leak
2015-12-06 18:31:50 +01:00
twinaphex
8829b27cd2 Create RARCH_MENU_CTL_SET_TEXTURE 2015-12-06 18:30:45 +01:00
twinaphex
99ea0095a3 Create RARCH_MENU_CTL_FRAME 2015-12-06 18:28:37 +01:00
Higor Eurípedes
aa08f3ba58 (frontend.c) Fix async job leak 2015-12-06 14:28:06 -03:00
Higor Eurípedes
9bb36cac38 (shader_glsl.c) Fix memory leak 2015-12-06 14:23:51 -03:00
twinaphex
bea3f938d9 RARCH_MENU_CTL_DESTROY: Make sure all static local variables are
set back to default state
2015-12-06 18:23:46 +01:00
twinaphex
718ed30d70 (Cocoa) Buildfixes 2015-12-06 18:18:50 +01:00
twinaphex
0389474e12 Set dangling pointers to null for RARCH_DISPLAY_CTL_DEINIT
and RARCH_AUDIO_CTL_DEINIT too
2015-12-06 18:15:00 +01:00
twinaphex
a3033c2f66 Buildfixes 2015-12-06 18:12:49 +01:00
Twinaphex
22bded8aad Merge pull request #2528 from heuripedes/master
(input_driver) Get rid of dangling pointer
2015-12-06 18:08:51 +01:00
Higor Eurípedes
ee06d36735 (input_driver) Get rid of dangling pointer 2015-12-06 13:56:20 -03:00
twinaphex
d1fa703991 Buildfix 2015-12-06 17:56:18 +01:00
twinaphex
1cfb39a9d1 merge menu.c and menu_driver.c 2015-12-06 17:55:27 +01:00
twinaphex
8e8f69bb69 Refactor away menu_driver_toggle 2015-12-06 17:41:00 +01:00
twinaphex
09ecd04d67 Make sure gpu_buffer is set back to NULL too upon
RARCH_DISPLAY_CTL_DESTROY time
2015-12-06 17:33:51 +01:00
twinaphex
015986fea4 RARCH_INPUT_CTL - Make sure all static local variables are set
back to default state
2015-12-06 17:19:12 +01:00
twinaphex
0f9ba38b76 Make sure all static local variables from video_driver_ctl are
reset back to default state after calling RARCH_DISPLAY_CTL_DESTROY
2015-12-06 17:17:08 +01:00
twinaphex
88a1f48cc3 Create RARCH_MENU_CTL_DESTROY 2015-12-06 17:15:32 +01:00
twinaphex
bfef1c816f Cleanup 2015-12-06 16:32:08 +01:00
twinaphex
9471020bf7 Reduce some more msg char variables 2015-12-06 15:55:05 +01:00
twinaphex
79a6eea7e1 Cleanups 2015-12-06 15:31:54 +01:00
twinaphex
cc626877a9 Cleanups 2015-12-06 15:29:41 +01:00
twinaphex
083d1fec69 video_driver_frame - cleanup 2015-12-06 15:24:06 +01:00
twinaphex
bbbf6513fd move gpu record buffer to video_driver.c 2015-12-06 15:22:20 +01:00
twinaphex
c4d1f2c49d Get rid of some implicit memsets for font_params local variables 2015-12-06 14:46:50 +01:00
twinaphex
a23598e553 Don't need video_driver_current_msg anymore 2015-12-06 14:32:30 +01:00
twinaphex
39e9d5c5ba Start cutting down on the size of some char local variables - we
don't need PATH_MAX_LENGTH for everything
2015-12-06 13:28:20 +01:00
twinaphex
7d6b7b7729 Some cleanups 2015-12-06 13:17:04 +01:00
twinaphex
6b9100143c Header include cleanups 2015-12-06 13:12:27 +01:00
twinaphex
b0fb4f2b6d Get rid of sys/types.h include in driver.h 2015-12-06 13:09:59 +01:00
twinaphex
38a7338592 Fix video_shader_driver_get_current_shader 2015-12-06 11:22:16 +01:00
Twinaphex
44d0cc109b Merge pull request #2526 from heuripedes/master
(file_extract) Fix invalid read in zlib_parse_file_progress()
2015-12-06 09:05:54 +01:00
Higor Eurípedes
f386c9b7f9 (file_extract) Fix invalid read in zlib_parse_file_progress() 2015-12-05 20:57:04 -03:00
Twinaphex
3d011e0338 Merge pull request #2525 from heuripedes/master
(android_input.c) Fix usage of signed/unsigned
2015-12-05 23:27:14 +01:00
Higor Eurípedes
1cd0a0ff0a (android_input.c) Fix usage of signed/unsigned
This caused a segmentation failure in android_keyboard_state_get()
2015-12-05 19:23:02 -03:00
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