Commit Graph

522 Commits

Author SHA1 Message Date
Timo Strunk
757f7d96c2 Now path is also correctly sanitized. g_extern.basename of /path/to/file.zip#game.img is now /path/to/game 2014-09-17 19:46:59 +02:00
Timo Strunk
95f02d12f4 Basenames should now be correct also when using zipfiles. It is now always only the basename of the file in the zipfile. So if zipname == internalname, its zipname, like requested here: https://github.com/libretro/RetroArch/issues/1030#issuecomment-55810822 2014-09-17 18:41:23 +02:00
twinaphex
82806dcd85 Hide away last BIND_PRESSED invocations with check_quit_key_func 2014-09-17 17:48:41 +02:00
twinaphex
f7061e7233 Rewrite check_pausegp 2014-09-17 17:45:44 +02:00
twinaphex
3892c8326d Use macro functions to hide away some of the ugliness 2014-09-17 07:38:49 +02:00
twinaphex
92938fe45f Optimizations - prevent static bools everywhere in check_* functions
- input_keys_pressed_func takes a pointer and sets it to the last
input state. We then pass this around functions and use it where
necessary
2014-09-17 06:55:03 +02:00
twinaphex
310438f15b Refactor away input_key_pressed_func 2014-09-17 00:29:47 +02:00
twinaphex
7a66467161 Create macro BIND_PRESSED - wrapper around BIT64_GET 2014-09-16 18:08:44 +02:00
twinaphex
709ecbfa67 Get rid of some redundant function pointer checks for driver.input 2014-09-16 17:50:38 +02:00
twinaphex
a5e367d2f0 More of aforementioend 2014-09-16 09:48:47 +02:00
twinaphex
c391249e3f Optimizations -
* reduce amount of calls to input_key_pressed_func all throughout
rarch_main_iterate - call input_keys_pressed_func only once and
then pass an input state value around to all subsequent functions
* define retro_input_t typedef - simply an uint64_t for now since
meta binds don't exceed 64 entries yet
2014-09-16 09:26:08 +02:00
twinaphex
2f06612133 (retroarch.c) refactors 2014-09-16 07:20:09 +02:00
twinaphex
cbce0c7b8a Create write_empty_file helper function in file_path.c 2014-09-15 05:49:48 +02:00
twinaphex
2284395c4d Get rid of frontend_loop 2014-09-14 16:29:09 +02:00
twinaphex
a3269ff9ed Add RARCH_ACTION_STATE_MENU_RUNNING_FINISHED to RARCH_CMD_RESUME 2014-09-14 15:37:47 +02:00
twinaphex
fe49a0fe40 Some control flow changes 2014-09-14 15:32:32 +02:00
twinaphex
e9c865f56a Create main_entry_decide to delegate decisionmaking process of
what to bind frontend_loop to
2014-09-14 15:23:40 +02:00
Timo Strunk
aeb849b109 Defer core now realizes whether something is compressed or not 2014-09-12 17:48:35 +02:00
Timo Strunk
11b63cbe3d Merge remote-tracking branch 'upstream/master' into zip_support 2014-09-12 17:06:41 +02:00
Timo Strunk
5ad5a1b6a9 Removed general zip support flags again. 2014-09-12 17:04:14 +02:00
twinaphex
3863fe1e95 Add RARCH_ACTION_STATE_FORCE_QUIT 2014-09-12 05:14:43 +02:00
twinaphex
d96de429ea (Menu) Add RARCH_CMD_LOAD_CONTENT_PERSIST 2014-09-12 05:01:24 +02:00
twinaphex
e6328090e9 (Shaders) Fix build 2014-09-12 00:22:13 +02:00
twinaphex
c24e18910f Put ifdef around gfx_shader_parse_type 2014-09-12 00:20:46 +02:00
twinaphex
d848a0c5a6 Get rid of one unnecessary HAVE_MENU ifdef 2014-09-09 23:20:04 +02:00
twinaphex
65a2b0c900 Move/rename menu_update_system_info to rarch_update_system_info 2014-09-07 07:12:10 +02:00
twinaphex
707b954947 Move menu_save_new_config to rarch_main_command 2014-09-06 22:11:23 +02:00
twinaphex
fface89461 Move/rename menu_replace_config to retroarch.c (rarch_replace_config) 2014-09-06 22:05:33 +02:00
Lioncash
ab1ab62a6d Fix some printf specifiers to the correct signed-ness 2014-09-05 19:43:32 -04:00
twinaphex
125f256c5e (Menu) Refactor menu_content_history_push_current 2014-09-05 19:56:23 +02:00
twinaphex
1426e705c9 (Frontend) Go through frontend_loop function pointer 2014-09-05 16:08:03 +02:00
twinaphex
ca1066d60e Refactor CLEAR_INPUT 2014-09-05 05:57:27 +02:00
twinaphex
f7e1cb870f (Menu) Immediately apply changes to shader parameters 2014-09-05 03:44:19 +02:00
twinaphex
514e454f16 Bump up max players to 16 2014-09-04 16:15:49 +02:00
twinaphex
0f12c67054 (Deferred core) Fix direct loading of deferred core 2014-09-04 05:10:44 +02:00
twinaphex
2574816473 (main_set_state) More refactoring 2014-09-03 18:46:17 +02:00
twinaphex
d539bed82c Hide more manipulation of lifecycle_state behind rarch_main_set_state
function
2014-09-03 18:36:46 +02:00
twinaphex
51ed93d703 Start creating separate function that affects the lifecycle state -
rarch_main_set_state
2014-09-03 18:16:49 +02:00
twinaphex
74ddc9c3b7 Go through rarch_main_command instead of directly manipulating
g_extern.lifecycle_state
2014-09-03 16:55:56 +02:00
twinaphex
c92269dedf Move core_info/core_info_current to global 2014-09-03 14:57:29 +02:00
twinaphex
55aa477232 Move rarch_defer_core to retroarch.c 2014-09-03 06:23:44 +02:00
twinaphex
bc1358a021 Refactor load_menu_content_history 2014-09-03 00:14:02 +02:00
Timo Strunk
0c4c749f81 Added commandline 7z support 2014-09-02 17:05:15 +02:00
Twinaphex
040b3523c4 Move more strings to intl/english.h 2014-09-02 06:20:31 +02:00
twinaphex
8a405fa611 (retroarch.c) cleanups 2014-09-02 03:21:33 +02:00
twinaphex
f085056d8a (retroarch.c) refactor rarch_save_state/rarch_load_state 2014-09-02 03:06:45 +02:00
twinaphex
d50fb2802a (retroarch.c) Cleanups 2014-09-02 02:55:43 +02:00
twinaphex
4a1e240936 (retroarch.c) Cut down on code duplication 2014-09-02 02:31:57 +02:00
twinaphex
cb3e844b93 Go through RETRO_FRONTEND define for RetroArch string 2014-09-02 02:09:54 +02:00
twinaphex
0b49d99620 Move more strings to intl 2014-09-02 02:02:39 +02:00