libpicofe.git
21 months agoMerge pull request #12 from irixxxx/master
notaz [Mon, 30 Jan 2023 21:13:58 +0000 (23:13 +0200)]
Merge pull request #12 from irixxxx/master

some accumulated fixes

21 months agoMerge remote-tracking branch 'notaz/master'
kub [Sun, 29 Jan 2023 19:37:03 +0000 (19:37 +0000)]
Merge remote-tracking branch 'notaz/master'

21 months agofix menu key handling in file selector
kub [Thu, 26 Jan 2023 21:00:48 +0000 (21:00 +0000)]
fix menu key handling in file selector

21 months agofix hang if seeking for letter in file selector
kub [Wed, 25 Jan 2023 22:09:22 +0000 (22:09 +0000)]
fix hang if seeking for letter in file selector

2 years agoenable use of current pspdev sdk
kub [Thu, 29 Sep 2022 23:13:49 +0000 (23:13 +0000)]
enable use of current pspdev sdk

2 years agofix sdl overlay not locked for clearing
kub [Wed, 28 Sep 2022 18:55:29 +0000 (18:55 +0000)]
fix sdl overlay not locked for clearing

2 years agofix off-by-1 in directory listing search
kub [Fri, 16 Sep 2022 20:06:24 +0000 (20:06 +0000)]
fix off-by-1 in directory listing search

2 years agoadd some support for handling redraw events
kub [Fri, 16 Sep 2022 17:08:34 +0000 (17:08 +0000)]
add some support for handling redraw events

2 years agomake gl layer reinitializable
kub [Fri, 16 Sep 2022 17:07:14 +0000 (17:07 +0000)]
make gl layer reinitializable

2 years agoMerge branch 'irixxxx'
notaz [Sat, 10 Sep 2022 13:57:39 +0000 (16:57 +0300)]
Merge branch 'irixxxx'

2 years agofbdev: wait vsync after mode change, not before
notaz [Sun, 13 Mar 2022 23:17:09 +0000 (01:17 +0200)]
fbdev: wait vsync after mode change, not before

As it was before we were getting a full frame scanout of the old mode,
while the emu (or whatever) was already writing a frame in new mode.

first_write_to_front is a hack for psx.

2 years agofbdev: don't clear more than needed
notaz [Sun, 13 Mar 2022 23:15:51 +0000 (01:15 +0200)]
fbdev: don't clear more than needed

it wastes time for something like psx that may change modes ingame

2 years agofix regression selecting SDL window size (for hw scaling)
kub [Sun, 6 Mar 2022 18:25:56 +0000 (18:25 +0000)]
fix regression selecting SDL window size (for hw scaling)

2 years agofix a buffer overflow
kub [Fri, 4 Mar 2022 19:39:44 +0000 (19:39 +0000)]
fix a buffer overflow

2 years agoreduce SDL_Setvideo calls to avoid flickering with TRIPLEBUF
kub [Fri, 4 Mar 2022 19:38:41 +0000 (19:38 +0000)]
reduce SDL_Setvideo calls to avoid flickering with TRIPLEBUF

2 years agoadd basic fullscreen support to SDL window mode
kub [Fri, 4 Mar 2022 19:37:27 +0000 (19:37 +0000)]
add basic fullscreen support to SDL window mode

2 years agoMerge pull request #11 from jSTE0/overlay-lock
notaz [Tue, 1 Mar 2022 20:10:12 +0000 (22:10 +0200)]
Merge pull request #11 from jSTE0/overlay-lock

sdl: lock YUV overlay before clearing

2 years agosdl: lock YUV overlay before clearing
jSTE0 [Mon, 28 Feb 2022 23:00:22 +0000 (23:00 +0000)]
sdl: lock YUV overlay before clearing

The pixels pointer is not valid otherwise and leads to a segfault.

2 years agoadd aspect ratio for sdl fullscreen
kub [Tue, 22 Feb 2022 20:43:51 +0000 (20:43 +0000)]
add aspect ratio for sdl fullscreen

2 years agosome disassembler fixes
kub [Tue, 22 Feb 2022 20:52:01 +0000 (20:52 +0000)]
some disassembler fixes

2 years agofix skin directory default
kub [Tue, 22 Feb 2022 20:49:37 +0000 (20:49 +0000)]
fix skin directory default

2 years agofix for 4 player support
kub [Tue, 22 Feb 2022 20:55:19 +0000 (20:55 +0000)]
fix for 4 player support

2 years agofix display of menu strings containing '%'
kub [Fri, 26 Mar 2021 21:45:04 +0000 (22:45 +0100)]
fix display of menu strings containing '%'

2 years agoadd support for 4 player inputs
kub [Wed, 26 Jan 2022 19:36:32 +0000 (19:36 +0000)]
add support for 4 player inputs

