twinaphex
29aed58e4e
Refactor MODE_LOAD_GAME
2014-09-21 06:50:10 +02:00
twinaphex
7056c9ca39
Refactor MENU_CLEAR_INPUT
2014-09-21 06:41:47 +02:00
twinaphex
9dc35b056f
Refactor MODE_MENU_PREINIT code
2014-09-21 06:33: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
Higor Eurípedes
e15c683b44
(frontend.c) Fix include
2014-09-15 17:48:11 -03:00
Higor Eurípedes
b6dd4df368
(frontend) Add support for frontend specific video drivers
2014-09-15 16:48:55 -03:00
Higor Eurípedes
83b6aeb6cc
Fix C++ build linkage
2014-09-15 13:14:19 -03:00
twinaphex
89676e8424
Add Playlist Directory path setting
2014-09-15 04:12:41 +02:00
twinaphex
aae73438de
Simplify frontend.c entry functions
2014-09-14 16:36:15 +02:00
twinaphex
2284395c4d
Get rid of frontend_loop
2014-09-14 16:29:09 +02:00
Twinaphex
cb1eea1ec2
Add logging to main_entry_decide
2014-09-14 16:08:28 +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
Lioncash
64272ef327
Squash some more potential null pointer dereferences
2014-09-11 23:04:02 -04:00
twinaphex
2c61fdcc7f
(Menu) Refactor away load_menu_content_prepare
2014-09-06 21:52:44 +02:00
twinaphex
fdbe3337c2
Take out some unnecessary includes
2014-09-06 21:52:44 +02:00
twinaphex
24500dfeb5
(Android) Build fixes
2014-09-06 03:39:37 +02:00
twinaphex
125f256c5e
(Menu) Refactor menu_content_history_push_current
2014-09-05 19:56:23 +02:00
twinaphex
1111bd2f6d
(Menu) Move early return when core is a dummy to menu_history_push_current
...
function
2014-09-05 18:21:03 +02:00
twinaphex
e4681e0013
Make it possible to compile without HAVE_MENU defined
2014-09-05 18:14:00 +02:00
twinaphex
a66b16c862
(frontend.c) Cleanup non-HAVE_MENU codepath
2014-09-05 18:05:46 +02:00
twinaphex
4569b4f32c
Refine frontend_loop some more
2014-09-05 16:34:37 +02:00
twinaphex
1426e705c9
(Frontend) Go through frontend_loop function pointer
2014-09-05 16:08:03 +02:00
twinaphex
f495170f3a
(frontend.c) Cleanups
2014-09-05 06:08:48 +02:00
twinaphex
ca1066d60e
Refactor CLEAR_INPUT
2014-09-05 05:57:27 +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
ba8f817587
(Frontend) Go through rarch_main_command
2014-09-03 17:01:06 +02:00
twinaphex
bc611b8cc1
(Menu) Add MENU_FILE_PLAYLIST_ENTRY
2014-09-02 23:42:40 +02:00
twinaphex
76591ecc9f
(frontend.c) build fix - missing return statement
2014-09-02 17:24:52 +02:00
twinaphex
af3e648a42
(frontend.c) Get rid of some extraneous elses in frontend.c
2014-09-02 17:13:43 +02:00
twinaphex
4a2d3cbd4b
Cleanups - 80-char limit
2014-09-02 05:32:04 +02:00
twinaphex
e6472b5a72
Move MAX_ARGS define to frontend.c
2014-08-27 01:08:29 +02:00
twinaphex
51637bc69e
Code reformatting to abide by 80-character limit
2014-08-20 16:26:34 +02:00
twinaphex
c706644c05
(Menu) Go through RARCH_CMD_VIDEO_SET_BLOCKING_STATE
2014-08-16 18:49:06 +02:00
twinaphex
823be1ce41
Get rid of more driver_funcs macros
2014-08-15 20:51:59 +02:00
twinaphex
2cb8d06c7a
Move config_save_on_exit to g_settings
2014-08-12 03:36:26 +02:00
twinaphex
30db4df19e
Rename more references to 'ROMs'
2014-08-12 03:22:44 +02:00
twinaphex
91bad2b25d
(PS3) Build fixes
2014-08-09 03:25:11 +02:00
twinaphex
901b5361fd
Build fix
2014-08-03 02:44:21 +02:00
twinaphex
675b8370e3
Refactor main_load_content
2014-08-03 02:09:41 +02:00
twinaphex
1ce72b3859
(Android) Fix build
2014-08-03 00:00:41 +02:00
twinaphex
3e8715c3f3
Cleanup main_entry_iterate_load_content
2014-08-02 19:00:34 +02:00
twinaphex
671be27367
Move code to load_menu_content
2014-08-02 18:41:43 +02:00
twinaphex
d376fbe8c4
Cleanups
2014-08-02 13:50:56 +02:00
twinaphex
53ae4cd72c
Refactor audio stop/start
2014-08-02 12:08:53 +02:00
twinaphex
6a0c3ff25d
Refactor more functions - make more functions in retroarch.c static
...
that don't need to be public
2014-08-02 01:49:36 +02:00
twinaphex
8285f6021f
Refactor away rarch_main_idle_iterate
2014-08-01 17:57:14 +02:00
twinaphex
f958587a57
Rename load_menu_game to load_menu_content
2014-07-28 01:55:59 +02:00
twinaphex
86f2ef2ae8
Get rid of free_args
2014-07-28 01:28:48 +02:00
twinaphex
458e4d83f4
Make load_menu_game_prepare a static function and call it from
...
load_menu_game
2014-07-28 01:00:16 +02:00
twinaphex
1175ced819
(Frontend.c) Some more cleanups
2014-07-28 00:31:20 +02:00
twinaphex
1dfccb84e1
Refactor menu_load_game and the content loading routine in
...
frontend.c
2014-07-28 00:18:05 +02:00
twinaphex
e104698f7e
Refactor load_menu_game/main function some more
2014-07-27 20:24:06 +02:00
twinaphex
b0490c4f8c
Build fix
2014-07-27 17:17:23 +02:00
Twinaphex
b67b481f1c
(Frontend/Menu) start refactoring load_menu_game
2014-07-27 08:17:38 +02:00
twinaphex
24f0dcc550
Refactor away load_menu_game_prepare_dummy
2014-07-25 22:11:34 +02:00
twinaphex
fe58051bce
Backport ToadKing - (Emscripten) Build fix
2014-07-23 07:18:27 +02:00
twinaphex
cd89a37682
(Emscripten) Refactor platform_emscripten.c - ToadKing - test
...
if this still works
2014-07-22 05:07:40 +02:00
twinaphex
87a21b2e13
Rename ROM history to Content history
2014-07-22 05:01:35 +02:00
Twinaphex
5303e1f094
(Apple) Have apple_rarch_load_content just call rarch_main
2014-07-21 07:41:11 +02:00
twinaphex
6f32841647
Rename g_extern.verbose to g_extern.verbosity to avoid
...
collisions on OSX
2014-07-18 00:39:31 +02:00
twinaphex
97a262dd60
Rename default_paths to g_defaults
2014-06-12 18:06:29 +02:00
twinaphex
29d6856244
Take out duplicate freeing of log_file
2014-06-10 19:39:46 +02:00
twinaphex
5ac449f564
(RARCH_MOBILE) Set default overlay to retropad
...
(Frontend) Change preprocessor conditional to RARCH_MOBILE instead of __QNX__
2014-06-10 19:13:54 +02:00
twinaphex
a7cb3e22a7
(Menu) Replace some more RGUI strings
2014-06-10 02:44:19 +02:00
twinaphex
faea453a0b
(Salamander) Refactorings - Salamander should be easier to get to
...
work now on new console platforms
2014-06-05 06:12:41 +02:00
twinaphex
97c6ae0911
Change return type of process_args to void
2014-06-03 20:03:56 +02:00
Themaister
852e632862
Fix some dubious code in frontend/frontend.c.
2014-06-03 11:36:09 +02:00
twinaphex
b5ab16fa53
(PS3) Starts working with new argc/argv building - only
...
broken usecase right now is Core Selection - we'll have to
mess directly with argc/argv for fixing that one - pretty
similar issue to the one on the Wii
2014-06-03 06:37:57 +02:00
twinaphex
29a3a46e73
Setup main_entry and environment_get for proper building of
...
argc/argv for console/mobile ports with non-conformant argc/argv
input values
2014-06-03 03:35:12 +02:00
twinaphex
83174b51c4
Correct 'ret' return of process_args at least - 0 is for content
...
being loaded, 1 is if content is not loaded
2014-06-02 22:58:28 +02:00
twinaphex
12a63a7bc8
(Frontend) Push load game history when process_args returns 1 for
...
console/mobile
2014-06-02 21:44:02 +02:00
twinaphex
7014b703ba
Revert "Always do menu_push_history_current when starting with content"
...
This reverts commit 30ce741f98
.
2014-06-02 18:15:26 +02:00
twinaphex
30ce741f98
Always do menu_push_history_current when starting with content
2014-06-02 18:01:18 +02:00
twinaphex
a26bb62a56
(PS3) Add some HAVE_OPENGL ifdefs for platform_ps3.c
2014-06-02 09:37:26 +02:00
twinaphex
001d6e8897
Get rid of PERF_TEST entirely - if Performance Counters setting is
...
enabled, will also report performance counters log at exit
2014-06-01 22:16:22 +02:00
twinaphex
07592eaf63
Don't use rgui_handle_t pointer in GX video code and frontend.c
2014-06-01 15:59:39 +02:00
twinaphex
908164868f
Make 'argc' into int pointer so that we can modify argc inside
...
get_environment callback
2014-06-01 05:56:38 +02:00
twinaphex
237ac1aa56
Add default_paths.audio_filter_dir
2014-06-01 05:52:16 +02:00
twinaphex
4d63b1d391
Move default_paths to settings.c
2014-06-01 05:06:55 +02:00
twinaphex
6fa7e1894e
(GX) Move Wii-specific hack done to argc/argv to environment_get
...
function (platform_gx.c)
2014-06-01 04:42:32 +02:00
twinaphex
08c8e5fb5f
Reduce amount of includes for rarch_console.h
2014-06-01 03:08:26 +02:00
Themaister
206ea8012f
Don't completely reinit menu driver unless we're killing Rarch.
2014-05-31 23:54:07 +02:00
Toad King
d77c551aad
[WII] fix loaders/history/core detect
2014-05-31 16:27:35 -04:00
twinaphex
521c5e077f
(Frontend) Add init_msg_queue after rarch_main_clear_state
2014-05-31 16:31:03 +02:00
twinaphex
7ee81ef4d5
Build fix
2014-05-31 08:17:18 +02:00
twinaphex
da51530f0e
(RARCH_CONSOLE) Setup default_paths properly
2014-05-31 08:15:57 +02:00
Toad King
8d7bbdce95
frontend.c cleanup
2014-05-30 20:21:23 -04:00
twinaphex
b2d9c60613
(Menu) Don't pass menu data to menu_iterate
...
(Menu) Don't pass menu data to backend - postprocess
2014-05-30 20:53:10 +02:00
twinaphex
c57f780d9f
(Menu) Start undoing passing rgui pointer to every menu-related
...
function - the only functions where it should actually pass a
pointer instead of just grabbing a pointer from menu.driver should
be in the menu init/deinit functions
2014-05-30 19:34:01 +02:00
twinaphex
af440bf545
(Menu) Menu now gets inited from driver.c instead of frontend.c
...
(Console) Better way to 'restart' instead of using the function
'restart' - call rarch_set_fullscreen instead. 'Restart' function
in driver interface can go now
(Menu) Menu now gets properly deinited/reinited when - say -
rarch_set_fullscreen is toggled or some other state change like this.
If init_assets function of menu_ctx_driver is implemented, this should
ensure all GL/D3D assets get 'cleaned up' prior to teardown of the video
driver, and properly reinited after the video driver is brought up again
2014-05-30 17:49:04 +02:00
twinaphex
b0b9599822
(Frontend) More cleanups
2014-05-28 22:44:25 +02:00
twinaphex
14c81f13c9
(Frontend) Remove attempt_load_game variable
2014-05-28 22:20:08 +02:00
twinaphex
d70b8a0f15
Get rid of global driver init/uninit bullshit - we're going to do
...
console initing/deiniting properly once and for all
2014-05-28 22:09:42 +02:00
twinaphex
1416e47195
(Console) Should bring up menu context in case it fails the first time
2014-05-27 19:21:44 +02:00
twinaphex
701a805737
(Playbook) Fixes Playbook build
2014-05-20 02:33:09 +02:00
twinaphex
d62164c4ae
(BB10) Build fixes
...
(General) Fix some unused variable warnings
2014-05-17 22:16:25 +02:00
twinaphex
8821a54aba
put frontend_ctx variable into driver struct
2014-05-13 20:23:36 +02:00
twinaphex
10c801b64e
Take out MODE_EXIT
2014-05-12 16:01:00 +02:00