pcsx_rearmed.git
12 years agofrontend: avoid loading msg when not needed
notaz [Sat, 10 Nov 2012 20:23:37 +0000 (22:23 +0200)]
frontend: avoid loading msg when not needed

12 years agopsxcounters: refresh internal state after savestate load
notaz [Sat, 10 Nov 2012 20:06:12 +0000 (22:06 +0200)]
psxcounters: refresh internal state after savestate load

fixes some glitching after pre-r14 save load

12 years agofrontend: change nub_adjust ranges
notaz [Fri, 9 Nov 2012 23:42:28 +0000 (01:42 +0200)]
frontend: change nub_adjust ranges

12 years agofrontend: improve pandora nub to PSX analog mapping
notaz [Fri, 9 Nov 2012 23:14:46 +0000 (01:14 +0200)]
frontend: improve pandora nub to PSX analog mapping

12 years agofrontend: make platform menu customizations more explicit
notaz [Tue, 6 Nov 2012 01:37:53 +0000 (03:37 +0200)]
frontend: make platform menu customizations more explicit

12 years agofrontend: add fast forward support
notaz [Tue, 6 Nov 2012 00:36:42 +0000 (02:36 +0200)]
frontend: add fast forward support

12 years agosort out 32/64bit savestate compat issues
notaz [Mon, 5 Nov 2012 01:11:29 +0000 (03:11 +0200)]
sort out 32/64bit savestate compat issues

12 years agodrop some unused code
notaz [Sun, 4 Nov 2012 23:23:29 +0000 (01:23 +0200)]
drop some unused code

12 years agodetect undefined symbols early
notaz [Sun, 4 Nov 2012 22:58:51 +0000 (00:58 +0200)]
detect undefined symbols early

12 years agoswitch over to libpicofe
notaz [Sun, 4 Nov 2012 22:28:57 +0000 (00:28 +0200)]
switch over to libpicofe

- libretro should not be affected by this, all others need to do
  'git submodule init && git submodule update' from now on.
- pandora should get gamma control support

12 years agohandle bad cd images better
notaz [Sun, 4 Nov 2012 00:29:54 +0000 (02:29 +0200)]
handle bad cd images better

12 years agocdriso: don't play data track
notaz [Sat, 3 Nov 2012 22:07:31 +0000 (00:07 +0200)]
cdriso: don't play data track

some refactoring too

12 years agocdrom: read subq directly, not from thread
notaz [Sat, 3 Nov 2012 20:06:31 +0000 (22:06 +0200)]
cdrom: read subq directly, not from thread

thread is doing 10 sectors at once, not that accurate..

12 years agopsx_gpu: change enh buffer selection once more
notaz [Sat, 3 Nov 2012 18:40:32 +0000 (20:40 +0200)]
psx_gpu: change enh buffer selection once more

12 years agoMerge branch 'enhancement'
notaz [Fri, 2 Nov 2012 01:07:05 +0000 (03:07 +0200)]
Merge branch 'enhancement'

Conflicts:
frontend/libretro.c

12 years agofrontend: make text bg dark
notaz [Thu, 1 Nov 2012 18:11:39 +0000 (20:11 +0200)]
frontend: make text bg dark

12 years agopsx_gpu: rework enhancement buffer selection
notaz [Thu, 1 Nov 2012 17:03:27 +0000 (19:03 +0200)]
psx_gpu: rework enhancement buffer selection

12 years agomove blit to core, allow filtering while blitting
notaz [Sun, 28 Oct 2012 23:08:35 +0000 (01:08 +0200)]
move blit to core, allow filtering while blitting

also adds libpicofe to pull filters from, and filter related UI stuff

12 years agopsx_gpu: workaround overflow crash
notaz [Sun, 28 Oct 2012 14:32:24 +0000 (16:32 +0200)]
psx_gpu: workaround overflow crash

rare corner case

12 years agopsx_gpu: add some preloads
notaz [Sat, 27 Oct 2012 19:18:36 +0000 (22:18 +0300)]
psx_gpu: add some preloads

seem to be helpful for enhancement

