Commit Graph

8522 Commits

Author SHA1 Message Date
Lioncash
db2a619a90 Shrink another struct. This shrinks audio_lock from 32 bytes to 24 bytes. 2013-11-04 00:10:22 -05:00
Lioncash
fac2783a09 Optimize some struct sizes.
This is the list of reduced sizes:

file: dsound.c         - struct dsound_t reduced from 56 bytes to 52 bytes.
file: shader_parse.h   - struct gfx_fbo_scale reduced from 32 bytes to 28 bytes.
file: thread_wrapper.c - struct texture reduced from 28 bytes to 24 bytes.
file: libretro.h       - struct retro_hw_render_callback reduced from 40 bytes to 36 bytes.
file: movie.c          - struct bsv_movie reduced from 36 bytes to 32 bytes.
file: netplay.c        - struct delta_frame reduced from 16 bytes to 12 bytes.
file: performance.h    - struct rarch_perf_counter_t reduced from 40 bytes to 32 bytes.
2013-11-03 23:57:41 -05:00
ToadKing
4118fd4670 fix variable shadowing in command.c 2013-11-03 22:10:31 -05:00
twinaphex
df5c9b6878 (RGUI) Host menu_type_is out of rgui.c and into menu_settings.c 2013-11-04 03:09:36 +01:00
twinaphex
4136fce571 (RGUI) Only one menu_type_is function now 2013-11-04 03:08:14 +01:00
twinaphex
f7bde4c537 (RGUI) Cutdown on ifdefs to do with setting enums 2013-11-04 02:53:00 +01:00
twinaphex
eea2a07fe1 (RGUI) Have all settings enums be available 2013-11-04 02:42:17 +01:00
twinaphex
5da1ffd24a (RGUI) Combine rgui populate_entries functions into one function and
move it outside rgui.c to menu_settings.c
2013-11-04 01:49:25 +01:00
twinaphex
d7e01cdf2a (RGL PS3) Get rid of unused function pointers in function pointier table 2013-11-04 00:45:39 +01:00
twinaphex
a8ebd7b9b3 (Xenon) Small fix in calloc of SDL_CreateCond 2013-11-04 00:18:44 +01:00
twinaphex
bc13d07026 (XDK) xdk input - fix up erroneous copy-paste - was accidentally
callocing struct
2013-11-04 00:13:09 +01:00
twinaphex
332f221c64 (XDK D3D) Prevent unitialized variables 2013-11-04 00:04:53 +01:00
twinaphex
59c44a7e17 (RGL PS3) Use malloc instead of new for buffer 2013-11-04 00:00:36 +01:00
Hans-Kristian Arntzen
c0e6fc9b9f Merge pull request #376 from Alcaro/master
Fix variable shadowing that makes the previous fix ineffective.
2013-11-03 13:54:32 -08:00
twinaphex
0b307dc9fb (XDK1) Build fix 2013-11-03 21:37:31 +01:00
twinaphex
0dbbc33529 (XDK) Implement rumble (based on XInput Windows driver - not sure
if treating left motor as "strong" motor is correct behavior we
should take from the Windows driver
2013-11-03 21:32:16 +01:00
twinaphex
124022bd69 (PS3) Implement rumble in input driver 2013-11-03 20:55:07 +01:00
twinaphex
b8641af4c3 (PS3) Expose Sixaxis accelerometer to input driver 2013-11-03 20:25:15 +01:00
Alcaro
6d8988d36d Fix variable shadowing that makes the previous fix ineffective. 2013-11-03 19:56:20 +01:00
twinaphex
ae981ab946 (PS3) Add preliminary analog stick support 2013-11-03 19:39:43 +01:00
twinaphex
abf2079920 (XDK) platform_xdk - use fill_pathname_join where appropriate 2013-11-03 17:55:59 +01:00
twinaphex
27fd78e8fa (GX/PS3) Fixes:
- Use fill_pathname_join and strlcpy where possible in platform_gx/platform_ps3
- Split up system_exec Wii code into its own separate file - platform_wii
- Salamander file path string handling should be more reliable now
2013-11-03 17:39:12 +01:00
twinaphex
d1b69f4c43 (frontend) HAVE_BB10 should also have HAVE_MEHU defined 2013-11-03 17:04:44 +01:00
twinaphex
e3ebfbffa9 Rename frontend_android.h to platform_android.h 2013-11-03 17:02:40 +01:00
twinaphex
fe66f57406 (frontend) Fixup space in license header 2013-11-03 16:52:11 +01:00
twinaphex
002c519707 Add credit where credit is due 2013-11-03 16:51:37 +01:00
twinaphex
74d1d11a65 (Android) Remove frontend_android.c - now uses frontend.c 2013-11-03 16:49:54 +01:00
twinaphex
5d52aaf3a3 (Android) Rewrite frontend_android 2013-11-03 16:38:56 +01:00
twinaphex
5060b5a379 (Android EGL) Take out looper snippets 2013-11-03 15:26:30 +01:00
twinaphex
1bc17ca81c (menu_common) load_menu_game_prepare - add RARCH_CONSOLE ifdef 2013-11-03 15:17:45 +01:00
Themaister
ae07e75e7c Hook up sensors API in libretro.
There are still many FIXMEs to be resolved before the interface
can lose its experimental status.
2013-11-03 12:06:14 +01:00
Themaister
6b37d11e69 Fix potential memleaks in linuxraw. 2013-11-03 11:44:12 +01:00
Themaister
864ba94a88 Fix potential memleak. 2013-11-03 11:23:53 +01:00
Themaister
e159007aca Remove a redundant branch. 2013-11-03 10:46:10 +01:00
Themaister
970c973540 global_uninit_drivers() should come after main deinit.
Actually free video driver in global_uninit.
2013-11-03 10:42:05 +01:00
twinaphex
250a2b305d (Rmenu XUI) Cleanup unused variable in rgui_iterate 2013-11-03 06:36:02 +01:00
twinaphex
d4593a088a (RMenu XUI) Cleanup unused rgui pointer in rgui_free 2013-11-03 06:34:49 +01:00
twinaphex
a35eb793f7 (menu_settings) Fixup last w assignment - thanks to Lioncash for pointing out 2013-11-03 06:26:41 +01:00
twinaphex
4f7ebbd964 (Frontend) Remove ifdef 2013-11-03 06:14:02 +01:00
twinaphex
c55a0885c7 (RARCH_CONSOLE) Fixes pushes to ROM history list - it should only push an entry
if either g_extern.system.no_game is true, or when either *tmp
or g_extern.fullpath is not null. Otherwise it will push an entry
with a bogus 'ROM path' to the list, and this broke RMenu badly
2013-11-03 05:49:46 +01:00
twinaphex
2e5d151fac (RARCH_CONSOLE) Should fix erroneous attempt_load_game for RARCH_CONSOLE 2013-11-03 04:55:30 +01:00
twinaphex
b126cb59d7 (Apple) Fix build 2013-11-03 04:47:29 +01:00
twinaphex
2b7635e740 (Frontend) Clean up ifdefs 2013-11-03 04:46:41 +01:00
Squarepusher
f666509e37 Merge pull request #371 from lioncash/master
[Android] Sort the cores in the CoreSelection activity alphabetically.
2013-11-02 20:17:24 -07:00
Lioncash
071b2c8e6a [Android] Document a large amount of the Android front-end classes (also some methods).
Also adjusted the tab indentation of the GPL waiver method, was one tab too far.
2013-11-02 23:15:56 -04:00
Lioncash
d07d97e517 [Android] Sort the cores in the CoreSelection activity alphabetically. Also document the IconAdapter class, along with its IconAdapterItem interface. 2013-11-02 22:40:41 -04:00
Squarepusher
c4268a1079 Merge pull request #370 from lioncash/master
[Android] Do checking for a valid core name in ModuleWrapper.
2013-11-02 19:17:55 -07:00
Lioncash
dd8a57f26c [Android] Do checking for a valid core name in ModuleWrapper. Prevents a potential crash when random files are tossed in the cores folder. 2013-11-02 22:14:30 -04:00
twinaphex
5a466c064e (Android) Add FIXME to input_android.c 2013-11-03 01:34:01 +01:00
twinaphex
c65670df31 (Android) Add parenheses around sensor mask conditionals 2013-11-03 00:31:24 +01:00