Unknown W. Brackets
37fb64ac83
Fast path scratchpad too, shouldn't be expensive.
2013-01-19 11:11:45 -08:00
Unknown W. Brackets
72e547420d
Refactor jit slowmem, add lbu to jit since easy.
2013-01-19 11:11:45 -08:00
Unknown W. Brackets
5305017fc3
Properly save registers before the slowmem call.
2013-01-19 11:11:44 -08:00
Unknown W. Brackets
f1295f6262
Don't muck with currentMIPS->r in the slowmem jit.
2013-01-19 11:11:44 -08:00
Henrik Rydgard
8ff96bbcd8
Defer vertex decoding until flush. Track draw calls so that they can be cached later.
2013-01-19 17:05:50 +01:00
raven02
79d9f25e92
Display AM/PM and 12 hour format
2013-01-19 23:49:42 +08:00
raven02
7961197dac
Cosmetic fix PSPSaveDialog::DisplayConfirmationYesNo
2013-01-19 23:05:05 +08:00
raven02
b0868613bb
Add DoState() to scePsmfPlayer .
2013-01-19 21:07:50 +08:00
Henrik Rydgard
229d4e9f32
Buildfix
2013-01-19 13:10:52 +01:00
Henrik Rydgard
3ae4cd4e2a
Correct an include path
2013-01-19 11:43:31 +01:00
Henrik Rydgård
c20cef2399
Merge pull request #440 from unknownbrackets/jit-minor
...
Micro optimizations to x86 jit mem when fastmem is off
2013-01-19 02:04:34 -08:00
Unknown W. Brackets
2ad77aa9c8
Gotta flush before the call, too.
2013-01-19 01:53:11 -08:00
Henrik Rydgård
ea963f80ed
Merge pull request #437 from raven02/master
...
Implement couples of scePsmf and scePsmfPlayer functions
2013-01-19 01:17:04 -08:00
Henrik Rydgård
f93f348a46
Merge pull request #439 from unknownbrackets/jit-minor2
...
Jit breakpoints (x86 only)
2013-01-19 01:15:37 -08:00
Henrik Rydgard
0eeca3e9e4
Change background color of dialogs to a more psp-like transparent gray. Can be tweaked further of course.
2013-01-19 10:10:26 +01:00
Unknown W. Brackets
09422d5adb
Avoid a func if possible when fastmem is off.
2013-01-19 01:02:47 -08:00
Unknown W. Brackets
bc75b68c36
Also jit sh and lhu, which are pretty common ops.
2013-01-18 23:10:51 -08:00
Unknown W. Brackets
d5ae85201c
Optimize sw/lw even under safe memory.
...
They're very common instructions, so shaving cycles helps.
2013-01-18 23:10:50 -08:00
raven02
d1ec43bc64
Implement couples of scePsmf and scePsmfPlayer functions
2013-01-19 14:42:37 +08:00
Unknown W. Brackets
11c5cdfdb0
Refactor out all the CheckJitBreakpoint()s.
...
Ah, much cleaner.
2013-01-18 21:33:23 -08:00
Unknown W. Brackets
5080285e54
Add breakpoints for delay slots.
...
Wanted to do this in CompileAt(), darn not nice delay slots.
2013-01-18 21:12:58 -08:00
Unknown W. Brackets
40ae3dfe45
Correctly break at branch points in x86 jit.
2013-01-18 21:12:53 -08:00
Unknown W. Brackets
beac991a9e
Clear jit cache when changing breakpoints.
...
For now, only when paused. I don't think clearing the cache while
running is an awesome idea.
2013-01-18 20:12:53 -08:00
Unknown W. Brackets
a9293c8923
Add breakpoints to x86 jit for easier debugging.
...
They should be really fast so leaving them on in release.
2013-01-18 20:10:37 -08:00
Xele02
1f4f5eaf9a
Add fade in / out on dialog to allow time for the user to release
...
button.
2013-01-19 00:46:05 +01:00
Xele02
bf7f6d54cb
Use "newData" from request which is the PNG icon for empty save.
2013-01-18 22:24:13 +01:00
Unknown W. Brackets
76e693f674
Cleanup the other vpl functions.
2013-01-18 01:38:15 -08:00
Unknown W. Brackets
43c8726554
Oops, 0 is a valid timer id.
2013-01-18 01:38:14 -08:00
Unknown W. Brackets
0db19f8c8e
Actually wake up threads on vpl free.
2013-01-18 01:38:14 -08:00
Unknown W. Brackets
4a56873541
Properly wake semaphores in priority order.
2013-01-18 01:38:13 -08:00
Unknown W. Brackets
4c510b5649
Clean up sceKernelFreeVpl(), not waking yet.
2013-01-18 01:38:13 -08:00
Unknown W. Brackets
c8bb837996
Implement basic waiting for VPL allocation.
...
Always times out so far, though.
2013-01-18 01:38:13 -08:00
Unknown W. Brackets
592a83b081
Make sure BlockAllocator doesn't get off grain.
...
This should fix spurious warnings about AllocAt() when loading a game.
2013-01-18 01:38:12 -08:00
Unknown W. Brackets
dcd3045cd5
Always use -1 for failed allocs in block allocator.
...
Before it used 0 and -1, confusing.
2013-01-18 01:38:12 -08:00
Unknown W. Brackets
373f1f8655
Cleanup sceKernelCreateVpl() and add warns/errors.
2013-01-18 01:38:11 -08:00
Unknown W. Brackets
7d0e78b0f0
Revert part of 289b0eb
which broke some games.
...
Although defAction isn't a good solution, removing it outright seems
to break things.
2013-01-18 01:22:48 -08:00
Xele02
86d70a3161
Update dialog display and return code depending of request version.
2013-01-17 23:30:45 +01:00
Sacha
5552f93fca
Fixes for Qt, Symbian and Blackberry. Reorder and remove some redundant ArmEmitter includes so that _SP doesn't conflict.
2013-01-17 11:00:07 +10:00
Henrik Rydgård
5e876f4308
Merge pull request #432 from raven02/master
...
Add couple of sceIoIoctl commands and misc stubs
2013-01-17 05:32:10 -08:00
raven02
289b0eb81e
Add/update stubs in sceIo
2013-01-17 20:05:45 +08:00
Unknown W. Brackets
74cce1439b
Allow downcount to be negative.
...
This fixes threads/alarm/alarm and ctrl/sampling2/sampling2, which were
broken in 674911dd
.
The downcount can go negative for a few reasons, and was signed before.
2013-01-17 01:14:49 -08:00
Unknown W. Brackets
65568b54b6
Let's actually call Init/Shutdown in CoreTiming.
2013-01-17 01:12:40 -08:00
Henrik Rydgård
f493aad0fe
Merge pull request #425 from raven02/g3d-log
...
Minor fix disable G3D log at startup
2013-01-16 00:08:09 -08:00
Henrik Rydgård
e23365dfa9
Merge pull request #430 from unknownbrackets/thread-funcs
...
Remove some thread stack hacks that aren't needed.
2013-01-15 23:40:19 -08:00
Henrik Rydgård
3135c218f8
Merge pull request #429 from hrydgard/armjit
...
Arm JIT - merge to master
2013-01-15 23:39:29 -08:00
Unknown W. Brackets
8c07a5c87f
Remove some thread stack hacks that aren't needed.
2013-01-15 19:46:52 -08:00
raven02
829ae42717
Quick fix to PSPSaveDialog::DisplayBack()
2013-01-16 08:46:41 +08:00
raven02
fb25584cd8
Minor fix to save/load dialog matching to PSP
2013-01-16 08:39:31 +08:00
raven02
dde889d2e3
Minor fix disable G3D log
2013-01-16 08:37:41 +08:00
Henrik Rydgård
2f758d515b
Merge branch 'master' into armjit
2013-01-15 22:41:02 +01:00
Henrik Rydgard
e34288070c
Don't flush the icache from the start, also don't sleep. May help JIT slowdowns.
2013-01-15 20:42:45 +01:00
Sacha
4ab88cad12
Qt code refactor. Stage 1 in a code refactor. Removed NativeApp.cpp redundancy (since the Qt code reimplemented almost all of it). Changed to Qt types where logical. Cleaned up globals. Start of work at integrating more of the Qt code in to native/ (where GUI should be).
2013-01-16 02:20:21 +10:00
raven02
5ca532646c
Revert component order change for PPGeDraw
2013-01-15 16:50:52 +08:00
raven02
622627f69a
Match PSP savelist and transparent dialog
2013-01-15 08:12:52 +08:00
Henrik Rydgard
74a46f60ed
Initialize downcount.
2013-01-14 23:03:37 +01:00
Henrik Rydgard
66ee2e2933
Remove ArmABI.cpp/h, didn't need that stuff.
2013-01-14 22:19:18 +01:00
Henrik Rydgard
8ce9ce10bf
Merge branch 'master' into armjit
...
Conflicts:
Common/ArmEmitter.h
Common/CPUDetect.cpp
2013-01-14 20:46:17 +01:00
Henrik Rydgard
7271e3fcd5
Fix fog and stencil buffer clearing. The latter fixes the sky in MotoGP.
2013-01-14 20:44:11 +01:00
Henrik Rydgard
0a374047b1
initial implementation of vh2f, used in Saint Seiya
2013-01-14 20:44:10 +01:00
Sacha
dde656ddc6
Improve Qt build. Fix for pandora build. Only show controls overlay by default for mobile platforms (Qt).
2013-01-15 01:13:53 +10:00
Henrik Rydgård
ec6c2428a9
Merge pull request #414 from raven02/master
...
Match real PSP save/load/delete dialog
2013-01-14 04:07:55 -08:00
raven02
8a1f90c38e
Display underline using PPGeDrawRect
2013-01-14 08:45:53 +08:00
Xele02
fd301a000a
Implement Qt window like Windows version.
2013-01-14 00:29:42 +01:00
Henrik Rydgard
ae20d6c00f
Constify some tables
2013-01-13 20:38:52 +01:00
Henrik Rydgård
21b93d33cd
Merge pull request #405 from raven02/g3d-log
...
Add disable G3D log to option menu , make default false
2013-01-13 08:34:28 -08:00
Henrik Rydgard
6d29052e42
oops
2013-01-13 17:10:59 +01:00
Henrik Rydgard
7b113aaea5
Move vCount++ back. Makes more sense here too IMHO.
2013-01-13 16:47:41 +01:00
Henrik Rydgard
8277d901e2
Smash some memory leaks
2013-01-13 16:46:45 +01:00
raven02
863b2c8272
Match PSP save/load/delete dialog
2013-01-13 23:45:32 +08:00
Henrik Rydgard
338a73472b
Buildfix
2013-01-13 12:49:54 +01:00
Henrik Rydgard
7484ddfbbc
Merge branch 'master' into armjit
...
Conflicts:
Common/ArmEmitter.h
2013-01-13 12:14:32 +01:00
Henrik Rydgard
db92bdda17
Cleanup of horrible ancient symbolmap code - no more global arrays.
2013-01-13 12:12:14 +01:00
Henrik Rydgard
a79caf0bb9
Handle vcount like jpscp. sceDisplayWaitVblank shouldn't wait if already in vblank (while WaitVBlankStart does).
2013-01-13 11:33:26 +01:00
Henrik Rydgård
e7f5397716
Merge pull request #380 from YaPeL/master
...
Wrap some functions v3...
2013-01-12 14:11:46 -08:00
Federico Apelhanz
463883acd5
fixed tabulation
2013-01-12 15:24:58 -03:00
Federico Apelhanz
e82161f33a
Revert some files (I think)
2013-01-12 15:24:58 -03:00
Federico Apelhanz
ebc669c0f6
Revert "Wraped some functions, removed some spaces"
...
This reverts commit 1c62f75a04c39b1bc9568a79a7a8eee18cc56542.
2013-01-12 15:24:09 -03:00
Federico Apelhanz
062838da8a
Wraped some functions, removed some spaces
2013-01-12 15:21:12 -03:00
YaPeL
9cde301f4d
Wrap functions on HLETables
2013-01-12 15:17:35 -03:00
Sacha
f0bd526ca3
Fix physical VRAM memory ranges. BlazBlue is now playable again.
2013-01-13 03:52:49 +10:00
Lewis Robbins
e0e8ae8673
silenced compiler warnings
2013-01-12 13:35:51 +00:00
Henrik Rydgard
6a3dd792a5
Identify CISO the right way. Fixes issues with uppercase filenames..
2013-01-12 12:52:00 +01:00
Henrik Rydgard
64f953c5e1
8-byte align the ARM stack. Type some ideas.
2013-01-12 12:26:44 +01:00
raven02
4673fa30c7
Fix DS_ERROR , allow Ys vs Sora ingame
2013-01-12 16:29:34 +08:00
raven02
3a6246eae7
Add Disable G3D Log to ini , make default false
2013-01-12 08:23:24 +08:00
Henrik Rydgard
674911ddba
Move downcount into MIPSState for efficiency, enable block linking.
...
On ARM JIT we can now reach it through the cpu context reg.
2013-01-12 00:44:18 +01:00
Henrik Rydgard
0663f471a2
Merge branch 'master' into armjit
2013-01-11 23:48:42 +01:00
Henrik Rydgard
36eaabd917
Some constant propagation. Comment out sltiu which causes problems aiming in puzbob (???)
2013-01-11 23:42:58 +01:00
Henrik Rydgård
40dbdb8d4e
Merge pull request #404 from unknownbrackets/more-stats
...
Show the most active syscall too
2013-01-11 10:31:55 -08:00
KentuckyCompass
a13c2da407
rename System -> MountPoint and add convenience wrapper
2013-01-11 10:10:37 -08:00
KentuckyCompass
9f4680a267
don't chop off prefix when mapping path for chdir
2013-01-11 10:10:36 -08:00
Henrik Rydgard
37be2600be
Shave some more instructions
2013-01-11 18:50:05 +01:00
Unknown W. Brackets
bec6c8d80c
Make the debug statistics easier to read.
2013-01-11 09:01:57 -08:00
Henrik Rydgard
2e6063d084
Merge branch 'master' into armjit
2013-01-11 18:01:32 +01:00
Unknown W. Brackets
6ec8fe6bf3
Track summed totals of syscalls.
...
Just so we can easily see if some func is being called a ton.
2013-01-11 08:59:15 -08:00
Henrik Rydgard
ebcb7af7cc
Typo fix
2013-01-11 17:57:20 +01:00
Henrik Rydgard
bc9c3db303
Armjit: Add option for fastmem. Small optimization.
2013-01-11 17:25:54 +01:00
Henrik Rydgard
9b791b9953
More ARMJIT optimization
2013-01-11 15:22:31 +01:00
Unknown W. Brackets
7c6fd04fa2
Clear the free packets when hitting end of video.
2013-01-11 01:13:03 -08:00
Henrik Rydgård
c6efdb4af0
Merge pull request #395 from raven02/master
...
Add option to disable G3D log
2013-01-11 00:26:08 -08:00
Henrik Rydgård
f2b56931e5
Merge pull request #396 from unknownbrackets/power
...
Some scePower callback fixes
2013-01-11 00:25:25 -08:00
Unknown W. Brackets
e680aa79cf
Implement a basic scePowerGetBatteryLifeTime().
...
Was spamming the log in one game, just pretend we're plugged in for now.
2013-01-11 00:15:54 -08:00
Unknown W. Brackets
92f5ed82e6
Cleanup some functions in scePower.
2013-01-11 00:15:54 -08:00
raven02
e34ba40519
Add option to disable G3D log
2013-01-11 16:14:58 +08:00
Henrik Rydgård
fdc705cf1a
Merge pull request #394 from KentuckyCompass/threaded_cwd
...
Threaded cwd
2013-01-11 00:05:27 -08:00
Henrik Rydgard
ba804cfa89
Cleanup ArmAsm, add idea
2013-01-11 02:28:02 +01:00
Henrik Rydgard
647aa29a30
Merge branch 'master' into armjit
2013-01-11 02:07:41 +01:00
Henrik Rydgard
6ab6045baf
Throw away unused FBOs. This gets rid of extreme slowness of Star Soldier on Nexus S for whatever reason.
2013-01-11 02:00:51 +01:00
Henrik Rydgard
aa59ddad09
Merge AsmRoutineManager into Jit. Allows safe short branches.
2013-01-11 01:59:26 +01:00
KentuckyCompass
cd923ed13b
helper function should be static
2013-01-10 16:25:30 -08:00
KentuckyCompass
5ce75551d7
map chdir paths
2013-01-10 16:18:03 -08:00
KentuckyCompass
320c0d06c3
Implement per-thread current directory
2013-01-10 16:18:02 -08:00
Henrik Rydgard
2f394fb7ed
Fix logging bug
2013-01-11 00:59:17 +01:00
Henrik Rydgard
7390f2b5f6
Some realtime profiling stuff. Enable FZ (flush-to-zero) mode.
2013-01-11 00:13:39 +01:00
Henrik Rydgard
f3749d8abe
Add kernelstats
...
Useful for finding out if some syscall takes unexpectedly much CPU.
2013-01-11 00:13:38 +01:00
Henrik Rydgard
10f69ed000
Don't lock the audio mutex if sound is off
2013-01-11 00:13:38 +01:00
Henrik Rydgard
2835a42289
Merge branch 'master' into armjit
2013-01-10 23:52:11 +01:00
Henrik Rydgard
ca0d74762d
Some realtime profiling stuff. Enable FZ (flush-to-zero) mode.
2013-01-10 23:49:33 +01:00
Henrik Rydgard
97f3638212
Add kernelstats
...
Useful for finding out if some syscall takes unexpectedly much CPU.
2013-01-10 23:42:46 +01:00
Henrik Rydgard
3e4840df0c
Don't lock the audio mutex if sound is off
2013-01-10 23:41:26 +01:00
Henrik Rydgard
c7a137a930
Merge branch 'master' into armjit
...
Conflicts:
android/jni/MenuScreens.cpp
2013-01-10 12:57:45 +01:00
Henrik Rydgard
479d1f5111
Draw using VBO. Add option, make default true.
2013-01-10 12:54:36 +01:00
Henrik Rydgard
3615b36a82
Store fcr0 and fcr31 in context (why was this commented out?)
2013-01-10 12:52:30 +01:00
Henrik Rydgard
8cd5ae933f
sw/lw
2013-01-10 12:14:23 +01:00
Henrik Rydgård
b3b30ef186
Fixed buildfix (i removed the last one, it was bogus)
2013-01-10 10:01:48 +01:00
Henrik Rydgård
c20d8aedb5
Merge pull request #383 from leejuiping/ssaa
...
Implement a simple SSAA function for Windows
2013-01-10 00:39:46 -08:00
Henrik Rydgård
653a8f8775
Merge pull request #384 from raven02/mp3-new
...
Add remaining sceMp3 stubs and DoState
2013-01-10 00:37:03 -08:00
raven02
1dc49bad8f
Save Mode 22 name fix
2013-01-10 14:34:11 +08:00
raven02
1d4c4d103e
Add remaining sceMp3 stubs and DoState
2013-01-10 14:29:37 +08:00
J.P. Lee
eda8252d7d
Implement a simple SSAA function
...
Seems that 2x has the best effect for now but this is not the best way
of implementing AA function because it requires much greater video card
memory and memory bandwidth than other avaible methods like MSAA, CSAA
etc.
2013-01-10 10:28:49 +08:00
Henrik Rydgard
9dcdb6df90
Jit work! Shifts, 3-operand ops, turn O2 back on...
2013-01-10 01:20:25 +01:00
Henrik Rydgard
71652874c2
Fix jit bugs related to the dirty flag, and more:
...
* Tweak block logging
* Faster calls-to-interpreter.
2013-01-10 00:03:51 +01:00
Henrik Rydgard
209f1d79a9
SpillLock is now per MIPS register instead of per ARM register. Fix array size.
2013-01-09 23:14:21 +01:00
Henrik Rydgard
fb7116ccd5
Add more checks.
2013-01-09 22:55:58 +01:00
Henrik Rydgard
2f4e6eaf01
Remove allocLock until we need it
2013-01-09 22:46:27 +01:00
Mathias Tillman
f224b5d583
Started work on implementing sceMp3 functions
2013-01-09 22:42:22 +01:00
Henrik Rydgard
dafe2c389c
More regalloc fixing and tweaks. Still not working the way I want it.
2013-01-09 13:38:44 +01:00
Henrik Rydgard
17210c5364
Generate immediates as rot+shift when possible.
2013-01-09 11:52:49 +01:00
Henrik Rydgard
dafc9f62df
Regcache fixes, etc. thing still don't work when I turn on addiu :(
2013-01-09 11:20:48 +01:00
Unknown W. Brackets
7d28883a3f
Quick mp3 crashfix.
...
Not heavily tested, but doesn't crash anymore and just fake anyway.
2013-01-09 01:44:51 -08:00
Henrik Rydgård
018b6ef02d
Merge pull request #370 from unknownbrackets/lbn
...
Fix sce_lbn handling
2013-01-09 01:34:56 -08:00
Unknown W. Brackets
d26bebc685
Return an error if the raw lbn is too high.
2013-01-09 01:13:38 -08:00
raven02
24ecce3649
Add some real stubs for sceMp3
2013-01-09 16:59:27 +08:00
Unknown W. Brackets
6327c6e629
Make filesystem prefix matching case fold.
...
Even Ms0:/, disC0:/ and HoSt0:/ etc. work.
2013-01-09 00:57:44 -08:00
Unknown W. Brackets
3e3e9b761f
Fix it so headless can actually mount isos.
2013-01-09 00:46:47 -08:00
Unknown W. Brackets
b7be025bde
Fix basic seeking within an lbn raw file.
2013-01-09 00:45:59 -08:00
Unknown W. Brackets
a59fe8eb0f
Fix sce_lbn parsing for missing 0x, etc.
2013-01-09 00:10:52 -08:00
Henrik Rydgard
ea3055322c
Oops
2013-01-09 00:45:54 +01:00
Henrik Rydgard
789c4781c0
Merge remote-tracking branch 'origin/master' into armjit
...
Conflicts:
Core/HLE/sceKernelThread.cpp
2013-01-09 00:43:44 +01:00
Henrik Rydgard
81c6c4805d
Small dispatcher optimizations, cleanup. Still no cube.
2013-01-09 00:42:03 +01:00