12 years agopsx_gpu: implement setup_sprite_untextured in asm
notaz [Sat, 27 Oct 2012 19:14:16 +0000 (22:14 +0300)]
psx_gpu: implement setup_sprite_untextured in asm

12 years agogpu: move enhacement logic out of vout_pl
notaz [Mon, 22 Oct 2012 21:34:30 +0000 (00:34 +0300)]
gpu: move enhacement logic out of vout_pl

12 years agopsx_gpu: select buffers differently
notaz [Sun, 21 Oct 2012 22:42:56 +0000 (01:42 +0300)]
psx_gpu: select buffers differently

this handles weird drawing areas better

12 years agoMerge pull request #3 from libretro/master
notaz [Tue, 23 Oct 2012 11:48:41 +0000 (04:48 -0700)]
Merge pull request #3 from libretro/master

RGB565 support

12 years agorgb565 fix
ToadKing [Tue, 23 Oct 2012 01:37:07 +0000 (21:37 -0400)]
rgb565 fix

12 years agoAdd RGB565 support
Toad King [Tue, 23 Oct 2012 00:59:01 +0000 (20:59 -0400)]
Add RGB565 support

12 years agopsx_gpu: change reciprocal table again
notaz [Sun, 21 Oct 2012 17:06:51 +0000 (20:06 +0300)]
psx_gpu: change reciprocal table again

otherwise something overflows somewhere and causes num_block overflow.
Also added debug code to cache that issue early.

12 years agopsx_gpu: consolidate C code, implement exnhancement asm
notaz [Sat, 20 Oct 2012 23:42:03 +0000 (02:42 +0300)]
psx_gpu: consolidate C code, implement exnhancement asm

12 years agopsx_gpu: 2x sprite fixes and integration
notaz [Sat, 13 Oct 2012 20:05:42 +0000 (23:05 +0300)]
psx_gpu: 2x sprite fixes and integration

12 years agopsx_gpu: 2x sprite renderer
Exophase [Sat, 13 Oct 2012 19:50:43 +0000 (22:50 +0300)]
psx_gpu: 2x sprite renderer

12 years agofrontend: pandora: update run script
notaz [Sat, 22 Sep 2012 16:32:10 +0000 (19:32 +0300)]
frontend: pandora: update run script

12 years agovarious enhancement tweaks
notaz [Sun, 26 Aug 2012 23:04:01 +0000 (02:04 +0300)]
various enhancement tweaks

12 years agouse plat_mmap for RAM too
notaz [Mon, 20 Aug 2012 23:04:46 +0000 (02:04 +0300)]
use plat_mmap for RAM too

12 years agostart mmap'ing vram, with hugetlb if possible
notaz [Sun, 19 Aug 2012 19:39:49 +0000 (22:39 +0300)]
start mmap'ing vram, with hugetlb if possible

12 years agopsx_gpu: start handling vram loads/moves for enhancement
notaz [Sat, 18 Aug 2012 21:37:50 +0000 (00:37 +0300)]
psx_gpu: start handling vram loads/moves for enhancement

12 years agopsx_gpu: do enhanced lines
notaz [Sat, 18 Aug 2012 15:25:12 +0000 (18:25 +0300)]
psx_gpu: do enhanced lines

12 years agopsx_gpu: switch to 1024 width again.
notaz [Fri, 17 Aug 2012 23:37:49 +0000 (02:37 +0300)]
psx_gpu: switch to 1024 width again.

12 years agofrontend: omap; increase vram allocation
notaz [Fri, 17 Aug 2012 22:39:37 +0000 (01:39 +0300)]
frontend: omap; increase vram allocation

12 years agopsx_gpu: use different uvrgb phase for enhancement
notaz [Wed, 15 Aug 2012 20:52:38 +0000 (23:52 +0300)]
psx_gpu: use different uvrgb phase for enhancement

12 years agopsx_gpu: do enhaced sprites with triangles
notaz [Wed, 15 Aug 2012 16:35:52 +0000 (19:35 +0300)]
psx_gpu: do enhaced sprites with triangles

12 years agopsx_gpu: move masking to set_texture
notaz [Wed, 15 Aug 2012 16:39:48 +0000 (19:39 +0300)]
psx_gpu: move masking to set_texture

