Commit Graph
23807 Commits
Author SHA1 Message Date
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 1dfcbd0ea1 Reference g_Config in unittest to resolve cycle.
Dag blasted cross dependent linking.
2014-01-10 21:32:08 -08:00
Henrik Rydgård 947acb02da Merge pull request #5073 from unknownbrackets/mpeg-minor
Fix buffer queue when filled in one shot
2014-01-10 18:19:26 -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
Henrik Rydgård 628426bbd4 Merge pull request #5072 from unknownbrackets/psmf-epmap
Correctly read the epmap from the right place
2014-01-10 13:04:16 -08:00
Unknown W. Brackets 4a4f89eeac Correctly read the epmap from the right place. 2014-01-10 12:57:40 -08:00
Henrik Rydgård 26a700df57 Merge pull request #5067 from raven02/patch-19
Return PSP_ERROR_MPEG_NO_DATA when audio end reach
2014-01-10 09:22:30 -08:00
raven02 23704e9940 Return PSP_ERROR_MPEG_NO_DATA when audio end reach 2014-01-10 23:41:32 +08:00
Henrik Rydgård b1f177830c Minor logging improvement 2014-01-10 14:16:04 +01:00
Henrik Rydgård 024846cb7b Make Android "FrameCommands" quite a bit more robust. 2014-01-10 13:45:03 +01:00
Henrik Rydgård 4dbff7b2d0 Remove unnecessary logging in chunk_file.cpp 2014-01-10 13:29:56 +01:00
Henrik Rydgård 8886a9c0bb Merge pull request #5063 from raven02/patch-18
Check EPMap and return ERROR_PSMF_NOT_FOUND if empty
2014-01-10 04:06:28 -08:00
raven02 c2e6f77a2f Check EPMap and return ERROR_PSMF_NOT_FOUND if empty 2014-01-10 19:15:35 +08:00
Henrik Rydgård 5c41dd6f1e Merge pull request #5062 from unknownbrackets/thread-minor
Properly remove terminated threads from ready queue
2014-01-10 00:57:50 -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
Henrik Rydgård f45bddf9b6 Merge pull request #5060 from raven02/patch-17
Typo fix
2014-01-09 06:41:22 -08:00
raven02 898964e415 Typo fix 2014-01-09 22:34:02 +08:00
Henrik Rydgård ea41e0466b Merge pull request #5059 from raven02/patch-16
Return as ERROR_PSMF_INVALID_ID
2014-01-09 06:15:42 -08:00
Henrik Rydgård 9d76cf8d45 Merge pull request #5058 from shenweip/patch-18
Win32: Fix wrong menu item position.
2014-01-09 06:11:27 -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
shenweip b5d1ebf71d Win32: Fix wrong menu position. 2014-01-09 21:15:46 +08:00
Henrik Rydgård 5d4ac24858 Merge pull request #5000 from amirzaim/patch-6
Qt Linux buildfix for Qt 5.2.0
2014-01-09 04:33:29 -08:00
Henrik Rydgård 43828a84f1 Merge pull request #5056 from thedax/win32FixIWKOption
Win32: Remove keyboard hook and make the ignore Windows key option work properly.
2014-01-09 04:33:18 -08:00
Henrik Rydgård 8ac6ba17d7 Make the unittest build using CMake 2014-01-09 12:09:07 +01:00
The Dax c07702e7ef Win32 buildfix. 2014-01-08 19:11:32 -05:00
The Dax c8535ced2a Remove keyboard hook and make the ignore Windows key option work. 2014-01-08 19:08:32 -05: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
Henrik Rydgård e2c698806a Merge pull request #5050 from unknownbrackets/mem-fix
Fix savestates with non equal pspmodel, revert mpeg->gp
2014-01-08 01:39:11 -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 f6606e2e2b Win32: Add the option to the Game Settings menu, too, and add a separator in NewUI. 2014-01-07 16:08:11 -05:00
The Dax 9dc2a67076 Let's be consistent with our spacing and if's. 2014-01-07 16:02:00 -05:00
The Dax 8f86f5898a Add a comment for the keyboard hook. 2014-01-07 16:02:00 -05: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 Rydgard a387f6dd8b Also disable some weird axis events we get on Ouya from mapping. 2014-01-07 00:01:41 +01:00
Henrik Rydgard 5f2954bc69 Prevent the accelerometer from being mapped to controls directly until we can create sane UI for that. 2014-01-06 23:58:59 +01:00
Henrik Rydgard ad951bc0d4 Symbian buildfix 2014-01-06 19:21:27 +01:00
Henrik Rydgard 43a93f086d Enable depth buffer copies on GLES3 devices without breaking any desktop 2014-01-06 18:03:57 +01:00
Henrik Rydgård 32a1f1e944 Merge pull request #5023 from valef/android-shortcut
Android homescreen shortcut
2014-01-06 05:04:09 -08:00
Henrik Rydgard cf5c92f217 Update native 2014-01-06 14:03:46 +01:00
Henrik Rydgård fa55a39060 Merge pull request #186 from valef/android-shortcut
Android homescreen shortcut - native part
2014-01-06 05:02:14 -08:00
valef 06b22430f4 - Change SHORTCUT_EXTRA_KEY reference from NativeActivity to PpssppActivity. 2014-01-06 18:08:39 +07:00
valef 02b5bd339c - Moved SHORTCUT_EXTRA_KEY and shortcut query here.
- Call super.setShortcutParam(getIntent().getStringExtra(SHORTCUT_EXTRA_KEY))
before super.onCreate()
2014-01-06 18:08:38 +07:00