2 years agofix position of menu entries if length > 10
kub [Fri, 26 Mar 2021 19:06:43 +0000 (20:06 +0100)]
fix position of menu entries if length > 10

2 years agofix type usage for endianess in menu handling
kub [Fri, 26 Mar 2021 18:57:58 +0000 (19:57 +0100)]
fix type usage for endianess in menu handling

2 years agoadd minimal osx/ios compilastion support
kub [Mon, 22 Mar 2021 22:07:02 +0000 (23:07 +0100)]
add minimal osx/ios compilastion support

2 years agoadd SDL SWSURFACE support
kub [Mon, 22 Mar 2021 22:04:12 +0000 (23:04 +0100)]
add SDL SWSURFACE support

2 years agouse native byte order for audio
kub [Tue, 23 Feb 2021 22:23:32 +0000 (23:23 +0100)]
use native byte order for audio

2 years agocenter loaded background image in larger screen
kub [Mon, 8 Feb 2021 19:51:34 +0000 (20:51 +0100)]
center loaded background image in larger screen

3 years agoavoid a warning
notaz [Sun, 14 Nov 2021 21:37:17 +0000 (23:37 +0200)]
avoid a warning

3 years agosdl: don't try gl on remote displays
notaz [Sun, 31 Oct 2021 15:16:02 +0000 (17:16 +0200)]
sdl: don't try gl on remote displays

3 years agosdl: set initial pitch
notaz [Sun, 31 Oct 2021 14:36:36 +0000 (16:36 +0200)]
sdl: set initial pitch

3 years agoallow to opt out of HOME config path
notaz [Sun, 31 Oct 2021 14:33:02 +0000 (16:33 +0200)]
allow to opt out of HOME config path

pcsx_rearmed never used it so keep it this way there.

3 years agoMerge pull request #10 from irixxxx/master
notaz [Mon, 18 Jan 2021 17:12:19 +0000 (19:12 +0200)]
Merge pull request #10 from irixxxx/master

improved directory handling for menu, basic PSP support

3 years agoadd minimal PSP support
kub [Thu, 14 Jan 2021 20:57:13 +0000 (21:57 +0100)]
add minimal PSP support

3 years agoimprove directory handling in menu
kub [Thu, 14 Jan 2021 20:56:30 +0000 (21:56 +0100)]
improve directory handling in menu

3 years agoadd buffer parameters for menubg_src
kub [Thu, 14 Jan 2021 20:47:19 +0000 (21:47 +0100)]
add buffer parameters for menubg_src

4 years agofix SDL event handling of overlapping keystrokes
kub [Mon, 26 Oct 2020 19:15:23 +0000 (20:15 +0100)]
fix SDL event handling of overlapping keystrokes

4 years agofix menu input handling (timeout non-working)
kub [Thu, 22 Oct 2020 20:34:14 +0000 (22:34 +0200)]
fix menu input handling (timeout non-working)

4 years agofix SDL loosing one-shot key events for emulator keys
kub [Tue, 20 Oct 2020 20:49:34 +0000 (22:49 +0200)]
fix SDL loosing one-shot key events for emulator keys

4 years agoMerge pull request #8 from irixxxx/master
notaz [Tue, 13 Oct 2020 19:50:01 +0000 (22:50 +0300)]
Merge pull request #8 from irixxxx/master

improve SDL support (triple buffering, bugfix)

4 years agofix loading screen if loading rom from command line
kub [Sat, 10 Oct 2020 18:57:22 +0000 (20:57 +0200)]
fix loading screen if loading rom from command line

4 years agoadd triplebuffering support
kub [Sat, 10 Oct 2020 18:56:21 +0000 (20:56 +0200)]
add triplebuffering support

4 years agoMerge pull request #7 from irixxxx/master
notaz [Thu, 2 Jul 2020 21:08:59 +0000 (00:08 +0300)]
Merge pull request #7 from irixxxx/master

extensions for irixxxx/picodrive

4 years agoadd 2x overlay for SDL to improve color resolution
kub [Thu, 2 Jul 2020 07:34:11 +0000 (09:34 +0200)]
add 2x overlay for SDL to improve color resolution

4 years agoadd more host disassembler platforms for picodrive DRC
kub [Thu, 2 Jul 2020 07:32:08 +0000 (09:32 +0200)]
add more host disassembler platforms for picodrive DRC

4 years agofont array size adaption to avoid a compiler warning in picodrive
kub [Thu, 2 Jul 2020 07:30:56 +0000 (09:30 +0200)]
font array size adaption to avoid a compiler warning in picodrive

4 years agodeal with some gcc7+ warnings
notaz [Sat, 7 Dec 2019 19:38:32 +0000 (21:38 +0200)]
deal with some gcc7+ warnings

