100 Commits
Author SHA1 Message Date
shenweip a174390c95 Corrects the calculation of the return value when the callback of RingbufferPut returns a negative value. 2020-12-28 10:38:27 +08:00
shenweip 20df3d2c8a Minor comment. 2020-12-14 00:42:09 +08:00
shenweip eeb51f2d59 Don't display data info as new data when saving done. 2020-12-14 00:37:57 +08:00
shenweip 721696b9bc Fixes incorrect date of savedata.
Updates the date to the latest.
2020-12-14 00:27:23 +08:00
shenweip 07685d5e0f Correctly handle stuffing data of pack header. 2020-11-25 00:13:31 +08:00
shenweip 6afeed877c Build fixes 2020-11-24 21:36:17 +08:00
shenweip be0449d16d Fixes state. 2020-11-24 17:28:31 +08:00
shenweip 9a85ab2c43 Writes target buffer address in multiple times.
Would be better to calculate read data length.
2020-11-24 17:15:26 +08:00
shenweip 235919f905 Try to implement some related funcs.
Marked as UNTEST.
2020-11-23 17:13:55 +08:00
shenweip 730d9f8fd9 Clean up. 2020-11-23 15:49:14 +08:00
shenweip 3380d31974 Mpeg:Checks autual available space before putting data. 2020-11-23 15:24:03 +08:00
shenweip f2bd0b9f6f Implements sceUsbCamGetMicDataLength. 2020-11-23 14:07:11 +08:00
shenweip c70c8cad6e Makes a distinction between blocking and non blocking modes. 2020-11-22 02:06:15 +08:00
shenweip aac4cbb1dc Changes the way of reading microphone data.
Feeds the microphone buffer continuously(Windows) and overwrites old data with new data when the buffer has no remaining space.
2020-11-22 01:17:25 +08:00
shenweip 0b64d58c7d Fix mistake. 2020-11-18 10:59:45 +08:00
shenweip a16e758f33 Corrects the number of added packets returned by sceMpegRingbufferPut, especially if callback is called multiple times. 2020-11-15 22:02:53 +08:00
shenweip 5e5f5d0164 Makes video streams amount meet the expectation of sceMpegRegistStream() not only the mpegheader. 2020-11-13 18:55:52 +08:00
shenweip 5819ef1f82 Reads all packets to ringbuffer.
Calls callback multiple times to read all packets when the write position reaches the boundary of the ringbuffer.
2020-11-13 18:50:09 +08:00
shenweip f5afd98226 When stops and unloads self module, make sure that the thread is properly deleted. 2020-10-31 23:25:52 +08:00
shenweip 6c5d4b5fc7 Log the return value. 2020-10-27 22:12:53 +08:00
shenweip 6717c2b55f Fixes mistake. 2020-10-27 20:58:07 +08:00
shenweip 807de037bb IMP sceKernelFindModuleByUID and sceKernelFindModuleByName. 2020-10-27 20:48:34 +08:00
shenweip eb5c22bbae SaveState:Don't register the event during Dostate. 2020-10-27 19:50:27 +08:00
shenweip e7147fdb09 Fixes savesate for usbmic.
Prevents audiobuf from being null pointer.
2020-10-24 21:06:36 +08:00
shenweip a0fe0e38c1 SwicthUMD:Only update Switch UMD item of Windows menu instead of entire UI. 2020-10-22 17:45:29 +08:00
shenweip c79d20ca07 DoState. 2020-10-19 16:57:51 +08:00
shenweip d940f80b88 PsmfPlayer:The status will not be changed until the delay result is finished. 2020-10-19 16:29:42 +08:00
shenweip 2d68dc1c16 Workaround for date bug in Car Jack Streets. 2020-10-11 16:19:06 +08:00
shenweip a66cb1237d Warning fixes. 2020-10-10 19:18:46 +02:00
shenweip 0eb9577562 Sets the maximum memory stick size to 32GB like a Memory Stick Duo. 2020-10-09 01:12:12 +08:00
shenweip af435794d7 Savedata:Skips non-directories in LISTALLDELETE mode.
Fixes https://github.com/hrydgard/ppsspp/issues/7685#issuecomment-703412467
2020-10-08 23:59:36 +08:00
shenweip 166035a87b Simulates memory stick size to get fixed free space.
Some games may be sensitive to the changes of free space of memory stick, and Android's free space is usually variable.
2020-10-08 23:51:56 +08:00
shenweip 81ad9a930a SaveData:Displays all saves like a PSP for LISTALLDELETE mode. 2020-10-05 00:00:28 +08:00
shenweip c84f9542d7 Savedata:Corrects the performances when the data is broken. 2020-10-01 15:41:27 +08:00
shenweip b8c1845e3a Savedata:Supports empty file name for save/load/delete. 2020-10-01 10:03:30 +08:00
shenweip 925944d5b2 Savedata:Improves the deleting functions. 2020-10-01 00:39:14 +08:00
shenweip 290efbc349 Check whether there may be more than one save file names by mode. 2020-09-15 21:48:55 +08:00
shenweip fbea8f438d Update symbol list of disassembly window when loadexec. 2020-09-12 19:45:25 +08:00
shenweip 766bd8e6bb Don't read data more than data size of pgd files. 2020-09-12 19:00:03 +08:00
shenweip 8b5530e626 Reschedule after resuming thread from suspend. 2020-09-01 19:10:57 +08:00
shenweip 0f45e17f09 Only clear when initializating kernelMemory and userMemory. 2020-08-29 19:51:11 +08:00
shenweip df82673116 Actually clear memory when initializating. 2020-08-29 15:26:44 +08:00
shenweip 77da51c418 Also correct the allocated size. 2020-08-05 19:01:00 +08:00
shenweip acc952d839 Correct the alignment size when allocate memory at a position. 2020-08-05 18:43:45 +08:00
shenweip e349eb803d Init parameters in __UsbMicInit to avoid incorrect initial state when you exit to menu from ingame.
Also use memcpy instead of a loop.
2020-08-02 00:22:22 +08:00
shenweip 5de721bb4c minor fix 2020-08-01 19:50:23 +08:00
shenweip fd619c9fc5 BuildFix 2020-07-31 19:19:51 +08:00
shenweip 107d58a74b Also partly implement in sceUsbCam. 2020-07-31 18:26:21 +08:00
shenweip d195cba837 Flush audio buffer when a transmission is completed. 2020-07-31 17:10:00 +08:00
shenweip 6d26bd6539 Do state. 2020-07-31 15:52:03 +08:00
shenweip 94aaf21ef2 Use UTF-8 code page to get the device names. 2020-07-31 10:25:26 +08:00
shenweip c7e2eba231 Add basic Microphone support on Windows. 2020-07-31 10:24:17 +08:00
shenweip d1cafd103c Use the alloc size from real PSP for FONT_OPEN_INTERNAL_STINGY mode. the 2020-07-22 23:47:29 +08:00
shenweip fc55d2b81b Correcting return value of some mipscalls without after action. 2020-03-18 16:58:07 +08:00
shenweip a286c657e3 Reset the useAllocCallbacks on font init. 2020-03-16 10:54:46 +08:00
shenweip cefecb12b7 Buildfix.
Buildfix2.
2020-03-16 10:22:09 +08:00
shenweip c7db6b6466 Merge branch 'master' into Font-alloc/free 2020-03-16 08:16:50 +08:00
shenweip ac56a8e93a Fix states. 2020-03-16 07:54:42 +08:00
shenweip 2f088d0970 No need to manually decide pending or not for mipscalls. 2020-03-16 07:46:13 +08:00
shenweip 3ffb20b66b Font:alloc/free memory for font file and char bitmap.
Following the guide of JPCSP.
2020-03-15 23:05:28 +08:00
shenweip 140cb43c8b Warning fix.
Fixes warning C4305 in VS.
2020-03-03 17:45:23 +08:00
shenweip 54de07d4ea Attempt to replace 0 frame width with valid frame width.(sceMpegAvcCsc)
Fixes #12627.
2020-03-03 17:15:14 +08:00
shenweip 41a53d70bd Rename func. 2020-02-27 19:21:27 +08:00
shenweip 6eb1d1b742 Check whether the audio is actually played in psmf player
Fixes #11898, some audio contained in pmf videos seem not be actually played by the games. current code prevents video from moving forward for waiting auido and sync, similar issue will happen.
2020-02-27 17:35:16 +08:00
shenweip 3f585782f1 Don't shut down camera when exiting games,also re-enumerating devices if
received WM_DEVICECHANGE.
2020-01-24 16:05:28 +08:00
shenweip 9becb4b72b BuildFix2 2020-01-14 18:12:28 +08:00
shenweip f39aa47e9b Oops 2020-01-14 17:30:15 +08:00
shenweip d1e354ce04 Improve compatibility.
Don't implemente on vista and UWP,they don't have a full support for this.
2020-01-14 17:15:11 +08:00
shenweip 5c4a1e00fc BuildFix 2020-01-14 08:19:44 +08:00
shenweip 034a257baf Add camera support for windows. 2020-01-13 15:06:02 +08:00
shenweip 8ccc7996b0 Don't check auAddr. 2020-01-05 22:37:29 +08:00
shenweip 4bc0274d53 Check invalid address in sceMpegAtracDecode.
Fixes #11026.
2020-01-05 22:11:43 +08:00
shenweip 9be8fc6c69 Oops. 2020-01-04 11:14:32 +08:00
shenweip 9fa4ae7b15 fix 2020-01-04 09:11:15 +08:00
shenweip 44660bd9ae Change async priority to current thread'priority if priority = -1. 2020-01-03 14:33:32 +08:00
shenweip 458f8cfac3 minor fix 2020-01-02 16:45:01 +08:00
shenweip 28bfc4c05d Avoid thread queue out of range by a offset.
This case will happen if thread priority is -1.
2020-01-02 16:03:48 +08:00
shenweip d09543ebd7 Move umd replace to loaders. 2020-01-02 14:56:24 +08:00
shenweip fb696f8a71 Just return error if current directory not be setted. 2019-12-25 11:16:56 +08:00
shenweip c3a489fa90 Don't ignore SCE_KERNEL_ERROR_NOCWD in many cases.
Use a error 1 to mean the uccessful mapping but carry with  SCE_KERNEL_ERROR_NOCWD error.
2019-12-13 17:59:55 +08:00
shenweip fd6b0554d6 IO:Re-grab SCE_KERNEL_ERROR_NOCWD.
Fix issue#12492,the issue occur since commit e09296b9b1
2019-12-13 11:15:58 +08:00
shenweip a6d511d123 IO:Add an extra delay to simulate umd delay in file seek whence.
Pangya(KS) seems want to check something base on this delay and system time.Anyhow, the game work now.
2019-12-13 08:19:17 +08:00
shenweip 1cb59eb76a Fix savedata. 2013-09-29 17:30:17 +08:00
shenweip 3e5b6e6200 Only use a separate btnmake. 2013-09-29 16:21:30 +08:00
shenweip 38e744b080 Add FXAA to menu item. 2013-09-29 16:08:52 +08:00
shenweip 3da79bdeae Fix savedata to support old savedata. 2013-09-27 23:57:08 +08:00
shenweip dbb16517d2 Forget DoState. 2013-09-27 23:10:31 +08:00
shenweip a883fbd155 Add some comments. 2013-09-27 23:01:27 +08:00
shenweip 7bb798edb6 Implemented sceUtilityGamedataInstallUpdate. 2013-09-27 22:52:25 +08:00
shenweip eb33037f3c Fix a bug that mouse cannot work correctly when maximize the window from 1x window size. 2013-09-26 00:19:13 +08:00
shenweip 43654e2a61 Use a separate latch for osk dialog. 2013-09-25 16:32:07 +08:00
shenweip b59636003d Don't push the second srcreen. 2013-09-25 01:37:25 +08:00
shenweip a8692d36fe Also receive "More Settings" or "Control Mapping" message in GameSettingsSreen and ControlMappingScreen. 2013-09-24 13:03:59 +08:00
shenweip c8603c01f8 Add "Remove From Recent" funtion,more convenient for the users. 2013-09-19 16:10:31 +08:00
shenweip 4986bf735b Inactivating GamedataInstallDialog in sceUtilityGamedataInstallUpdate
dialog in sceUtilityGamedataInstallUpdate

Forget this before.
2013-09-18 21:34:28 +08:00
shenweip 6bcf1705ec Typo 2013-09-18 18:19:08 +08:00
shenweip d0c5a721b0 fix wrong var name 2013-09-18 16:21:18 +08:00
shenweip 440b6197d7 Change DEBUG_LOG_REPORT to DEBUG_LOG and change internal funcs name as @unknownbrackets 's advice 2013-09-18 16:19:05 +08:00
shenweip a794f1536e Add a DEBUG_LOG_REPORT in sceJpegCsc 2013-09-18 14:07:58 +08:00
shenweip 1badbe502c Implemented sceJpegCsc,finally Monster Hunter 3rd'video works. 2013-09-18 14:07:21 +08:00