pcsx_rearmed.git
11 years agocdrom: some swap cd tuning
notaz [Sun, 13 Jan 2013 19:48:48 +0000 (21:48 +0200)]
cdrom: some swap cd tuning

because last commit removed wrong read stop

11 years agocdrom: remove stopping on TN
notaz [Sun, 13 Jan 2013 19:08:36 +0000 (21:08 +0200)]
cdrom: remove stopping on TN

breaks N2O, does not make sense too

11 years agocdrom: fix ID, again
notaz [Sun, 13 Jan 2013 18:35:14 +0000 (20:35 +0200)]
cdrom: fix ID, again

11 years agofrontend: save gamma too
notaz [Sat, 12 Jan 2013 22:26:15 +0000 (00:26 +0200)]
frontend: save gamma too

11 years agocdrom: set proper reset values
notaz [Sat, 12 Jan 2013 22:22:58 +0000 (22:22 +0000)]
cdrom: set proper reset values

fixes HLE

11 years agocdriso: improve .toc handling
notaz [Sat, 12 Jan 2013 02:48:41 +0000 (02:48 +0000)]
cdriso: improve .toc handling

11 years agocdrom: minor cleanup
notaz [Fri, 11 Jan 2013 01:51:58 +0000 (03:51 +0200)]
cdrom: minor cleanup

11 years agocdrom: fix ID
notaz [Fri, 11 Jan 2013 00:47:50 +0000 (02:47 +0200)]
cdrom: fix ID

also adjust ReadTOC timing and logs

11 years agorelease r18 r18
notaz [Sun, 6 Jan 2013 02:26:26 +0000 (04:26 +0200)]
release r18

11 years agofrontend: minor menu refactoring
notaz [Sun, 6 Jan 2013 19:13:28 +0000 (21:13 +0200)]
frontend: minor menu refactoring

11 years agofrontend: get rid of _FILE_OFFSET_BITS
notaz [Sun, 6 Jan 2013 18:36:08 +0000 (20:36 +0200)]
frontend: get rid of _FILE_OFFSET_BITS

pandora's zlib is too old to handle off_t with that define

11 years agofix irq status
notaz [Sun, 6 Jan 2013 17:59:20 +0000 (19:59 +0200)]
fix irq status

tested on real hardware

11 years agofully reinit drc on change
notaz [Sun, 6 Jan 2013 02:11:26 +0000 (04:11 +0200)]
fully reinit drc on change

11 years agogpus: handle list underflows better
notaz [Sun, 6 Jan 2013 01:55:09 +0000 (03:55 +0200)]
gpus: handle list underflows better

11 years agofrontend: filter more unneeded files in browser
notaz [Sat, 5 Jan 2013 22:28:01 +0000 (00:28 +0200)]
frontend: filter more unneeded files in browser

11 years agogpulib: update after open
notaz [Sat, 5 Jan 2013 02:29:10 +0000 (04:29 +0200)]
gpulib: update after open

11 years agofrontend: don't update during reset
notaz [Fri, 4 Jan 2013 22:06:41 +0000 (00:06 +0200)]
frontend: don't update during reset

