Commit Graph
6274 Commits
Author SHA1 Message Date
Unknown W. Brackets a5b0901c36 Improve cross-platform savestate compat.
If 0 files are open in flash0:, which is very very common, this will make
them work the same.
2014-07-04 13:34:38 -07:00
Sacha 135c79ee78 Implement sceGzipDecompress and sceDeflateDecompress. Some games (eg. Suto Mani / Strobe Mania) required this. They are now playable. Fixes #146 2014-07-03 13:58:47 +10:00
Karen Tsai 1d1096633f Removed some extraneous tabs in sceKernelModule.cpp 2014-07-02 13:21:27 -04:00
Henrik Rydgård da32e5d4e3 Merge pull request #6481 from sum2012/sceKernelModule
Correct sceKernelSelfStopUnloadModule
2014-07-02 18:30:38 +02:00
Unknown W. Brackets f835c158a3 Also fire mhz change listeners on load state. 2014-07-02 08:19:49 -07:00
Unknown W. Brackets 2d54c1cf4e Reset the audio rate on save/load state.
Should fix #6484.
2014-07-02 08:11:26 -07:00
sum2012 96c6a53e58 Fix space bug 2014-07-02 20:27:17 +08:00
sum2012 0256c7e056 Use with same code with sceKernelStopUnloadSelfModuleWithStatus 2014-07-02 20:08:27 +08:00
Unknown W. Brackets b73c1ba29b Reduce audio drift from 44.1kHz.
Although, not sure what the PSP's actual exact timing is...
2014-07-01 23:08:38 -07:00
Unknown W. Brackets f5440c2357 Fire a callback when cpu mhz changes.
So these can adjust efficiently.  It's not like it changes often.
2014-07-01 23:01:30 -07:00
Unknown W. Brackets 0f7f00c635 Play it safer with savedata dialog thread safety. 2014-07-01 22:52:51 -07:00
sum2012 eecd9038cd Init exitCode variable 2014-07-02 08:00:41 +08:00
sum2012 bc4a9149d3 Correct sceKernelSelfStopUnloadModule
Fix #4237
2014-07-02 07:25:49 +08:00
Unknown W. Brackets e505655c2b Fix a potential crash/race condition.
If anything is behind, it might run __AudioWakeThreads() within
reschedule, and get confused.
2014-07-01 08:02:34 -07:00
Unknown W. Brackets 5cd4a17e88 Fix periodic events drifting when eating cycles.
Need to set the next timer before rescheduling threads or etc.
2014-07-01 00:26:15 -07:00
Unknown W. Brackets e9fd43b947 Correct cyclesLate if an event consumes cycles.
This can prevent things from drifting out of sync.
2014-07-01 00:26:14 -07:00
Sacha 86284aa91a Fix #6477 by sleeping for 16ms when minimized. 2014-07-01 13:29:39 +10:00
Unknown W. Brackets c0e6f26bb5 Fix startDefaultPrefix tripping.
We want the regs already initialized when we set this up.
2014-06-30 08:10:14 -07:00
Henrik Rydgård cca896b0e4 Merge pull request #6468 from unknownbrackets/savedata
Execute savedata operations on a thread, notify of failure
2014-06-30 14:07:06 +02:00
Henrik Rydgård bfffe33438 Merge pull request #6469 from unknownbrackets/logging
Enforce semicolons at the end of log lines
2014-06-30 11:44:02 +02:00
Henrik Rydgård 7c54a3e8b6 Merge pull request #6470 from unknownbrackets/armjit-minor
Use the ARM rounding mode flag for conversions
2014-06-30 11:43:00 +02:00
Unknown W. Brackets c6f5ddd7a4 Reset replacements on loadexec.
Just to make sure we don't get confused.
2014-06-30 00:27:05 -07:00
Unknown W. Brackets 433f4eb00a Use the ARM rounding mode flag for conversions.
It's at least much simpler.  Not sure if faster.  Handles NAN correctly.
2014-06-29 20:36:00 -07:00
Unknown W. Brackets f339f7d539 armjit: Handle NAN correctly in float conversion. 2014-06-29 20:05:59 -07:00
Unknown W. Brackets c168db5943 armjit: Fix really bad typo in cvt.w.s. 2014-06-29 19:43:17 -07:00
Unknown W. Brackets 0a33eb4c42 Fix missing log semicolons only affecting logging. 2014-06-29 19:09:39 -07:00
Unknown W. Brackets 0078faef8b Fix some log semicolons that might affect logic.
But, these should all be right.
2014-06-29 19:09:38 -07:00
Unknown W. Brackets 5db79dcf11 Fix some missing semicolons on log statements. 2014-06-29 19:09:37 -07:00
Unknown W. Brackets 01d3dcdc99 Prevent a possible race condition in save/load. 2014-06-29 17:44:56 -07:00
Unknown W. Brackets e3c6876365 Show a message when saving/loading fails. 2014-06-29 17:42:20 -07:00
Unknown W. Brackets 553c870ee9 Execute savedata io on a separate thread.
Some savedata is sorta large, like 1MB, this makes it save more smoothly.
2014-06-29 17:32:57 -07:00
Unknown W. Brackets 51909a3256 Separate out io actions from save dialog display. 2014-06-29 17:07:04 -07:00
Henrik Rydgard 2d05b6e5e8 bugfix: Strdup the generated mac address 2014-06-30 01:08:45 +02:00
Henrik Rydgård 4c0f4f2e38 Merge pull request #6467 from GreenBagels/init-rand-mac
Change RandMAC function call to function pointer
2014-06-30 00:40:52 +02:00
GreenBagels c006bbd51b Change RandMAC function call to function pointer
Left out .str() stringstream function

