Commit Graph

41 Commits

Author SHA1 Message Date
Henrik Rydgard
f69632a316 Fix one more PSPPointer function. Fixes #3897 2013-09-23 22:06:50 +02:00
Henrik Rydgard
854da44fba Buildfix 2013-09-23 21:51:34 +02:00
Henrik Rydgard
fa3e63d46b On 32-bit platforms, PSPPointer must mask off the cache bit etc from pointers. 2013-09-23 21:46:45 +02:00
Henrik Rydgard
5bdb9e976b Track copies of framebuffers in ram created through sceDmacMemcpy, so that we can display them.
Fixes MotoGP while also, in effect, committing #3859.
Removes the horrifying ramDisplayFramebufferPtr hack.
2013-09-21 18:53:55 +02:00
Unknown W. Brackets
d17df4a79a Don't zero initialize opcode.
This slows down JitBlockCache::Init() a lot, which impacts test speed more
than you'd expect.
2013-09-17 23:46:59 -07:00
Unknown W. Brackets
478d007f96 I'm a typo machine. 2013-09-09 00:35:38 -07:00
Unknown W. Brackets
38e30e5a67 Fix bugs when memory size is 0x04C00000/etc.
Was experimenting with trying to match my non-phat's ram size.
2013-09-09 00:25:10 -07:00
Unknown W. Brackets
109ad17ac6 Use a typesafe struct for opcodes.
Also, correctly read delayslots using Read_Instruction on ARM.
2013-08-24 15:36:24 -07:00
Unknown W. Brackets
5787a2b9f7 KISS and Android buildfix. 2013-08-16 23:48:08 -07:00
Ced2911
c332a4af58 Endian and PPC support 2013-08-16 14:34:15 +02:00
Henrik Rydgard
fecd9d5f78 Minor optimization, sketch on an lvl.q jit implementation 2013-08-11 22:12:15 +02:00
Henrik Rydgard
9109882c04 More microoptimization 2013-08-11 22:12:14 +02:00
Unknown W. Brackets
f1c354607e Add special u32_le/etc. types to mark endianness.
Might even want u32_be...
2013-07-25 08:04:34 -07:00
Henrik Rydgard
03c665173f Fix range of newui volume control. Delete some old junk. 2013-07-21 12:12:20 +02:00
The Dax
e4ed0f2d3e Various small code cleanups. 2013-07-17 17:49:57 -04:00
The Dax
da9472c486 Simplify the HDRemaster struct, eliminating the need for the g_MemoryEnd variable. 2013-07-07 03:07:51 -04:00
The Dax
695f7eeec5 Fix more style issues, and abstract most of the init code from MemMap.cpp. 2013-06-26 16:02:52 -04:00
The Dax
8ab734d516 Restructure the hack to be more correct, and add support for double texture coordinates. Fixes #2314.
Also address various coding style issues.
2013-06-26 16:02:52 -04:00
The Dax
96401eae1e Make the hack less intrusive, but there's a chicken and egg problem: Memory::Init is called before LOAD_PSP_ISO, so I'm slightly perplexed on how to proceed at the moment. 2013-06-26 16:02:52 -04:00
The Dax
2da4c01ea9 Fix styling issues. 2013-06-26 16:02:52 -04:00
The Dax
f8d309ec99 Add HD Remaster support. It's a HUGE hack right now, and needs to be properly rewritten so that allocation and stuff work better. This is based off the work of BlackDaemon, and I added in the auto check to switch the code on/off depending on if the game is a remaster or not. It does not affect or break any games that I know of. 2013-06-26 16:02:52 -04:00
Lioncash
b823bb7543 Change PSPPointer function name Valid to IsValid.
Improves readability and shows intent better.
2013-06-25 09:51:39 -04:00
Unknown W. Brackets
bc149a27a1 Make PSPPointer behave more like a pointer. 2013-06-02 14:56:50 -07:00
Unknown W. Brackets
1d2476f28e Add error handling to the FILES savedata mode.
Not actually changed yet.
2013-05-31 01:40:36 -07:00
Unknown W. Brackets
1cfdaa9349 Read structs directly from PSP ram on LE.
On BE, which doesn't even really work atm, this can be an auto class.
2013-03-30 20:12:22 -07:00
Henrik Rydgård
cf2a1dd3d2 Merge pull request #1007 from unknownbrackets/mem-fix
Fix memory valid address checking
2013-03-17 03:15:07 -07:00
Unknown W. Brackets
78d14ecd04 Remove some unused/undefined memmap funcs. 2013-03-16 19:46:24 -07:00
Unknown W. Brackets
de3713fc50 armjit: improve mem speed without fastmem. 2013-03-16 14:37:35 -07:00
Henrik Rydgard
5fb4d5d48a Set default load address to 0x88004000 according to tpunix 2013-03-16 09:15:47 +01:00
Sacha
d99c9fb2ff Fix Symbian JIT + FastMem by using a mapped virtual address RChunk. 2013-02-17 15:23:56 +10:00
Unknown W. Brackets
3e419f513a Refactor jit safe memory reads without dup code.
But, maybe too automagical...
2013-01-26 08:42:34 -08:00
Henrik Rydgard
d8d2246236 Implement sceGeGetMtx and sceGeGetCmd 2013-01-05 19:26:37 +01:00
Xele02
61d116b5f1 Copy right size of save request. 2012-12-24 01:22:28 +01:00
TMaul
0414b072a4 Display OSK message
And some cleanup
2012-12-15 17:13:58 +00:00
TMaul
a2a4248381 Fake some of the on screen keyboard
Now games that use it assume the user has input "000000" which seems to
work for most games. Gets Pixel junk monsters deluxe and Worms battle
island in-game
2012-12-15 16:42:38 +00:00
Sacha
a1781b854a Symbian support for project.
New UNUSABLE_MMAP code path for platforms that cannot use the required flags (Xbox 360, Symbian). Falls back to malloc() instead.
N1 define for compilers (GCCE) that don't like to assume (int)-1 will safely cast to (char)-1.
Miscellaneous space->tab fixes.
2012-12-13 13:15:20 +10:00
Henrik Rydgard
cdc94a6cad Halve the kernel memory so that the "volatile" 4MB fits without overlapping 2012-12-01 10:17:33 +01:00
Henrik Rydgard
a97f66766d Add "slightly faster interpreter", optimizing the most common instrs. Not as helpful as I thought it would be on Android, really need a proper JIT. 2012-11-23 12:42:35 +01:00
Henrik Rydgard
c61d10363a Rewrite callback handling, part 1. All sorts of other fixes too. 2012-11-06 15:46:46 +01:00
Henrik Rydgard
64cc573703 Switch to "GPL 2.0 or later" for various reasons. I wrote most of the code I imported from Dolphin (which is GPL2-but-not-later), so it should be OK. 2012-11-04 23:24:00 +01:00
Henrik Rydgard
4f7ad15758 Add snapshot of the whole source code. 2012-11-01 16:19:01 +01:00