otherwise update thread may collect input events that really
belong to UI. Another hack :(

11 years agofrontend: add layer height limit
notaz [Fri, 4 Jan 2013 22:00:13 +0000 (00:00 +0200)]
frontend: add layer height limit

otherwise some platforms may end up trying to set
resolutions with low height and fail

11 years agogpulib: limit height
notaz [Fri, 4 Jan 2013 21:50:05 +0000 (23:50 +0200)]
gpulib: limit height

11 years agospu: fix decode offset
notaz [Sat, 5 Jan 2013 02:05:56 +0000 (04:05 +0200)]
spu: fix decode offset

11 years agospu: stop at address 0
notaz [Sat, 5 Jan 2013 02:04:35 +0000 (04:04 +0200)]
spu: stop at address 0

or should we? (Music 2000)

11 years agospu: check buffer state less often
notaz [Fri, 4 Jan 2013 22:55:59 +0000 (00:55 +0200)]
spu: check buffer state less often

11 years agogpulib: fix frameskip cmd skipping
notaz [Thu, 3 Jan 2013 22:55:10 +0000 (00:55 +0200)]
gpulib: fix frameskip cmd skipping

11 years agoignore case for cwcheat
notaz [Thu, 3 Jan 2013 02:17:43 +0000 (04:17 +0200)]
ignore case for cwcheat

headers can have mixed case, which doesn't match common cheat files?

11 years agospu: also return on decoder irqs
notaz [Thu, 3 Jan 2013 00:00:44 +0000 (02:00 +0200)]
spu: also return on decoder irqs

11 years agocdrom: implement attenuator/volume properly
notaz [Tue, 1 Jan 2013 23:41:58 +0000 (01:41 +0200)]
cdrom: implement attenuator/volume properly

11 years agospu: fix decode buffers
notaz [Tue, 1 Jan 2013 22:33:53 +0000 (00:33 +0200)]
spu: fix decode buffers

sync is still broken :(

11 years agocdriso: handle file offsets better
notaz [Tue, 1 Jan 2013 02:50:06 +0000 (04:50 +0200)]
cdriso: handle file offsets better

11 years agocdriso: simplify read code
notaz [Mon, 31 Dec 2012 23:53:52 +0000 (01:53 +0200)]
cdriso: simplify read code

11 years agosbi: update according to Nocash doc
notaz [Mon, 31 Dec 2012 23:48:16 +0000 (01:48 +0200)]
sbi: update according to Nocash doc

no idea if it's correct though

11 years agocdrom: give up on cdda subq support
notaz [Mon, 31 Dec 2012 23:38:52 +0000 (01:38 +0200)]
cdrom: give up on cdda subq support

this just won't currently work because atleast of:
- reads racing with cdda thread
- hw cdrom plugins
- broken/unknown format .sub files

11 years agocdrom: attempt to deal with broken subq :(
notaz [Mon, 31 Dec 2012 01:51:32 +0000 (03:51 +0200)]
cdrom: attempt to deal with broken subq :(

11 years agocdriso: fix .cue file parsing
notaz [Sun, 30 Dec 2012 23:44:06 +0000 (01:44 +0200)]
cdriso: fix .cue file parsing

11 years agocdrom: keep savestate compat
notaz [Sun, 30 Dec 2012 01:40:17 +0000 (03:40 +0200)]
cdrom: keep savestate compat

11 years agocdrom: clean up subq handling
notaz [Sun, 30 Dec 2012 01:02:43 +0000 (03:02 +0200)]
cdrom: clean up subq handling

keep track of it at all times

11 years agocdrom: clean up play command handling
notaz [Fri, 28 Dec 2012 01:30:19 +0000 (03:30 +0200)]
cdrom: clean up play command handling

Once again, based on mednafen/nocash.

11 years agocdrom: rework seek hack
notaz [Fri, 28 Dec 2012 00:15:29 +0000 (02:15 +0200)]
cdrom: rework seek hack

11 years agofrontend: remove unneeded hack options
notaz [Thu, 27 Dec 2012 02:34:56 +0000 (04:34 +0200)]
frontend: remove unneeded hack options

11 years agocdrom: cleanup irq reschedule and pause hacks
notaz [Thu, 27 Dec 2012 02:33:25 +0000 (04:33 +0200)]
cdrom: cleanup irq reschedule and pause hacks

11 years agocdrom: cleanup various hacks
notaz [Thu, 27 Dec 2012 02:03:14 +0000 (04:03 +0200)]
cdrom: cleanup various hacks

Most decisions were made based on Mednafen source on Nocash doc,
so all credits for hardware info go to Ryphecha/Nocash.
A few things confirmed on real hardware by me.

11 years agocdrom: cleanup logging
notaz [Thu, 27 Dec 2012 00:48:49 +0000 (02:48 +0200)]
cdrom: cleanup logging

11 years agocdrom: tune and log stat hack
notaz [Thu, 27 Dec 2012 00:24:06 +0000 (02:24 +0200)]
cdrom: tune and log stat hack

11 years agocdrom: fix irq check
notaz [Thu, 27 Dec 2012 00:21:55 +0000 (02:21 +0200)]
cdrom: fix irq check

11 years agoconfigure: handle ARM machine names with version
notaz [Wed, 26 Dec 2012 20:50:29 +0000 (22:50 +0200)]
configure: handle ARM machine names with version

like armv6l-unknown-linux-gnueabihf in Arch Linux

11 years agoconfigure: detect common mistakes
notaz [Sun, 23 Dec 2012 01:44:45 +0000 (03:44 +0200)]
configure: detect common mistakes

11 years agodrc: fix bugs in armv4 codepath
notaz [Sun, 23 Dec 2012 01:07:18 +0000 (03:07 +0200)]
drc: fix bugs in armv4 codepath

wasn't even passing BIOS because of them..

11 years agofrontend: fix pulseaudio, detect it in configure script
notaz [Sun, 23 Dec 2012 00:21:53 +0000 (02:21 +0200)]
frontend: fix pulseaudio, detect it in configure script

11 years agobump libpicofe for r-pi gl code
notaz [Sat, 22 Dec 2012 01:12:58 +0000 (03:12 +0200)]
bump libpicofe for r-pi gl code

11 years agofrontend: switch to libpicofe sdl code
notaz [Thu, 20 Dec 2012 22:52:07 +0000 (00:52 +0200)]
frontend: switch to libpicofe sdl code

11 years agowarning fix
notaz [Thu, 20 Dec 2012 22:32:59 +0000 (00:32 +0200)]
warning fix

11 years agolibretro: support savestates and cheats
notaz [Mon, 17 Dec 2012 00:02:10 +0000 (02:02 +0200)]
libretro: support savestates and cheats

cheats untested

11 years agomake non-zlib save compression possible
notaz [Sun, 16 Dec 2012 19:22:32 +0000 (21:22 +0200)]
make non-zlib save compression possible

11 years agolibretro: check for CAN_DUPE, as suggested by ToadKing
notaz [Sun, 16 Dec 2012 18:07:50 +0000 (20:07 +0200)]
libretro: check for CAN_DUPE, as suggested by ToadKing

11 years agodfxvideo: don't build Xv version (no longer used)
notaz [Sun, 16 Dec 2012 17:51:04 +0000 (19:51 +0200)]
dfxvideo: don't build Xv version (no longer used)

11 years agolibretro: handle borders
notaz [Tue, 11 Dec 2012 00:20:42 +0000 (02:20 +0200)]
libretro: handle borders

11 years agomisc: make error message remind about common mistake
notaz [Mon, 10 Dec 2012 23:46:30 +0000 (01:46 +0200)]
misc: make error message remind about common mistake

11 years agolibretro: set cycle_multiplier
notaz [Mon, 10 Dec 2012 23:37:33 +0000 (01:37 +0200)]
libretro: set cycle_multiplier

11 years agoMerge branch 'libretro'
notaz [Mon, 10 Dec 2012 21:41:06 +0000 (23:41 +0200)]
Merge branch 'libretro'

Conflicts:
frontend/libretro.c

11 years agolibretro: minor cleanups
notaz [Mon, 10 Dec 2012 16:42:13 +0000 (18:42 +0200)]
libretro: minor cleanups

11 years agolibretro: only pass fb to video_cb when it's updated
notaz [Mon, 10 Dec 2012 01:38:46 +0000 (03:38 +0200)]
libretro: only pass fb to video_cb when it's updated

11 years agoupdate .gitignore
Toad King [Wed, 5 Dec 2012 00:26:23 +0000 (19:26 -0500)]
update .gitignore

11 years agolibretro: initialize blank memory card
Toad King [Wed, 5 Dec 2012 00:26:09 +0000 (19:26 -0500)]
libretro: initialize blank memory card

11 years agolibretro: Move flip screen counter increment back to end of flip screen callback
twinaphex [Tue, 4 Dec 2012 15:38:01 +0000 (16:38 +0100)]
libretro: Move flip screen counter increment back to end of flip screen callback

11 years agolibretro: call video_cb on every frame
twinaphex [Tue, 4 Dec 2012 13:36:01 +0000 (14:36 +0100)]
libretro: call video_cb on every frame

We need to do video_cb in retro_run every frame instead of
just once every time the video callback is called - otherwise
we will get very bad/skippy framerates.
Performance is much improved now in nearly all games.

11 years agolibretro: make RGB565 support into compile-time option
twinaphex [Tue, 4 Dec 2012 13:16:34 +0000 (14:16 +0100)]
libretro: make RGB565 support into compile-time option

all libretro frontends should support this no matter what

11 years agolibretro: use SRAM saving routines for memory card.
Toad King [Sun, 2 Dec 2012 19:36:18 +0000 (14:36 -0500)]
libretro: use SRAM saving routines for memory card.

force only one memory card for libretro

11 years agopipe error messages through single function
notaz [Sun, 9 Dec 2012 17:58:34 +0000 (19:58 +0200)]
pipe error messages through single function

for easier redirection to file, logcat or whatever

11 years agoavoid bogus warning
notaz [Sun, 9 Dec 2012 17:26:15 +0000 (19:26 +0200)]
avoid bogus warning

11 years agoconfigure: set float-abi even without armv6
notaz [Fri, 7 Dec 2012 00:16:18 +0000 (02:16 +0200)]
configure: set float-abi even without armv6

11 years agofrontend: fix clean libretro build
notaz [Sun, 2 Dec 2012 00:43:40 +0000 (02:43 +0200)]
frontend: fix clean libretro build

11 years agorm x86 and ppc dynarec remains
notaz [Sat, 1 Dec 2012 22:36:34 +0000 (00:36 +0200)]
rm x86 and ppc dynarec remains

that code is broken and unmaintained in this fork, which now relies on
new_dynarec instead. It's better to merge Ari64's new_dynarec x86 code
if x86 support is desired.

11 years agoimprove ARM feature detection
notaz [Fri, 30 Nov 2012 00:53:25 +0000 (02:53 +0200)]
improve ARM feature detection

11 years agomave plugin and core shared includes to single location
notaz [Fri, 30 Nov 2012 00:51:45 +0000 (02:51 +0200)]
mave plugin and core shared includes to single location

11 years agofrontend: pollux: use sections for memory
notaz [Tue, 27 Nov 2012 19:42:04 +0000 (21:42 +0200)]
frontend: pollux: use sections for memory

11 years agoclean up mmap hacks
notaz [Tue, 27 Nov 2012 15:08:39 +0000 (17:08 +0200)]
clean up mmap hacks

still messy but perhaps beter

11 years agofrontend: remove res check
notaz [Tue, 27 Nov 2012 01:07:44 +0000 (03:07 +0200)]
frontend: remove res check

it's already done at the upper level, and this was wrong anyway
because plat_gvideo_set_mode can change vout_w and vout_h

11 years agofrontend: update caanoo port
notaz [Tue, 27 Nov 2012 01:07:07 +0000 (03:07 +0200)]
frontend: update caanoo port

11 years agorelease r17 r17
notaz [Sat, 24 Nov 2012 02:22:51 +0000 (04:22 +0200)]
release r17

11 years agodrop bzlib dependency
notaz [Sat, 24 Nov 2012 02:22:03 +0000 (04:22 +0200)]
drop bzlib dependency

it turns out it's not needed.

11 years agoinitial Android support
Toad King [Fri, 26 Oct 2012 19:46:29 +0000 (15:46 -0400)]
initial Android support

11 years agogpulib: check mode change on blank
notaz [Fri, 23 Nov 2012 09:44:54 +0000 (11:44 +0200)]
gpulib: check mode change on blank

11 years agocdrom: try different seeking approach
notaz [Fri, 23 Nov 2012 01:33:21 +0000 (03:33 +0200)]
cdrom: try different seeking approach

11 years agospu: fix saving bug
notaz [Thu, 22 Nov 2012 00:48:19 +0000 (02:48 +0200)]
spu: fix saving bug

fixup on load too

11 years agofix some more 32/64bit incompatibilities
notaz [Wed, 21 Nov 2012 22:18:21 +0000 (00:18 +0200)]
fix some more 32/64bit incompatibilities

11 years agofrontend: allow sstates without cd img
notaz [Wed, 21 Nov 2012 22:48:51 +0000 (00:48 +0200)]
frontend: allow sstates without cd img

11 years agogte: avoid fno-strict-aliasing
notaz [Wed, 21 Nov 2012 01:51:26 +0000 (03:51 +0200)]
gte: avoid fno-strict-aliasing

11 years agofix various warnings
notaz [Wed, 21 Nov 2012 01:47:35 +0000 (03:47 +0200)]
fix various warnings

the idea here was to disable them to avoid drifting from pcsx-reloaded,
but there doesn't seems to be much need for syncing.

11 years agofix ARM build with --disable-dynarec
notaz [Wed, 21 Nov 2012 01:11:59 +0000 (03:11 +0200)]
fix ARM build with --disable-dynarec

11 years agoplugins: drop arch filename extensions
notaz [Wed, 21 Nov 2012 00:38:10 +0000 (02:38 +0200)]
plugins: drop arch filename extensions

they do more harm than good

11 years agofrontend: pcnt: support arm11
notaz [Mon, 19 Nov 2012 01:08:06 +0000 (03:08 +0200)]
frontend: pcnt: support arm11

11 years agofrontend: sdl: autodisable overlay if not accelerated
notaz [Sun, 18 Nov 2012 22:29:24 +0000 (00:29 +0200)]
frontend: sdl: autodisable overlay if not accelerated

just tried it on r-pi, it's just way too slow

11 years agodfsound: add PulseAudio workaround
notaz [Sun, 18 Nov 2012 22:23:45 +0000 (00:23 +0200)]
dfsound: add PulseAudio workaround

11 years agofrontend: pcnt: use gettimeofday
notaz [Sat, 17 Nov 2012 23:39:24 +0000 (01:39 +0200)]
frontend: pcnt: use gettimeofday

better than nothing

11 years agofrontend: overlay improvements
notaz [Sat, 17 Nov 2012 22:31:30 +0000 (00:31 +0200)]
frontend: overlay improvements

work directly on psx vram

11 years agofrontend: initial sdl overlay implementation
notaz [Sat, 17 Nov 2012 00:09:49 +0000 (02:09 +0200)]
frontend: initial sdl overlay implementation

11 years agospu: stop at 0 volume
notaz [Thu, 15 Nov 2012 22:30:32 +0000 (00:30 +0200)]
spu: stop at 0 volume

11 years agocdrom: some subq hacks
notaz [Tue, 13 Nov 2012 23:33:27 +0000 (01:33 +0200)]
cdrom: some subq hacks

11 years agofix gun handling in enhancement mode
notaz [Tue, 13 Nov 2012 17:19:36 +0000 (19:19 +0200)]
fix gun handling in enhancement mode

11 years agofix some random corner cases
notaz [Tue, 13 Nov 2012 00:28:41 +0000 (02:28 +0200)]
fix some random corner cases

11 years agocdrom: only need to read for cdda
notaz [Tue, 13 Nov 2012 00:04:52 +0000 (02:04 +0200)]
cdrom: only need to read for cdda

otherwise it's already there?