6 years agofix some pointer arithmetic
notaz [Sun, 28 Jan 2018 17:57:57 +0000 (19:57 +0200)]
fix some pointer arithmetic

6 years agoadd a pitch variable
notaz [Sat, 5 Apr 2014 19:02:55 +0000 (22:02 +0300)]
add a pitch variable

6 years agox86_64 support for host_dasm
notaz [Mon, 11 Dec 2017 00:51:29 +0000 (02:51 +0200)]
x86_64 support for host_dasm

7 years agodon'r check d_name
notaz [Fri, 13 Oct 2017 23:12:21 +0000 (02:12 +0300)]
don'r check d_name

d_name is not a pointer, just like clang warns

7 years agoretry with mmap when mremap fails
notaz [Thu, 5 Oct 2017 22:23:03 +0000 (01:23 +0300)]
retry with mmap when mremap fails

7 years agoPrevent segfault in draw_key_config (#2)
Nolan "Tempa Kyouran" Varani [Sat, 30 Sep 2017 12:17:30 +0000 (07:17 -0500)]
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`

9 years agoinput: bugfix in defbind check
notaz [Sun, 8 Nov 2015 16:19:22 +0000 (18:19 +0200)]
input: bugfix in defbind check

9 years agooss: use other sync macro
notaz [Fri, 28 Aug 2015 22:18:03 +0000 (01:18 +0300)]
oss: use other sync macro

for compatibility with OSSv4

9 years agoplat: avoid MAP_FIXED
notaz [Tue, 24 Mar 2015 22:38:13 +0000 (00:38 +0200)]
plat: avoid MAP_FIXED

9 years agoinput: only set default binds when probing
notaz [Mon, 2 Feb 2015 23:31:41 +0000 (01:31 +0200)]
input: only set default binds when probing

otherwise if device is missing, but it's config is loaded,
binds get messed up

9 years agoalsa: don't leak memory
notaz [Mon, 2 Feb 2015 23:27:18 +0000 (01:27 +0200)]
alsa: don't leak memory

9 years agoimprove handling of dirents without d_type set
notaz [Wed, 24 Dec 2014 02:21:19 +0000 (04:21 +0200)]
improve handling of dirents without d_type set

10 years agofix a buffer overflow
notaz [Sat, 5 Apr 2014 19:05:07 +0000 (22:05 +0300)]
fix a buffer overflow

11 years agofix gp2x build
notaz [Thu, 10 Oct 2013 22:04:24 +0000 (01:04 +0300)]
fix gp2x build

11 years agohandle no home and buf overflow
notaz [Wed, 9 Oct 2013 23:41:45 +0000 (02:41 +0300)]
handle no home and buf overflow

11 years agoMerge pull request #1 from pcercuei/for_upstream
notaz [Wed, 9 Oct 2013 23:43:16 +0000 (16:43 -0700)]
Merge pull request #1 from pcercuei/for_upstream

11 years agoAllow one key to have multiple actions
Paul Cercueil [Thu, 26 Sep 2013 12:56:25 +0000 (09:56 -0300)]
Allow one key to have multiple actions

11 years agoAllow the platform code to override the key names
Paul Cercueil [Mon, 7 Oct 2013 18:41:22 +0000 (20:41 +0200)]
Allow the platform code to override the key names

11 years agoLet the platform code deliver the key mappings
Paul Cercueil [Mon, 7 Oct 2013 17:34:04 +0000 (19:34 +0200)]
Let the platform code deliver the key mappings

11 years agoSDL video: Use a hardware surface and double buffering
Paul Cercueil [Sun, 22 Sep 2013 10:35:49 +0000 (07:35 -0300)]
SDL video: Use a hardware surface and double buffering

11 years agoSDL sound: Reduce considerably sound latency
Paul Cercueil [Sat, 21 Sep 2013 21:40:17 +0000 (18:40 -0300)]
SDL sound: Reduce considerably sound latency

11 years agoIntroduce plat_get_skin_dir and update plat_get_root_dir functions
Paul Cercueil [Mon, 7 Oct 2013 15:09:09 +0000 (17:09 +0200)]
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.

11 years agogp2x: pollux: various fixes
notaz [Fri, 4 Oct 2013 00:15:13 +0000 (03:15 +0300)]
gp2x: pollux: various fixes

11 years agogp2x: pollux: bring back ram timings
notaz [Fri, 4 Oct 2013 00:14:02 +0000 (03:14 +0300)]
gp2x: pollux: bring back ram timings

11 years agosoc_pollux: fix clkgen masks
notaz [Thu, 26 Sep 2013 01:04:07 +0000 (04:04 +0300)]
soc_pollux: fix clkgen masks

11 years agopandora: add tv layer selection helper
notaz [Mon, 23 Sep 2013 21:46:25 +0000 (00:46 +0300)]
pandora: add tv layer selection helper

11 years agoProperly handle multiple joysticks
Victor Luchits [Wed, 24 Jul 2013 19:03:22 +0000 (23:03 +0400)]
Properly handle multiple joysticks

11 years agodon't use a and s for menu functions
notaz [Sun, 8 Sep 2013 18:25:29 +0000 (21:25 +0300)]
don't use a and s for menu functions

leave them for rom seeking

11 years agofix deadlock on list seek
notaz [Sun, 8 Sep 2013 18:05:28 +0000 (21:05 +0300)]
fix deadlock on list seek

11 years agoalsa: some stop handling
notaz [Sun, 1 Sep 2013 15:37:30 +0000 (18:37 +0300)]
alsa: some stop handling

11 years agofix list seeking, add autoload option
notaz [Fri, 30 Aug 2013 21:49:52 +0000 (00:49 +0300)]
fix list seeking, add autoload option

11 years agoGP2X updates
notaz [Thu, 22 Aug 2013 23:58:06 +0000 (02:58 +0300)]
GP2X updates

video stuff moved out as it's project specific..

11 years agoadd disassembler reg-names-std option
notaz [Sat, 10 Aug 2013 16:44:14 +0000 (19:44 +0300)]
add disassembler reg-names-std option

11 years agofix clang warnings
Grazvydas Ignotas [Sun, 28 Jul 2013 22:54:51 +0000 (01:54 +0300)]
fix clang warnings

so that they don't annoy me

11 years agorm unused preprocessor checks
Grazvydas Ignotas [Sat, 27 Jul 2013 23:49:51 +0000 (02:49 +0300)]
rm unused preprocessor checks

11 years agoreadpng: put image on center if it's too large
Grazvydas Ignotas [Sat, 29 Jun 2013 00:28:51 +0000 (03:28 +0300)]
readpng: put image on center if it's too large

11 years agoadd plat_mem_set_exec()
Grazvydas Ignotas [Thu, 27 Jun 2013 22:41:09 +0000 (01:41 +0300)]
add plat_mem_set_exec()

11 years agomake cache_flush_ not const, because syscalls are usually not
Grazvydas Ignotas [Thu, 27 Jun 2013 00:33:00 +0000 (03:33 +0300)]
make cache_flush_ not const, because syscalls are usually not

11 years agododge a warning
Grazvydas Ignotas [Mon, 24 Jun 2013 18:08:54 +0000 (21:08 +0300)]
dodge a warning

11 years agoadd preliminary alsa driver too
Grazvydas Ignotas [Sun, 23 Jun 2013 23:42:36 +0000 (02:42 +0300)]
add preliminary alsa driver too

11 years agosupport multiple sound drivers, add sdl
Grazvydas Ignotas [Sun, 23 Jun 2013 19:23:57 +0000 (22:23 +0300)]
support multiple sound drivers, add sdl

11 years agofix corruption on empty sel_fname
Grazvydas Ignotas [Sat, 22 Jun 2013 23:28:08 +0000 (02:28 +0300)]
fix corruption on empty sel_fname

11 years agoallow multi-include on some headers
Grazvydas Ignotas [Sat, 15 Jun 2013 23:57:00 +0000 (02:57 +0300)]
allow multi-include on some headers

11 years agosdl: use overlay on native bpp window
notaz [Wed, 13 Mar 2013 23:02:54 +0000 (01:02 +0200)]
sdl: use overlay on native bpp window

11 years agoplat: don't give up on hugetlb fail
notaz [Wed, 13 Mar 2013 22:19:42 +0000 (00:19 +0200)]
plat: don't give up on hugetlb fail

some free memory might appear over time

11 years agogl_platform: avoid direct xlib dependency
notaz [Thu, 7 Feb 2013 23:44:00 +0000 (01:44 +0200)]
gl_platform: avoid direct xlib dependency

some people want to run this without X

11 years agogl: make surface and context readable by users
notaz [Wed, 6 Feb 2013 01:46:20 +0000 (03:46 +0200)]
gl: make surface and context readable by users

used by PCSX gles plugin

11 years agosdl: add resize callback
notaz [Wed, 6 Feb 2013 01:45:53 +0000 (03:45 +0200)]
sdl: add resize callback

11 years agosdl: restore video modeo n exit
notaz [Wed, 30 Jan 2013 22:19:32 +0000 (00:19 +0200)]
sdl: restore video modeo n exit

resolves black screen issue on R-Pi

11 years agosdl: be more careful with x11, handle quit msg
notaz [Wed, 30 Jan 2013 01:50:08 +0000 (03:50 +0200)]
sdl: be more careful with x11, handle quit msg

11 years agoonly take wminfo from appropriate sdl driver
notaz [Mon, 28 Jan 2013 01:25:42 +0000 (03:25 +0200)]
only take wminfo from appropriate sdl driver