12 years agopsx_gpu: switch enhancement to 2048 width
notaz [Sun, 12 Aug 2012 23:53:21 +0000 (02:53 +0300)]
psx_gpu: switch enhancement to 2048 width

otherwise games that position framebuffers horizontally corrupt the
display.

12 years agopsx_gpu: add enhanced triangle rendering
notaz [Sun, 12 Aug 2012 21:03:43 +0000 (00:03 +0300)]
psx_gpu: add enhanced triangle rendering

12 years agofrontend: add renderer toggle option
notaz [Wed, 15 Aug 2012 18:52:52 +0000 (21:52 +0300)]
frontend: add renderer toggle option

12 years agoadd support for software-enhanced rendering
notaz [Sun, 12 Aug 2012 21:02:23 +0000 (00:02 +0300)]
add support for software-enhanced rendering

12 years agopsx_gpu: add a tool to generate asm offsets
notaz [Sat, 11 Aug 2012 15:34:13 +0000 (18:34 +0300)]
psx_gpu: add a tool to generate asm offsets

12 years agopsx_gpu: increase reciprocal accuracy
Exophase [Sun, 7 Oct 2012 17:13:22 +0000 (20:13 +0300)]
psx_gpu: increase reciprocal accuracy

fixes 448 height issue

12 years agopsx_gpu: more limit checking
notaz [Sun, 7 Oct 2012 16:34:51 +0000 (19:34 +0300)]
psx_gpu: more limit checking

12 years agopsx_gpu: standalone test build + tweaks
notaz [Sat, 6 Oct 2012 20:36:06 +0000 (23:36 +0300)]
psx_gpu: standalone test build + tweaks

12 years agosilence some 64bit related warnings
notaz [Wed, 12 Sep 2012 23:43:13 +0000 (02:43 +0300)]
silence some 64bit related warnings

still need to fix savestate compat

12 years agofrontend: readpng: fix width/height confusion
notaz [Wed, 12 Sep 2012 23:33:26 +0000 (02:33 +0300)]
frontend: readpng: fix width/height confusion

12 years agoMerge branch 'libretro'
notaz [Wed, 12 Sep 2012 23:17:48 +0000 (02:17 +0300)]
Merge branch 'libretro'

12 years agoFix build for libretro.
Themaister [Mon, 10 Sep 2012 07:11:27 +0000 (09:11 +0200)]
Fix build for libretro.

12 years agofrontend: move layer size code
notaz [Wed, 15 Aug 2012 18:51:05 +0000 (21:51 +0300)]
frontend: move layer size code

also fix broken layer height limiting

12 years agofrontend: omap: do centering on large resolutions
notaz [Wed, 15 Aug 2012 20:11:47 +0000 (23:11 +0300)]
frontend: omap: do centering on large resolutions

12 years agofrontend: save last cdimg on successful select
notaz [Wed, 15 Aug 2012 20:09:23 +0000 (23:09 +0300)]
frontend: save last cdimg on successful select

otherwise it's wont save after crash, which can still happen

12 years agoconfigure: various fixes
notaz [Sat, 4 Aug 2012 17:53:40 +0000 (20:53 +0300)]
configure: various fixes

12 years agoconfigure: fix mfloat-abi detection
notaz [Sat, 4 Aug 2012 17:52:45 +0000 (20:52 +0300)]
configure: fix mfloat-abi detection

12 years agolibretro: fix bytes/pixels confusion
notaz [Sat, 4 Aug 2012 15:50:47 +0000 (18:50 +0300)]
libretro: fix bytes/pixels confusion

12 years agoconfigure: fix some ordering issues
notaz [Thu, 2 Aug 2012 22:38:51 +0000 (01:38 +0300)]
configure: fix some ordering issues

12 years agofrontend/pollux: wiz: move tables to upper memory to free some RAM
notaz [Thu, 2 Aug 2012 21:43:56 +0000 (00:43 +0300)]
frontend/pollux: wiz: move tables to upper memory to free some RAM

12 years agorelease r15 r15
notaz [Wed, 1 Aug 2012 22:33:02 +0000 (01:33 +0300)]
release r15

