Commit graph

532 commits

Author SHA1 Message Date
kub
9ba0831411 add 2x overlay for SDL to improve color resolution 2020-07-02 09:34:11 +02:00
kub
a7a40556a9 add more host disassembler platforms for picodrive DRC 2020-07-02 09:32:08 +02:00
kub
006478c4f3 font array size adaption to avoid a compiler warning in picodrive 2020-07-02 09:30:56 +02:00
notaz
795b71c571 deal with some gcc7+ warnings 2019-12-07 21:38:32 +02:00
notaz
f8cd6a082b fix some pointer arithmetic 2018-01-28 19:58:52 +02:00
notaz
2b27288eb4 add a pitch variable 2017-12-24 15:42:20 +02:00
notaz
21082d0b2b x86_64 support for host_dasm 2017-12-11 02:51:29 +02:00
notaz
f287890d65 don'r check d_name
d_name is not a pointer, just like clang warns
2017-10-14 02:12:21 +03:00
notaz
448ec62f85 retry with mmap when mremap fails 2017-10-06 01:23:03 +03:00
Nolan "Tempa Kyouran" Varani
e7f580052c Prevent segfault in draw_key_config (#2)
Its calculated `y` value can dip below zero
This causes a segfault if used as an argument of `text_out16`
2017-09-30 15:17:30 +03:00
notaz
21604a0479 input: bugfix in defbind check 2015-11-08 18:22:33 +02:00
notaz
0415ebf191 oss: use other sync macro
for compatibility with OSSv4
2015-08-29 01:20:17 +03:00
notaz
26ea18173c plat: avoid MAP_FIXED 2015-03-25 00:38:13 +02:00
notaz
9fec8a91c9 input: only set default binds when probing
otherwise if device is missing, but it's config is loaded,
binds get messed up
2015-02-03 01:31:41 +02:00
notaz
9b87077e93 alsa: don't leak memory 2015-02-03 01:27:18 +02:00
notaz
515ac0b9d2 improve handling of dirents without d_type set 2014-12-24 04:21:19 +02:00
notaz
d1453cf7e6 fix a buffer overflow 2014-04-05 22:06:40 +03:00
notaz
8b4363e302 fix gp2x build 2013-10-11 01:04:24 +03:00
notaz
af7e50060f handle no home and buf overflow 2013-10-10 02:44:10 +03:00
notaz
62e581e179 Merge pull request #1 from pcercuei/for_upstream 2013-10-09 16:43:16 -07:00
Paul Cercueil
87dc66a025 Allow one key to have multiple actions 2013-10-07 20:42:08 +02:00
Paul Cercueil
d685ce4625 Allow the platform code to override the key names 2013-10-07 20:41:22 +02:00
Paul Cercueil
c19e28f626 Let the platform code deliver the key mappings 2013-10-07 19:34:04 +02:00
Paul Cercueil
17def48f1f SDL video: Use a hardware surface and double buffering 2013-10-07 17:11:03 +02:00
Paul Cercueil
3e0af0815a SDL sound: Reduce considerably sound latency 2013-10-07 17:10:35 +02:00
Paul Cercueil
c52e6628cd Introduce plat_get_skin_dir and update plat_get_root_dir functions
On GP2X and Pandora, plat_get_root_dir points to the directory
in which the PicoDrive executable is found. On regular Linux,
it now points to the '.picodrive' directory inside the user's home
folder.

plat_get_skin_dir now points to the 'skin' directory inside the
data directory.

The data directory can be set with PICO_DATA_DIR at compile time.
If that variable is not set, the data directory is set to the
directory of the PicoDrive executable.
2013-10-07 17:09:09 +02:00
notaz
39014486f9 gp2x: pollux: various fixes 2013-10-04 03:21:40 +03:00
notaz
9a5a0dc9ff gp2x: pollux: bring back ram timings 2013-10-04 03:21:40 +03:00
notaz
11166a22ce soc_pollux: fix clkgen masks 2013-09-26 04:04:07 +03:00
notaz
1bc471ebf1 pandora: add tv layer selection helper 2013-09-24 00:46:25 +03:00
Victor Luchits
18306c325f Properly handle multiple joysticks 2013-09-14 01:14:51 +03:00
notaz
d1f5849cf4 don't use a and s for menu functions
leave them for rom seeking
2013-09-08 21:25:29 +03:00
notaz
ec90b02137 fix deadlock on list seek 2013-09-08 21:05:28 +03:00
notaz
9028744c19 alsa: some stop handling 2013-09-01 18:37:30 +03:00
notaz
9089665ca1 fix list seeking, add autoload option 2013-08-31 00:49:52 +03:00
notaz
7ceadd9993 GP2X updates
video stuff moved out as it's project specific..
2013-08-28 01:05:29 +03:00
notaz
c54d04fd84 add disassembler reg-names-std option 2013-08-10 19:44:14 +03:00
Grazvydas Ignotas
cab9194354 fix clang warnings
so that they don't annoy me
2013-07-29 01:54:51 +03:00
Grazvydas Ignotas
ebf0e111a8 rm unused preprocessor checks 2013-07-28 02:49:51 +03:00
Grazvydas Ignotas
8ef1ad3218 readpng: put image on center if it's too large 2013-06-29 03:28:51 +03:00
Grazvydas Ignotas
6282e17ef5 add plat_mem_set_exec() 2013-06-28 03:17:32 +03:00
Grazvydas Ignotas
c2981fc0ee make cache_flush_ not const, because syscalls are usually not 2013-06-27 03:33:00 +03:00
Grazvydas Ignotas
b57ed12e39 dodge a warning 2013-06-25 01:32:48 +03:00
Grazvydas Ignotas
32d23d03ac add preliminary alsa driver too 2013-06-25 01:32:48 +03:00
Grazvydas Ignotas
26d3ca0d29 support multiple sound drivers, add sdl 2013-06-23 22:23:57 +03:00
Grazvydas Ignotas
20b143089c fix corruption on empty sel_fname 2013-06-23 02:28:08 +03:00
Grazvydas Ignotas
7bf7acb6d6 allow multi-include on some headers 2013-06-16 02:57:00 +03:00
notaz
da0cc55643 sdl: use overlay on native bpp window 2013-03-14 01:02:54 +02:00
notaz
f4750ef3f5 plat: don't give up on hugetlb fail
some free memory might appear over time
2013-03-14 00:19:42 +02:00
notaz
cceadf4cd4 gl_platform: avoid direct xlib dependency
some people want to run this without X
2013-02-08 01:44:00 +02:00