43 Commits

Author SHA1 Message Date
bulzipke
8adc24ecbc
(3DS) Add bottom screen menu (#12470)
* (3DS) Add bottom screen menu
 -> User can save/load state on botom screen with thumbnail.
 -> Call a save_state_to_file() when RAM state has data to write a disk.
 -> If the bottom screen needs updating, swap the bottom framebuffers.

Add: SAVE/LODE STATE TO RAM
 -> This is useful for devices with slow I/O
 -> 3DS bottom save state use CMD_EVENT_SAVE_STATE_TO_RAM
 -> 3DS bottom load state use CMD_EVENT_LOAD_STATE when RAM state has no data
 -> 3DS bottom load state use CMD_EVENT_LOAD_STATE_FROM_RAM when RAM sate has data

* Rewrite path_get_state to retroarch_get_current_savestate_path

* Fix unterminated state_path
2021-09-03 18:14:03 +02:00
Justin Weiss
91c695ac52 [3DS] Allow sideways screen rotation 2020-10-27 21:13:19 -07:00
twinaphex
67898f5d12 (Font drivers) Simplifications 2020-06-24 21:27:47 +02:00
twinaphex
9cb4d924cb Revert "(drivers_font) Cut down on unnecessary strlen calls within a for loop"
This reverts commit 3e9d0b875835dba8452d18cf36bc0f9e4e46517a.
2020-06-24 21:09:44 +02:00
twinaphex
3e9d0b8758 (drivers_font) Cut down on unnecessary strlen calls within a for loop
- precompute once for function duration
2020-06-24 20:52:39 +02:00
Guo Yunhe
e9916df9d0 Change keys to upper case 2020-06-02 10:28:00 +03:00
jdgleaver
a305a48a11 (3DS) Fix font driver 2020-05-04 16:57:44 +01:00
jdgleaver
6c49ae5152 (WiiU/3DS) Fix font driver horizontal text alignment 2020-04-20 16:20:21 +01:00
jdgleaver
73bcd7a692 Enable correct vertical alignment of text (+ font rendering fixes) 2020-03-31 16:55:22 +01:00
twinaphex
f4c5036c3c Get rid of video_frame_info dep for fonts 2020-03-10 03:24:59 +01:00
twinaphex
a395bf9355 (Drivers font) Start getting rid of video_frame_info dependency 2020-03-09 21:56:03 +01:00
twinaphex
43feea3496 (Drivers font) Add parameter 2020-03-09 21:34:14 +01:00
twinaphex
6505080d64 (gfx drivers font) Get rid of as many video_frame_info
dependencies as possible
2020-03-07 20:48:26 +01:00
twinaphex
be861cf55d (gfx drivers font) Reduce dependency on video_frame_info 2020-03-07 20:11:39 +01:00
twinaphex
2e034c1574 (gfx/drivers_font) header cleanups 2020-03-05 14:01:34 +01:00
twinaphex
ee3208ac39 Integrate video_driver.c into retroarch.c 2019-06-17 15:10:22 +02:00
jdgleaver
54e1711f9a (3DS) Sanitise/Improve display mode selection 2019-04-15 17:05:55 +01:00
jdgleaver
4065dbf18e (Menu Widgets) Fix text alignment issues for ctr, metal and vita2d drivers 2019-04-08 15:13:19 +01:00
natinusala
631f9e6b8e font driver: expose line height 2019-02-17 16:54:24 +01:00
orbea
bfc366decc Squeeze extra blank lines with cat(1).
Example:

find . -type f -iname '*.c' | while read -r i; do
  cat -s "$i" > "$i.new"
  mv "$i.new" "$i"
done
2019-01-08 11:04:58 -08:00
twinaphex
eb345019c2 Don't implement bind_block/flush_block for drivers that
don't implement it
2018-07-15 20:16:40 +02:00
twinaphex
0d39701145 Get rid of double void argument 2018-07-14 00:54:14 +02:00
twinaphex
4d1b4f905f Start adding OSD statistics - doesn't work yet for SDL2/SDL 2018-03-23 17:43:49 +01:00
twinaphex
070c09faec Avoid more pointer grabbing for video driver ptr 2018-02-16 20:42:37 +01:00
meepingsnesroms
5a4bd619ba Revert "Merge branch 'master' into master"
This reverts commit 4b68a21a7e17048ec5424ebbb7faa18d83c3fd53, reversing
changes made to 5e0f78e8a092c4a52c747493ae0badfec55282dd.
2017-12-25 18:27:59 -08:00
meepingsnesroms
bb7ee12766 Fix compile on new devkitARM 2017-12-16 19:20:43 -08:00
gblues
6904101c44 Clean up trailing whitespace
== DETAILS

Really simple code cleanup, because my editor flags trailing whitespaces
and it's pretty annoying.
2017-12-12 00:24:18 -08:00
twinaphex
5879e551a5 Pass video_info to font driver functions 2017-11-13 10:42:40 +01:00
twinaphex
b11620e1eb Add retro_timers.h/retro_math.h 2017-06-28 04:41:38 +02:00
twinaphex
affb259409 Pass video_driver_is_threaded return value to font driver init/free
functions
2017-01-25 14:47:24 +01:00
twinaphex
96c8ca5a09 Header update #1 2017-01-22 13:40:32 +01:00
twinaphex
2f175f1a15 Remove video_driver_get_size call in gfx/drivers_font 2017-01-19 22:03:59 +01:00
twinaphex
a42748f90f Get rid of more function invocations of video_driver_get_size 2017-01-19 16:40:20 +01:00
twinaphex
586654846a Buildfix 2017-01-19 16:33:02 +01:00
twinaphex
e0ff0541a2 Pass video_info pointer to font drivers 2017-01-19 16:30:40 +01:00
twinaphex
4a8cb5687a (ctr_font.c) use #if 0 blocks 2017-01-19 15:55:42 +01:00
twinaphex
c875d95f7a Revert "Free font data inside gfx/font_driver.c's free function"
This reverts commit b3f1bbc15e8f8c08531c3661041d0ded9bfeca51.
2017-01-14 21:02:30 +01:00
twinaphex
b3f1bbc15e Free font data inside gfx/font_driver.c's free function 2017-01-14 14:26:56 +01:00
twinaphex
52ad8fb125 (gfx/drivers_font) Style nits 2017-01-12 10:26:12 +01:00
aliaspider
c78f697c16 (3DS) wrap texture coordinate swizzeling in a function. 2016-10-10 22:22:08 +01:00
aliaspider
4729c2be76 (3DS) font renderer: prevent calling DrawArray() with count==0. 2016-10-08 04:24:32 +01:00
aliaspider
056224bf50 (3DS) avoid using ctrGuCopyImage during font init for now. (fixes freeze
on cia builds)
2016-09-30 16:16:18 +01:00
aliaspider
afd5e85a31 (3DS) add experimental font and menu_display drivers. 2016-09-29 20:14:12 +01:00