12 years agogpu_unai: merge Franxis' range fix
notaz [Wed, 1 Aug 2012 22:30:57 +0000 (01:30 +0300)]
gpu_unai: merge Franxis' range fix

12 years agofrontend/pollux: care about bpp when calculating offset
notaz [Tue, 31 Jul 2012 23:16:57 +0000 (02:16 +0300)]
frontend/pollux: care about bpp when calculating offset

12 years agogpulib: don't lose a fill in frameskip mode
notaz [Tue, 31 Jul 2012 23:01:48 +0000 (02:01 +0300)]
gpulib: don't lose a fill in frameskip mode

..if it's done just before flip

12 years agofrontend: track output and psx sizes separately
notaz [Tue, 31 Jul 2012 22:59:38 +0000 (01:59 +0300)]
frontend: track output and psx sizes separately

output layer and psx resolutions don't have to match,
like it is on Caanoo.

12 years agoallow multiple sound drivers to be compiled
notaz [Mon, 30 Jul 2012 18:29:29 +0000 (21:29 +0300)]
allow multiple sound drivers to be compiled

12 years agospu: some cleanups
notaz [Mon, 30 Jul 2012 13:27:32 +0000 (16:27 +0300)]
spu: some cleanups

12 years agofrontend: improve minimize handling
notaz [Mon, 30 Jul 2012 12:49:21 +0000 (15:49 +0300)]
frontend: improve minimize handling

12 years agosupport sdl audio
notaz [Sun, 29 Jul 2012 21:37:24 +0000 (00:37 +0300)]
support sdl audio

12 years agofix maemo build
notaz [Sun, 29 Jul 2012 21:30:11 +0000 (00:30 +0300)]
fix maemo build

12 years agofix various fPIC issues
notaz [Sun, 29 Jul 2012 17:47:10 +0000 (20:47 +0300)]
fix various fPIC issues

12 years agoselect builtin gpu plugin on configure
notaz [Sun, 29 Jul 2012 17:14:54 +0000 (20:14 +0300)]
select builtin gpu plugin on configure

12 years agofrontend: initial libretro support
notaz [Sun, 29 Jul 2012 00:23:29 +0000 (03:23 +0300)]
frontend: initial libretro support

..and some refactoring

12 years agoarm: automatically disable thumb
notaz [Mon, 23 Jul 2012 23:51:43 +0000 (02:51 +0300)]
arm: automatically disable thumb

recompiler can't handle it

12 years agofrontend: in_sdl: preliminary joystick support
notaz [Mon, 23 Jul 2012 23:42:24 +0000 (02:42 +0300)]
frontend: in_sdl: preliminary joystick support

12 years agofrontend: always save last cdimgpath
notaz [Sun, 22 Jul 2012 21:44:32 +0000 (00:44 +0300)]
frontend: always save last cdimgpath

12 years agocheat: add some undo logic
notaz [Sun, 22 Jul 2012 21:29:46 +0000 (00:29 +0300)]
cheat: add some undo logic

12 years agofrontend: initial cheats support
notaz [Sun, 22 Jul 2012 19:39:53 +0000 (22:39 +0300)]
frontend: initial cheats support

12 years agofrontend: support seeking the filelist with letter keys
notaz [Sun, 22 Jul 2012 16:40:11 +0000 (19:40 +0300)]
frontend: support seeking the filelist with letter keys

12 years agopcsxmem: abort if lsb is set for map_item
notaz [Sat, 21 Jul 2012 21:20:14 +0000 (00:20 +0300)]
pcsxmem: abort if lsb is set for map_item

thing's can't possibly work with that.

12 years agogpulib: implement rgb888_to_rgb565
notaz [Wed, 18 Jul 2012 23:48:02 +0000 (02:48 +0300)]
gpulib: implement rgb888_to_rgb565

and use it for menu

12 years agocdrom: reset cmd buffer when cmd is accepted
notaz [Wed, 18 Jul 2012 20:54:02 +0000 (23:54 +0300)]
cdrom: reset cmd buffer when cmd is accepted

wrong but hopefully not as much as it was

