Commit Graph
14759 Commits
Author SHA1 Message Date
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
GreenBagelsandgreenbagels 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. Bracketsandgreenbagels 9d73a3b751 On breakpoint change, don't wait for core too long.
Fixes #6366.
2014-06-29 16:33:45 -04:00
Unknown W. Bracketsandgreenbagels da212fb33e Add an invalidate all method to the jit. 2014-06-29 16:33:45 -04:00
Unknown W. Bracketsandgreenbagels d7f77dee72 Check more ops for changing memory in debugger. 2014-06-29 16:33:44 -04:00
Unknown W. Bracketsandgreenbagels 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
Henrik Rydgård b379109380 Merge pull request #6450 from unknownbrackets/gpu-blocktransfer
Clear framebuffers/textures upon sceKernelLoadExec()
2014-06-29 01:48:34 +02:00
Unknown W. Brackets b4594c7bc5 Avoid Advance() twice, cleanup some comments. 2014-06-28 16:20:35 -07:00
Unknown W. Brackets b68ad3844e Simplify __KernelReSchedule().
It no longer needs all these checks, and we can Advance within callbacks,
interrupts, etc. safely.
2014-06-28 16:17:52 -07:00
Unknown W. Brackets 252100aee5 Remove outdated comment (real cause found/fixed.) 2014-06-28 16:06:10 -07:00
Unknown W. Brackets 0edeb085ab Allow rescheduling within callbacks. 2014-06-28 14:58:56 -07:00
Unknown W. Brackets ac2c44ddd9 Revert the early wake of threads for io waits.
This reverts commit 610ada8721.

It makes sense to let these run longer.  Apparently this caused problems
in Castlevania, see #6432.
2014-06-28 12:29:55 -07:00
Unknown W. Brackets 745c453b33 Remove hleAfterCheckAllCallbacks().
Not being used, doesn't make sense - rescheduling is what does that, only.
2014-06-28 03:10:30 -07:00
Unknown W. Brackets 10096b94f2 Correctly remember callback status when sleeping.
If a callback triggered right away after a sceKernelSleepThreadCB(), it
would trigger the "current callback" and remember callback status as
false, instead of true (since it was set later.)

This corrects that by ignoring it if both are set.
2014-06-28 03:06:30 -07:00
Henrik Rydgård 9351fe44ea Merge pull request #6444 from unknownbrackets/jit-minor
Use more correct rounding in armjit, update x86jit and minor
2014-06-28 11:20:11 +02:00
Unknown W. Brackets f008bebab4 armjit: Fix floor/ceil/cvt.w.s rounding.
Unfortunately, correctly rounding is probably slower.
2014-06-28 00:38:57 -07:00
Unknown W. Brackets f544a87b2f jit: Initialize startDefaultPrefix when switching. 2014-06-28 00:38:56 -07:00
Unknown W. Brackets 27870aa593 x86jit: Map HI/LO as registers.
Not actually ever cached, but now it's all consistent.
2014-06-28 00:38:56 -07:00
Unknown W. Brackets bc3d789c8a x86jit: Cache the vfpu compare flags in a reg.
Again, to match armjit.
2014-06-28 00:38:55 -07:00
Unknown W. Brackets acad2e1763 x86jit: Cache fpcond in a register.
Mostly to match armjit.
2014-06-28 00:38:55 -07:00
rnynoise 99a01c3dba Update CwCheat.cpp fixed button-contrl cheat code
fixed error in "0xD" code, "button-contrl" cheat code should work now.
2014-06-28 13:19:42 +08:00