35 Commits

Author SHA1 Message Date
aliaspider
ac119b04f6 (CTR/3DS) improve memory management.
- use a custom crt0 to allow overriding __heap_size and
__linear_heap_size
- add a setting for maximum heap size. unallocated memory can be freely
mapped by the core.
- add better detection of the extra memory available when running from
the HBL.
2015-10-22 20:35:22 +01:00
aliaspider
9fbb790404 (CTR/3DS) heap_size can't be bigger than 0x6000000. 2015-10-21 01:38:04 +01:00
aliaspider
3e4f38a38e (CTR/3DS) allow changing cpu speed on n3DS at runtime.
set cpu speed to max by default.
2015-10-20 23:52:52 +01:00
aliaspider
8cc805c38a (CTR/3DS) reduce memory usage.
build fix.
2015-10-20 12:34:53 +01:00
twinaphex
776707577b Use menu_entries_push 2015-10-17 17:14:41 +02:00
jakcron
e798377492 (CTR/3DS) Enabled access to more memory.
o3DS can get access to 80MB max, and n3DS can get access to 124MB
(actually 110MB due to ctrulib issues). Since 80MB triggers a reboot for
o3DS, it is only set in titles that need it.
2015-10-17 14:13:07 +08:00
aliaspider
b7be1862a3 (CTR/3DS) increase the default size of the linear heap.
makefile: allow changing stack/linear heap size without requiring a
clean.
2015-10-05 21:45:17 +01:00
aliaspider
b9978317cc (CTR/3DS) video driver: increase texture width. 2015-10-04 19:22:23 +01:00
aliaspider
71efe15bce (CTR/3DS) don't turn off the LCD for 2DS models. 2015-10-03 19:37:01 +01:00
aliaspider
6528c71e3a (CTR/3DS) don't query APPMEMALLOC when started from the HBL. 2015-10-02 01:45:34 +01:00
aliaspider
5e05ad443a (CTR/3DS) allow access for more RAM. (.cia builds only)
124MB are used by default for n3DS.
80MB can be used on o3DS with a build option.
2015-10-01 23:18:59 +01:00
aliaspider
63ab3b02b8 (CTR/3DS) shut down the LCD backlight when toggling the buttom display
off.
courtesy of @thedax.
2015-10-01 18:12:59 +01:00
aliaspider
e2037c477e (CTR/3DS) build fix. 2015-09-28 14:55:23 +01:00
twinaphex
5465da0139 Rename rarch_sleep to retro_sleep 2015-09-22 18:55:14 +02:00
aliaspider
4c34badf8b (CTR/3DS) improve memory management.
only stacksize and linear heap size need to be specified now.
regular heap size will be determined automatically.
2015-09-20 21:46:10 +01:00
aliaspider
a5b61354f0 (CTR/3DS) fix build. 2015-09-20 07:48:16 +01:00
aliaspider
d968731c70 (CTR/3DS) memory allocation can now be configured from the makefile.
defaults to 48MBytes for the heap instead of 24MBytes.
2015-09-20 07:28:11 +01:00
aliaspider
e2c9b19faa (CTR/3DS) implement some missing toolchain functions required by some
cores.
will be moved to a seperate file later.
2015-09-19 11:12:48 +01:00
radius
b6207b9b76 [3ds] add remap dir to defaults 2015-09-15 10:19:48 -05:00
radius
2b829a3c47 [3ds] add remap dir to defaults 2015-09-15 10:17:01 -05:00
twinaphex
e0c7d0905d Header cleanups 2015-09-15 04:49:10 +02:00
aliaspider
3733956fd0 (CTR/3DS) update makefile.ctr
- move per-core build settings to a seperate file.
- make the griffin build optional (enabled by default).
2015-09-13 22:33:35 +01:00
twinaphex
a70f09a90d Rearrange structs 2015-07-27 17:18:10 +02:00
twinaphex
cdef82b185 Make late binding possible for frontend drivers
(PS3) Fix shutdown/quit hang - now we have to fix exitspawn instead
2015-07-27 03:44:28 +02:00
twinaphex
e8914563d8 Change "core_assets" dir to "downloads" 2015-07-04 21:44:02 +02:00
twinaphex
362d8025d8 Add g_defaults.core_assets_dir 2015-07-04 04:47:14 +02:00
twinaphex
a2c8f89137 Create frontend->parse_drive_list 2015-06-15 22:45:02 +02:00
twinaphex
a2195e8cdf Create frontend get_architecture function callback 2015-04-18 20:03:59 +02:00
twinaphex
88692cbb07 (CTR) Use rarch_sleep and some style nits 2015-04-18 17:34:14 +02:00
twinaphex
b721389234 Create 'get_powerstate' function for frontend driver 2015-04-18 13:56:40 +02:00
aliaspider
301309304a (3DS) implement the audio driver. 2015-04-10 19:10:34 +01:00
twinaphex
a707c24232 Add 'get_os' function pointer to frontend driver 2015-04-07 22:49:00 +02:00
aliaspider
14ac3fe250 (3DS) use touch for menu toggle.
keep console visible on exit until start is pressed.
2015-04-05 20:39:18 +01:00
twinaphex
5612545b25 (CTR/3DS) Update copyright headers 2015-04-02 01:43:28 +02:00
aliaspider
2045cee432 preliminary 3DS port. 2015-04-01 22:14:13 +01:00