12 years agocdrom: mask selector bits correctly
notaz [Wed, 18 Jul 2012 20:49:47 +0000 (23:49 +0300)]
cdrom: mask selector bits correctly

12 years agogpulib: clear fb when display is blanked
notaz [Wed, 18 Jul 2012 20:41:31 +0000 (23:41 +0300)]
gpulib: clear fb when display is blanked

12 years agopsx_gpu: change line parsing
notaz [Tue, 17 Jul 2012 23:29:25 +0000 (02:29 +0300)]
psx_gpu: change line parsing

fixes some Tenka problems

12 years agopsx_gpu: fix line cmd length and move w/h masking
notaz [Tue, 17 Jul 2012 22:56:37 +0000 (01:56 +0300)]
psx_gpu: fix line cmd length and move w/h masking

w/h masking untested, I'm lazy

12 years agopsxcounters: use cycles when calculating updates
notaz [Tue, 17 Jul 2012 21:04:14 +0000 (00:04 +0300)]
psxcounters: use cycles when calculating updates

should help with potential timer drifting/desyncs.
Also do overflow properly, not at 0xffff

12 years agofrontend: avoid potential alignment fault
notaz [Mon, 16 Jul 2012 00:06:58 +0000 (03:06 +0300)]
frontend: avoid potential alignment fault

12 years agogte_neon: make rtps division better match rtpt
notaz [Thu, 12 Jul 2012 22:26:50 +0000 (01:26 +0300)]
gte_neon: make rtps division better match rtpt

otherwise causes Ridge Racer Revolution to lock up somehow?

12 years agogpulib: drop prim buffer on stateload
notaz [Wed, 11 Jul 2012 22:19:46 +0000 (01:19 +0300)]
gpulib: drop prim buffer on stateload

obscure bugs otherwise

12 years agomisc: setup GPU if logos are skipped
notaz [Wed, 11 Jul 2012 22:18:01 +0000 (01:18 +0300)]
misc: setup GPU if logos are skipped

some games rely on the state BIOS leaves

12 years agocdrom: adjust report mode return
notaz [Tue, 10 Jul 2012 23:37:25 +0000 (02:37 +0300)]
cdrom: adjust report mode return

based on mednafen which likely had this tested on the real thing.
Also remove rearmed hack, the report shouldn't be that bad on
performance.

12 years agospu: rework irqs, again..
notaz [Sun, 15 Jul 2012 17:22:50 +0000 (20:22 +0300)]
spu: rework irqs, again..

- no early irqs, breaks games that setup irq on last block and then DMA
- don't cut last sample on bIRQReturn, fixes stereo under-decode

12 years agospu: handle cd decode buffers too
notaz [Sun, 8 Jul 2012 23:00:18 +0000 (02:00 +0300)]
spu: handle cd decode buffers too

12 years agospu: add decode buffer and reverb read handling
notaz [Sun, 8 Jul 2012 21:28:04 +0000 (00:28 +0300)]
spu: add decode buffer and reverb read handling

12 years agospu: rework irq handling and loop reloading
notaz [Sat, 7 Jul 2012 18:45:00 +0000 (21:45 +0300)]
spu: rework irq handling and loop reloading

irq might be too early, but this seems to be better than was before.
Special thanks to Ryphecha for some ideas again.

12 years agospu: get rid of iSPUIRQWait
notaz [Fri, 6 Jul 2012 17:40:38 +0000 (20:40 +0300)]
spu: get rid of iSPUIRQWait

there should be no reason to ever turn it off

12 years agospu: get rid of iSpuAsyncWait hack
notaz [Fri, 6 Jul 2012 17:25:51 +0000 (20:25 +0300)]
spu: get rid of iSpuAsyncWait hack

..and replace with some different dma detection hack

12 years agospu: remove some hacks, to be reworked
notaz [Wed, 4 Jul 2012 16:53:30 +0000 (19:53 +0300)]
spu: remove some hacks, to be reworked

get rid of always-iSpuAsyncWait and iSecureStart hacks.
Also SoundGetBytesBuffered is lying, make that lie more obvious
and remove some confusing pointless constants.