Commit Graph
13802 Commits
Author SHA1 Message Date
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
Henrik Rydgard 2d05b6e5e8 bugfix: Strdup the generated mac address 2014-06-30 01:08:45 +02:00
Unknown W. Brackets 32a11dc28d Minor optimization for prescale/not, fix switch. 2014-06-29 15:47:00 -07:00
Unknown W. Brackets 596abeca06 Use the same vertex decoders for splines.
Had the vert type bits at the top.
2014-06-29 15:46:59 -07: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
Henrik Rydgård 69a89feaba Merge pull request #6466 from Kingcom/Symbols
Add options to import/export .sym files from the menu
2014-06-30 00:03:25 +02:00
Kingcom dc80123b93 Add options to import/export .sym files from the menu 2014-06-30 00:02:22 +02:00
Henrik Rydgard b9013d7b6b Oops, update native too 2014-06-29 23:31:22 +02:00
Henrik Rydgard 01cb22f16a Windows: Add WM_CHAR input support (not used for anything yet).
Some unicode cleanup.
2014-06-29 23:30:40 +02:00
Henrik Rydgård 9919126e0a Merge pull request #6464 from unknownbrackets/timing
Fix core timing when an event eats cycles
2014-06-29 23:21:07 +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
Henrik Rydgård 5798810116 Merge pull request #6463 from thedax/win32-fullscreen-tweak
Win32: Go fullscreen before showing the window to avoid an ugly artifact.
2014-06-29 22:35:26 +02: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
The Dax be223d4c9c Win32: Go fullscreen before showing the window to avoid an ugly artifact. 2014-06-29 16:24:54 -04:00
Henrik Rydgard f127bb715b Revert "Windows: Get rid of that silly inner "display" window. Should be zero functional change."
Should help #6295.

This reverts commit 281ff6ce2a.

Conflicts:
	Windows/WindowsHost.cpp
	Windows/WndMainWindow.cpp
2014-06-29 22:13:53 +02:00
Henrik Rydgard 56cee3c00e Prevent rendering and multiple WM_SIZE events when switching between windowed and fullscreen
May help #6295 but also it may not, I can't test it as I don't have that GPU.

Also gets rid of some outdated code.
2014-06-29 21:08:20 +02:00
Henrik Rydgard 498136bbf8 Switch to vertical layout automatically as the window is being resized
Prevents ending up in the wrong layout on startup and being unable to fix it
without restarting the emulator.
2014-06-29 21:08:19 +02: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
Henrik Rydgård 7e83d1820b Merge pull request #6456 from unknownbrackets/gpu-minor
Allow changing software skinning and prescale uv at runtime
2014-06-29 11:02:29 +02:00
Henrik Rydgård 6c7c5a87ff Merge pull request #6459 from unknownbrackets/gllost-fix
Move GL lost manager to NativeInit/NativeShutdown
2014-06-29 10:38:57 +02:00
Unknown W. Brackets ec0c0f7af0 Move GLLost to NativeInit/NativeShutdown.
Otherwise, we clear the registered holders when the display turns off, and
never remember them.  This causes the vertex cache to stop working, for
example.
2014-06-29 01:09:15 -07:00
Unknown W. Brackets 95f4341838 Allow changing prescale uv at runtime. 2014-06-28 21:51:25 -07:00
Unknown W. Brackets 1c3b60a8ee Allow changing software skinning at runtime. 2014-06-28 21:46:43 -07:00
The Dax bfab461fc4 Hide various UI options related to recent games when iMaxRecents < 0. 2014-06-28 23:44:24 -04: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
Henrik Rydgård 3450a20031 Merge pull request #6452 from unknownbrackets/callbacks
Allow rescheduling within a callback
2014-06-29 01:46:03 +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 d2d7d6e34b Destroy all FBOs/textures upon sceKernelLoadExec().
It can confuse our heuristics about size, attachment, memcpy, etc.
2014-06-28 12:29:09 -07:00
Unknown W. Brackets 63bcb65d96 Height can be equal, just not greater.
Oops.
2014-06-28 03:41:44 -07:00
Henrik Rydgård 26499c9ca9 Merge pull request #6447 from unknownbrackets/callbacks-fix
Fix callback status forgotten by sceKernelSleepThreadCB() and others
2014-06-28 12:16:29 +02: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 081bdd7c9f Merge pull request #6446 from unknownbrackets/gpu-blocktransfer
Make sure we don't try to download too-tall buffers
2014-06-28 12:05:02 +02:00