Henrik Rydgard
70f44c3894
ARM64 emitter: Default to non-extend instruction forms (LSL 0), fix bugs. also fixes to disasm.
2015-04-06 18:13:12 +02:00
Henrik Rydgard
d3669daba4
ARM64: Fixes to emitter and disassembly for logical immediates
2015-04-06 18:13:12 +02:00
Henrik Rydgard
0922db6062
ARM64: Some FP work.
2015-04-06 18:13:11 +02:00
Henrik Rydgard
d2c746dd64
ARM64: Get the FP reg cache working, implement some basic FP arith
2015-04-06 18:13:11 +02:00
Henrik Rydgard
d16bd1fd30
ARM64: Port over basic load/store from ARM. Works in FastMem only.
2015-04-06 18:13:10 +02:00
Henrik Rydgard
8dc77ff32e
ARM64: Turn off some debugging stuff, start implementing instructions. Something is wrong though, if I implement more than addiu things break..
2015-04-06 18:13:09 +02:00
Henrik Rydgard
742f48ad56
ARM64: More emitter and disasm work
2015-04-06 18:13:08 +02:00
Henrik Rydgard
c4cdca83fc
ARM64: Fix some branch distance checks, add more stuff to disasm
2015-04-06 18:13:08 +02:00
Henrik Rydgard
cc722f09f6
Improve ARM64 disassembly by merging MOVZ+MOVK. Minor stuff.
2015-04-06 18:13:07 +02:00
Henrik Rydgard
73dd26fb75
More ARM64 disasm, warning fixes
2015-04-06 18:13:07 +02:00
Henrik Rydgard
58b059ca14
Some casting cleanup, misc
2015-04-06 18:13:06 +02:00
Henrik Rydgard
34ab532971
ARM64 jit: Fix some pointer truncations and other fun stuff..
2015-04-06 18:13:05 +02:00
Henrik Rydgard
e7e58591da
More JIT work, not quite there yet...
2015-04-06 18:13:04 +02:00
Henrik Rydgard
f732fbb885
ARM64 emitter: Add MRS/MSR support (only for the flags register). Add some more to ARM64 Disasm
2015-04-06 18:13:04 +02:00
Henrik Rydgard
524583d53e
ARM64 emitter work, dispatcher work, etc. More work needed.
2015-04-06 18:13:03 +02:00
Henrik Rydgard
8945b2476d
Add the beginnings of a rudimentary ARM64 disassembler
2015-04-06 18:13:03 +02:00
Henrik Rydgard
b309c83973
Initial work on ARM64, based on the ARM jit.
2015-04-06 18:13:01 +02:00
Henrik Rydgård
a269e118b3
Merge pull request #7658 from unknownbrackets/debugger
...
Make it easier to use memchecks in HLE
2015-04-06 17:03:14 +02:00
Lioncash
1ac81b5014
sceIo: Remove always false condition
2015-04-06 10:05:44 -04:00
Unknown W. Brackets
2209cf22de
Do the memcheck after the memory access in HLE.
2015-04-06 00:37:33 -07:00
Unknown W. Brackets
e2ecd1eabd
Add memchecks for ReadStruct/WriteStruct.
2015-04-05 18:09:35 -07:00
Unknown W. Brackets
2450724be2
Make Memory::Memcpy() execute memchecks directly.
...
This makes it easier to handle breakpoints in HLE.
2015-04-05 18:09:20 -07:00
Unknown W. Brackets
0fc64dc717
Return an error when the atrac stream is full.
2015-04-05 17:22:38 -07:00
Henrik Rydgård
8fd906672d
Default to 2x rendering on some more devices.
2015-04-03 18:22:57 +02:00
Henrik Rydgård
b7498f4581
Make some UI adjustments on TV devices
2015-04-03 11:54:24 +02:00
Unknown W. Brackets
bdd1db1fa2
x86jit: Handle vmin/vmax and vsge correctly.
...
Unfortunately, this boots vmin/vmax from simd, currently.
2015-03-29 12:24:49 -07:00
Unknown W. Brackets
67d9233de1
Fix some compiler warnings.
...
Oops, f format in hle logging wasn't working right. See #7641 .
2015-03-28 20:50:34 -07:00
Unknown W. Brackets
8d5f843bb8
Cleanup thread start and create logging.
...
Also report less cases.
2015-03-28 14:46:09 -07:00
Unknown W. Brackets
fc3d6ff04a
Disable reporting for some thread funcs.
...
We know they are misused and it's not giving us extra information.
2015-03-28 14:32:32 -07:00
Unknown W. Brackets
03bd1b9b69
Initialize a few sas values earlier.
...
This just makes things a little safer, none of these ought to be used
without Start or similar.
2015-03-28 13:06:57 -07:00
Unknown W. Brackets
0aaabcaac9
Clear old registered action types on reset.
2015-03-28 13:01:49 -07:00
Unknown W. Brackets
c642f92bfb
Initialize a few display state values on init.
2015-03-28 13:01:30 -07:00
Unknown W. Brackets
27e27f11ad
Shutdown a couple dialogs more correctly.
...
This brings them back to none instead of shutdown.
2015-03-28 13:01:10 -07:00
Unknown W. Brackets
ae4811d0d1
Still fudge seek positions for low level.
...
Since in this case we're tricking it into reading the same buffer area.
2015-03-26 22:34:45 -07:00
Unknown W. Brackets
425eed7bea
Keep separate track of ffmpeg pos and decode pos.
...
FFmpeg buffers, so forcing the pos only makes FFmpeg read in garbage
because it doesn't know that you seeked in the bytestream on it.
2015-03-26 20:23:37 -07:00
Henrik Rydgård
62e621f8a1
Merge pull request #6976 from unknownbrackets/atrac-minor
...
When seeking to atrac positions, force alignment and start from zero
2015-03-26 00:29:51 +01:00
Unknown W. Brackets
c2153ff976
Add new logging in sceKernelCreateThread().
2015-03-22 21:22:40 -07:00
Unknown W. Brackets
74c6f2696d
Add log formatting for 64-bit arg types + stack.
2015-03-22 21:15:13 -07:00
Unknown W. Brackets
110cc119ce
Change some logging in the last Callback func.
2015-03-22 20:51:56 -07:00
Unknown W. Brackets
52a37c1330
Actually use the table's arg and ret masks.
2015-03-22 20:51:56 -07:00
Unknown W. Brackets
fcf0518223
Update all the HLE tables with arg and ret info.
2015-03-22 20:51:55 -07:00
Unknown W. Brackets
1b2b5f41a9
Fix a typo.
2015-03-22 20:49:43 -07:00
Unknown W. Brackets
2c8199ec73
Make gcc happy when there are no var args.
2015-03-22 20:49:42 -07:00
Unknown W. Brackets
41631eb2b1
Try a different format of HLE logging.
2015-03-22 20:49:42 -07:00
Henrik Rydgård
cac05197ed
Merge pull request #7623 from sum2012/Atrac-minor-
...
Add a logging in sceAtracGetRemainFrame
2015-03-22 00:32:47 +01:00
sum2012
35c04e1187
Fix tab
2015-03-22 06:35:49 +08:00
sum2012
2c89d78f9d
Add a logging in sceAtracGetRemainFrame
2015-03-22 06:16:28 +08:00
sum2012
09c8670730
oop
2015-03-22 06:01:06 +08:00
sum2012
38eb713794
Fix tab
2015-03-22 05:58:00 +08:00
sum2012
b26e597479
Imp sceUtilityCheckNetParam
...
CS Combined Assault v06 homebrew use it
2015-03-22 05:42:44 +08:00
Henrik Rydgård
87f31d0803
Merge pull request #7616 from sum2012/atrac-minor-
...
Add more log in sceAtrac
2015-03-20 14:40:04 +01:00
sum2012
1ce1da9e73
Remove another blank
2015-03-20 21:38:13 +08:00
sum2012
b92c0538b6
Remove blank
2015-03-20 21:36:31 +08:00
Henrik Rydgard
f7215c39ee
Add missing memcheck to Replace_memcpy_jak
2015-03-19 23:09:39 +01:00
sum2012
67e847366a
Add more log in sceAtrac
2015-03-19 22:34:35 +08:00
Henrik Rydgård
6b2acbae8f
Merge pull request #7613 from daniel229/replace_download_frame_in_gakuenheaven
...
Replace download frame in Gakuen Heaven.
2015-03-18 18:11:54 +01:00
Henrik Rydgård
e272631bc4
Merge pull request #7614 from unknownbrackets/jit-minor
...
Correct savestate interaction with proxy blocks
2015-03-18 17:57:58 +01:00
Henrik Rydgård
fd2ff57ce8
Merge pull request #7610 from sum2012/atrac-minor-
...
Add remain frame information in sceAtracGetRemainFrame
2015-03-18 16:24:56 +01:00
Unknown W. Brackets
6c03fc4f01
Correct savestate interaction with proxy blocks.
...
At least, I think that's what's going wrong here. Either way, this is
safer and apparently fixes #7612 .
2015-03-17 23:50:20 -07:00
Unknown W. Brackets
9d52ee4e21
Fix cases where breakpoints were skipped.
...
After reset or savestate load.
2015-03-17 23:06:25 -07:00
daniel229
a4d8be5023
Fixes saveicon in Gakuen Heaven.
2015-03-18 11:43:31 +08:00
sum2012
86c76fc4dc
Add remain frame information in sceAtracGetRemainFrame
2015-03-18 00:29:32 +08:00
Unknown W. Brackets
b8d798c3a5
Allow directories to fail to open.
...
This allows virtual disc files while not allowing unreadable files.
2015-03-17 08:40:57 -07:00
Henrik Rydgård
37344d1d57
Merge pull request #7586 from unknownbrackets/ui-tweaks
...
Act as if unreadable files don't exist
2015-03-15 17:31:47 +01:00
daniel229
88249e89a8
Report sceUtility(Un)loadUsbModule.
2015-03-15 23:33:32 +08:00
daniel229
655c25c692
Add sceUtilityLoadUsbModule() and sceUtilityUnloadUsbModule()
2015-03-15 21:08:11 +08:00
Unknown W. Brackets
3ce582f8a7
Act as if unreadable files don't exist.
...
This mainly affects Linux. If a file cannot be opened for reading, we
should just return false for Exists(), since that will prevent us from
trying to read from the file later.
2015-03-12 19:58:09 -07:00
Unknown W. Brackets
dad8f5cd25
Fix a bad pointer dereference / cast.
2015-03-10 10:56:09 -07:00
sum2012
4e302df69b
fix space bug
2015-03-08 20:10:10 +08:00
sum2012
c2435c1e9b
Add sceNetUpnp module
2015-03-08 20:07:03 +08:00
sum2012
a464221f83
Typo in Core.vcxproj
2015-03-08 17:15:42 +08:00
sum2012
18e7e73646
Type missing in HLETable.cpp
2015-03-08 16:53:49 +08:00
sum2012
8b2712975a
Forget update HLETables.cpp
2015-03-08 16:27:12 +08:00
sum2012
c9ddf8c642
Build fix
2015-03-08 13:38:47 +08:00
sum2012
039b51083c
Add sceG729 module
2015-03-08 13:27:40 +08:00
sum2012
6aec7238fb
Attempt to fix linux build
2015-03-08 12:40:30 +08:00
sum2012
0157f88035
Fix sceUsbCam
2015-03-08 12:37:56 +08:00
sum2012
6509468d47
Fix save status
2015-03-08 12:09:30 +08:00
sum2012
dbae0423d6
Add sceUsbCam module
2015-03-08 11:48:55 +08:00
sum2012
e5b349d33e
Change to INFO log
...
Because this is still not test yet
2015-03-08 11:45:27 +08:00
sum2012
dae6a4e40a
Fix and add 2 function
2015-03-08 11:42:48 +08:00
sum2012
7b262949aa
Add sceAudioRouting
...
First step to fix "Invizimals" 's game
2015-03-08 10:58:12 +08:00
Henrik Rydgård
077eae6255
Merge pull request #7566 from Bigpet/vs2015
...
Make compilable under VS2015
2015-03-07 00:16:50 +01:00
Peter Tissen
594ed65bd3
use the timezone value for non GLIB, non MSVC platforms
2015-03-06 21:55:39 +01:00
Peter Tissen
f5795a68a7
Make compilable under VS2015
2015-03-06 21:09:45 +01:00
Unknown W. Brackets
c991dd7555
Oops, fix an important typo.
2015-03-05 08:31:59 -08:00
Henrik Rydgård
3df63fdb43
Merge pull request #7554 from sum2012/sceMpegAvcCsc-delay
...
Add back hleDelayResult in sceMpegAvcCsc
2015-03-05 12:36:15 +01:00
Henrik Rydgard
3d012f2679
One more stack clearing value in sceFont
2015-03-05 12:26:21 +01:00
Henrik Rydgard
2b98f15f17
Add option to auto-center the analog stick on touch within the boundaries of the stick
...
TODO: Should this be default? Does this make sense for d-pad too?
2015-03-05 11:01:58 +01:00
Henrik Rydgård
af4b559038
Merge pull request #7547 from hrydgard/func-stack-clear
...
Add ability to flag HLE functions to clear a bit of stack.
2015-03-05 10:37:28 +01:00
Henrik Rydgard
3e408047d3
Use unknown's measured stack clearing amounts in sceLibFont
2015-03-05 10:36:03 +01:00
sum2012
4c827d1b3e
Add install error translatable
2015-03-04 20:59:09 +08:00
sum2012
b3bb733b0d
Add back hleDelayResult in sceMpegAvcCsc
...
Fix #7549 Dengeki no Pilot: Tenkuu no Kizuna video flickering
But not break Bleach heat of soul 6
2015-03-04 07:21:38 +08:00
Andrey Bondrov
e898200c19
Free flipbuffer
2015-03-04 03:21:38 +10:00
Andrey Bondrov
f81ec4ce65
Keep Qt UI screenshots in RGB888 format, just convert the buffer properly
2015-03-04 02:53:33 +10:00
Andrey Bondrov
168ab06266
Fix image format for screenshots with Qt UI
2015-03-04 02:16:47 +10:00
Unknown W. Brackets
98d7afae89
Switch to #pragma once in a few places.
...
Doesn't really affect git history much to change these.
2015-03-02 22:34:51 -08:00
Unknown W. Brackets
22ce464e42
Don't wake a vblank waiting thread within 115us.
...
Fixes #6966 , matches PSP behavior.
2015-03-01 18:31:25 -08:00
Henrik Rydgard
fd1dcb881f
Add ability to flag function to clear a bit of stack. See #6374 , idea by JPCSP, pointed out by sum2012.
2015-03-02 01:03:12 +01:00
Unknown W. Brackets
179e996b0b
jit: Discard unused regs before a syscall.
...
This is a pretty minor optimization, though.
2015-03-01 11:08:59 -08:00
Henrik Rydgård
238e0ed92e
Merge pull request #7544 from unknownbrackets/mpeg-minor
...
Minor tweaks in sceMpeg, fix color range
2015-03-01 18:32:47 +01:00
Unknown W. Brackets
c16fac6688
Force off full-range color during video decode.
...
Fixes #6528 , so should make colors in videos more correct.
2015-03-01 09:27:38 -08:00
Unknown W. Brackets
d49010832c
Make sceMpegChangeGetAuMode() operate more sanely.
...
I'm pretty sure this is what the intention was before, but it still
doesn't do anything useful (since ignore* are... ignored.)
2015-03-01 09:26:53 -08:00
Unknown W. Brackets
f312925374
Fix a log message.
2015-03-01 09:26:08 -08:00
Unknown W. Brackets
8f7e98f484
Keep Windows devices from sleeping while playing.
2015-03-01 08:29:11 -08:00
Chin
22593cddcc
Use pre-increment instead of post-increment for iterators, and use auto for some iterators
2015-03-01 16:55:47 +01:00
Chin
37f50a3792
Change to pass some arguments by reference
2015-03-01 16:49:00 +01:00
Chin
ff5d408c81
Combine two ifs
2015-03-01 16:48:25 +01:00
Henrik Rydgard
cbf8aa41a4
Merge branch 'analog-options' of https://github.com/ShiftyAxel/ppsspp into ShiftyAxel-analog-options
2015-03-01 16:17:41 +01:00
Henrik Rydgard
bfa52e61a3
Some games spam sceAudioGetChannelGetLength, reduce loglevel to VERBOSE to ease debugging
2015-03-01 15:33:35 +01:00
Henrik Rydgård
3773d25b2e
Merge pull request #7537 from sum2012/mpeg
...
Some work in sceMpegGetPcmAu
2015-03-01 12:27:02 +01:00
Unknown W. Brackets
bb09c2d948
Merge pull request #7539 from Kingcom/virtualdisc
...
Don't read past the end of sce_lbn files on virtual discs
2015-03-01 01:57:16 -08:00
sum2012
b5ee54a653
Fix linux compile
2015-03-01 08:39:48 +08:00
Henrik Rydgård
30ad27f961
Merge pull request #7536 from unknownbrackets/control-minor
...
Add an option to ignore gamepads when not focused
2015-03-01 01:11:40 +01:00
Kingcom
efa2566192
Don't read past the end of sce_lbn files on virtual discs
2015-03-01 00:45:57 +01:00
Unknown W. Brackets
6cc84ffdbb
jit: fix invalidation of blocks with only jr.
...
We need to expand the range not to the latest exit, but to the size of the
block.
2015-02-28 15:09:41 -08:00
sum2012
cb66412919
Some work in sceMpegGetPcmAu
...
Fix #6546
2015-03-01 06:52:45 +08:00
Unknown W. Brackets
cf88c7ff67
Add an option to ignore gamepads when not focused.
2015-02-28 14:02:03 -08:00
Unknown W. Brackets
522f9fabd8
Add some reporting to sceMpeg funcs.
2015-02-28 11:15:02 -08:00
Unknown W. Brackets
f200d5df94
Use structs for the lowlevel at3 lookup tables.
...
More sensible this way.
2015-02-27 21:02:20 -08:00
daniel229
3b59c72280
at3plusHeaderMap
2015-02-27 22:29:14 +08:00
Henrik Rydgård
2cdb5a3f19
Merge pull request #7483 from unknownbrackets/tls
...
Correct a lot of inaccuracies in the tlspl functions
2015-02-26 21:58:15 +01:00
Unknown W. Brackets
a8b59e171b
Fix a few type comparison warnings.
2015-02-22 13:31:23 -08:00
Unknown W. Brackets
8a0f854dc6
Fix an iterator corruption on tls thread autofree.
2015-02-21 15:50:20 -08:00
Unknown W. Brackets
8d15cb953a
sceKernelGetTlsAddr() should only return a ptr.
...
So, that means no error codes - only null.
2015-02-21 15:50:19 -08:00
Unknown W. Brackets
1c0d880bc3
Support the alignment option in tlspl objects.
2015-02-21 15:50:19 -08:00
Unknown W. Brackets
3bfe7102e3
Handle the priority attribute for tlspls.
2015-02-21 15:50:18 -08:00
Unknown W. Brackets
ccaa75ec53
Don't return an error for double tls free.
...
Apparently, that's a-okay.
2015-02-21 15:50:17 -08:00
Unknown W. Brackets
be1e7cfb37
Fix waiting tlspl result, address not block num.
2015-02-21 15:50:17 -08:00
Unknown W. Brackets
76dfbc7436
Clear tls blocks before alloc and after free.
...
The PSP actually does both, so let's do it too.
2015-02-21 15:50:16 -08:00
Unknown W. Brackets
abd03bd597
Fix size handling in sceKernelReferTlsplStatus().
2015-02-21 15:50:16 -08:00
Unknown W. Brackets
baca1ab901
Handle other threads properly when deleting tlspls.
2015-02-21 15:50:15 -08:00
Unknown W. Brackets
f52cb71300
Use an aligned blocksize for TLS.
2015-02-21 15:50:15 -08:00
Unknown W. Brackets
dd07a0596b
Free TLS on thread end.
...
PSP does this so we should too. Not yet cleaning up completely.
2015-02-21 15:50:14 -08:00
Unknown W. Brackets
4c15afa905
Allow multiple replacements on the same func.
...
Or, more specifically, hooks. This allows enter and exit on the same
func, which can obviously be useful for debugging.
2015-02-21 15:48:09 -08:00
Henrik Rydgard
879baec692
With this, Jak and Daxter works again (but does warn at startup and has one illegal GetPointer later).
...
I really don't understand what's going on..
2015-02-21 13:07:13 +01:00
Henrik Rydgard
1ecfd6cebc
More replacement function accuracy improvements. Makes J&D happy, "fixing" #7502 .
2015-02-20 00:17:47 +01:00
Henrik Rydgard
23492d8d90
Jak and Daxter relies on implementation details of memcpy (scary!), fix our replacement. Fixes #7502
2015-02-19 11:16:16 +01:00
daniel229
f8378d0d7f
sceSfmt19937 fix
2015-02-16 23:38:45 +08:00
Henrik Rydgard
7f51cd6003
Cleaner fix for compilation problem in SFMT.h, though had to patch it.
2015-02-15 23:14:54 +01:00
daniel229
aa4822bedb
Chang pointers type.
2015-02-15 19:05:34 +08:00
daniel229
763e684bf7
agains
2015-02-15 17:26:54 +08:00
daniel229
f3bd527bf5
build fix
2015-02-15 17:08:19 +08:00
daniel229
21b0c2992b
Implement sceSfmt19937 module.
2015-02-15 13:22:20 +08:00
Peter Tissen
ba96b7b31c
Just save the current config every time the config file is switched
...
also undo #7473 because it would now introduce redundant writes.
2015-02-14 19:21:26 +01:00
Peter Tissen
aa6985f5c2
Save after changing recent list
...
regarding #7472 . If this is not done then the config file (the main config,
the per-game config files do not have recent entries) is loaded when a game
with game-specific settings is touched.
2015-02-13 10:27:11 +01:00
daniel229
aec9e25be9
Another replace frame download in Photo Kano.
2015-02-12 20:36:17 +08:00
Henrik Rydgard
d6cf857a06
Make it impossible to set Auto Frameskip and Non-buffered together as they interact in a bad way
2015-02-09 23:11:45 +01:00
daniel229
4d304737d8
Replace frame download in Photo Kano.
2015-02-09 14:08:36 +08:00
daniel229
3c1644066e
update validAddresses range
2015-02-08 11:34:35 +08:00