Commit Graph
14343 Commits
Author SHA1 Message Date
Unknown W. Brackets 610b7f6e4c Fix cross-platform compat problem with savestates. 2014-01-15 08:03:37 -08:00
sum2012 3bf2fcacf0 Make Log display Windows 32 or 64 bit
Some games have problem in windows 64 bit
2014-01-15 22:02:47 +08:00
Henrik Rydgard ef56298ab6 Revert "Merge pull request #5106 from shenweip/patch-1"
This reverts commit 91a355b642, reversing
changes made to 82395001ec.
2014-01-14 19:31:09 +01:00
shenweip 1fc52a321d Fix savestate. 2014-01-15 00:32:14 +08:00
shenweip 4af78a3164 Don't change video/audio streams in sceMpegGet *AU. 2014-01-15 00:24:22 +08:00
shenweip a55771e643 Fix typo. 2014-01-15 00:17:36 +08:00
shenweip 3773122316 Tell media engine to change channel when psmf specifi stream. 2014-01-15 00:17:00 +08:00
Henrik Rydgård 278224f89d Merge pull request #5100 from unknownbrackets/sas-minor
Key off the envelope when the VAG/etc. ends
2014-01-14 00:45:04 -08:00
Unknown W. Brackets 4102e649d5 Key off the envelope when the VAG/etc. ends.
Fixes Yu-Gi-Oh Tag Force GX 3 hanging in some places.
2014-01-13 21:42:42 -08:00
Henrik Rydgård 194a5f98a1 Merge pull request #5096 from raven02/patch-25
Use HLE_NOT_IN_INTERRUPT for sceKernelGetThreadId()
2014-01-13 07:47:53 -08:00
Henrik Rydgård 56a1787510 Merge pull request #5097 from shenweip/patch-19
Fix buffer queue again.
2014-01-13 06:57:54 -08:00
raven02 6e21b4eaf5 Use HLE_NOT_IN_INTERRUPT for sceKernelGetThreadId() 2014-01-13 21:53:15 +08:00
shenweip dc0d221900 Fix buffer queue. 2014-01-13 21:44:05 +08:00
Unknown W. Brackets bf37e55b9f Don't return latched framebuf if not latched. 2014-01-12 23:29:03 -08:00
Henrik Rydgård 108d592461 Merge pull request #5092 from unknownbrackets/module-minor
Try to implement the unload/stop self module func
2014-01-12 13:56:19 -08:00
Unknown W. Brackets 3d75b4e918 Try to implement the unload/stop self module func.
A game might call this when it uses multiple modules in a normal, not
crashing, sort of situation.

This may help Killzone Liberation or Resistance.
2014-01-12 13:51:43 -08:00
Henrik Rydgård b9a2e94c26 Merge pull request #5091 from thedax/fixPeaceWalkerHang
Win32: Fix infinite loading on Peace Walker
2014-01-12 12:36:44 -08:00
The Dax f9348b96b7 Add more WLAN off behaviour. Without these, Peace Walker loads forever on subsequent missions on Windows. 2014-01-12 15:33:29 -05:00
raven02 e757559cbc Remove duplicate 2014-01-12 23:29:49 +08:00
Unknown W. Brackets 4f585fd7a6 Fix a few minor typos. 2014-01-11 22:59:52 -08:00
Unknown W. Brackets bc7bc87941 The total size of umd0: is in blocks.
Therefore sceIoLseek(umd0:, 0, 2) should return the number of blocks, not
the number of bytes, in the iso.

Looks like this may help Zero no Kiseki.
2014-01-11 08:34:04 -08:00
Unknown W. Brackets 79864a5ee0 Fix some initialization order warnings. 2014-01-10 22:21:24 -08:00
Unknown W. Brackets a651e09de7 Fix a bad comparison (&& and || without parens.)
I thinks this is what's inteded.  I still think it's bad to guess at errors without testing.
2014-01-10 22:12:00 -08:00
Unknown W. Brackets 2a9e674045 Reset "no audio data" flag when adding more data.
It might have audio data.  Although, probably, we should detect this when
sceMpegGetAtracAu() is called.
2014-01-10 16:15:03 -08:00
Unknown W. Brackets 7287da38cb Fix buffer queue when filled in one shot.
It would mod by the size and think it was empty, even though it had plenty
of data.  This could happen if a game creates a ringbuffer with 512
packets and then does a single put operation with 512 packets.