No need for forward declaration

Left an extra pair of parenthesis on CreateRandMAC

Something deleted a )...
2014-06-29 18:27:03 -04:00
Kingcom dc80123b93 Add options to import/export .sym files from the menu 2014-06-30 00:02:22 +02:00
Unknown W. Brackets 893188acb3 Fix core timing when an event eats cycles. 2014-06-29 14:15:56 -07:00
Henrik Rydgård 4d1f326997 Merge pull request #6376 from GreenBagels/rand-mac-option
Initialize with random MAC
2014-06-29 22:53:33 +02:00
greenbagels 9568dffee6 revert some accidenal commits 2014-06-29 16:49:31 -04:00
GreenBagels c4ced7a835 Forward Declaration of OnRandomMACAddress added.
Added function to create random MAC

...added headers needed for CreateRandMAC

Defined function to create a random MAC

Added in option to randomize MAC address

Changed uint_16 to u16 from CommonTypes.h

Fixed case sensitivity. Woo!

QT -= gui caused <QTGui/QImage> to not be found

undo unnecessary change

undo the undo

removed random option, fixed spacing

removed forward declaration

Changed default mac to random one

Added in several STL includes: iostream, sstream.
CreateRandMAC is now only used for initial runs, no more random option.

Removed unneeded headers

Moved ctime and cstdlib to the cpp file

Added in random MAC function call

Update Config.cpp

Revert "undo the undo"

This reverts commit e21852961806727230dca31ceb5193ee2f298c7b.
2014-06-29 16:39:53 -04:00
Unknown W. Brackets 9d73a3b751 On breakpoint change, don't wait for core too long.
Fixes #6366.
2014-06-29 16:33:45 -04:00
Unknown W. Brackets da212fb33e Add an invalidate all method to the jit. 2014-06-29 16:33:45 -04:00
Unknown W. Brackets d7f77dee72 Check more ops for changing memory in debugger. 2014-06-29 16:33:44 -04:00
Unknown W. Brackets dcf1ce7f01 Fix a few minor warnings. 2014-06-29 16:33:44 -04:00
Sacha 8a7573004d Use UpdateRunLoop to handle input and detect minimized window for all platforms. 2014-06-30 00:17:34 +10:00
Henrik Rydgard 3cdf53732b Make the emuthread idle when minimized on Windows. 2014-06-29 13:11:58 +02:00
Henrik Rydgard 38609f3e6b Cleam up thread names a bit, name the Main thread.
Also makes some logging VERBOSE.
2014-06-29 12:53:03 +02:00
Henrik Rydgård fe4246452c Merge pull request #6455 from thedax/ui-minor
Let the user disable the recent tab altogether when iMaxRecent is < 0.
2014-06-29 11:32:41 +02:00
Unknown W. Brackets 1c3b60a8ee Allow changing software skinning at runtime. 2014-06-28 21:46:43 -07:00
The Dax 24743785a5 Let the user disable the recent tab altogether when iMaxRecent is < 0. 2014-06-28 23:21:36 -04:00