Such behavior is rare though, since it will cause lag in starting the
video.
2014-01-10 16:13:34 -08:00
Unknown W. Brackets 4a4f89eeac Correctly read the epmap from the right place. 2014-01-10 12:57:40 -08:00
raven02 23704e9940 Return PSP_ERROR_MPEG_NO_DATA when audio end reach 2014-01-10 23:41:32 +08:00
raven02 c2e6f77a2f Check EPMap and return ERROR_PSMF_NOT_FOUND if empty 2014-01-10 19:15:35 +08:00
Unknown W. Brackets 1a38f6fa7d Properly remove terminated thread from ready queue.
If we change the priority first, we'll remove from the wrong priority
level, oops.  Gotta change afterward.

Should improve Darkstalkers Chronicle: The Chaos Tower.
2014-01-09 22:05:04 -08:00
raven02 898964e415 Typo fix 2014-01-09 22:34:02 +08:00
raven02 451797af92 Add ERROR_LOG for invalid id and timestamps 2014-01-09 21:37:01 +08:00
raven02 9ac8c63d96 Make more sense to use return as ERROR_PSMF_INVALID_ID 2014-01-09 21:30:49 +08:00
Henrik Rydgård 51484e48a9 Merge pull request #5043 from thedax/win32IgnoreWindowsKeyOption
Win32: Add an option to disable the Windows key when the emulator is the active window.
2014-01-08 10:46:47 -08:00
Henrik Rydgård c176d09ba6 Fix a few range checks in scePsmf. See #5051 2014-01-08 14:20:20 +01:00
Henrik Rydgård a113abd0d6 Merge pull request #5040 from zack-vii/NextSlotKey
"Next Slot" control mapping
2014-01-08 01:39:38 -08:00
Unknown W. Brackets 079d770ce2 Revert the gp struct member in mpegs for now.
Unlikely to be used, even though seen in tests, and could be
causing #5045 (just a guess.)
2014-01-08 00:07:25 -08:00
Unknown W. Brackets d09575f25e When loading a savestate with more ram, realloc.
Also, I'm not sure the extra ram is being handled correctly, I think it's
not meant to be exposed to games except homebrew, not sure of the exact
method...
2014-01-08 00:06:27 -08:00
raven02 4c26b839f4 Fix corrupted frames in Dainiji_Super_Robot_Taisen_Z_Hakaihen 2014-01-08 05:40:37 +08:00
The Dax 9d2868b7ce Win32: Add option to disable the Windows key. 2014-01-07 16:02:00 -05:00
zack-vii 26fbb4c32c "Next Slot" control mapping
-added "Next Slot" to control mapping menu
-added VIRTKEY_NEXT_SLOT -> incremented VIRTKEY_TOGGLE_FULLSCREEN
-added SaveState::NextSlot(); as replacement for code in
WndMainWindow
-added entry in EmuScreen using SaveState::NextSlot();
2014-01-07 15:56:04 +01:00
Henrik Rydgard eea5b07e1a Prevent function replacer from replacing asinf and acosf, they seem to have colliding hashes in some games 2014-01-07 12:03:59 +01:00
Henrik Rydgård 9f4feafe10 Merge pull request #5027 from unknownbrackets/mpeg-minor
Correct some basic mpeg functionality to match tests
2014-01-06 01:20:39 -08:00
pal1000 e7672655d3 Fix warning in MIPS/MIPSAnalyst.cpp 2014-01-06 10:48:52 +02:00
Unknown W. Brackets 40745e727c Correct errors in sceMpegRingbufferAvailableSize(). 2014-01-05 23:12:16 -08:00
Unknown W. Brackets a896877449 Fix mpeg struct header. 2014-01-05 23:03:17 -08:00
Unknown W. Brackets e16602641c Improve errors in sceMpegRingbufferConstruct().
And also make Destruct() not actually null out the ringbuffer, per tests.
2014-01-05 22:34:11 -08:00
Henrik Rydgård cb28d332d3 Merge pull request #5021 from unknownbrackets/mbx-fix
Remove weird 991 mbx check (fixes #2927)
2014-01-05 08:14:09 -08:00
Unknown W. Brackets 116f86a8e8 Remove weird 991 mbx check (fixes #2927.) 2014-01-05 08:10:36 -08:00
raven02 1e3ec469fd Typo fix 2014-01-05 08:46:50 +08:00
Henrik Rydgård 4d477f0076 Merge pull request #4997 from raven02/patch-4
sceMpeg: Add all missing invalid memory check and cleanup format
2014-01-04 07:59:52 -08:00