Unknown W. Brackets
e569bb6862
Missed one, try to fix Blackberry too.
2013-12-30 21:52:09 -08:00
Henrik Rydgård
e5e17fbc6e
More include cleanup. Hoping for very slightly faster compile times..
2013-12-30 10:49:05 +01:00
Henrik Rydgård
00c32ddadb
Mostly get rid of including "Globals.h"
2013-12-30 10:17:11 +01:00
Henrik Rydgård
868a3d6dd5
Load unknown.png for ELFs masquerading as PBP
2013-12-11 14:22:25 +01:00
Henrik Rydgård
4b605045ea
Merge pull request #4767 from unknownbrackets/moduleinfo
...
Return much more correct values for module info
2013-12-09 01:02:59 -08:00
Unknown W. Brackets
1f32720d8f
Return much more correct values for module info.
...
sceKernelQueryModuleInfo() was just completely wrong before.
2013-12-09 00:45:54 -08:00
Unknown W. Brackets
2b10fbae1e
Small tweaks to rel2 logging.
2013-12-08 22:34:36 -08:00
Unknown W. Brackets
0636a65ad9
Use ReadEntireFile() a few more places.
...
This fixes one or two minor memory leaks.
2013-12-08 12:02:37 -08:00
Henrik Rydgard
32f479b0a6
Assorted log spam reductions.
...
Also let Java know of some important events. Not used for anything yet.
2013-12-04 17:43:00 +01:00
Unknown W. Brackets
eac8b1a84d
Scan for functions even without a .text section.
...
It's possible this may be wrong, but every game I've seen loads the funcs
in this area. Sometimes there's data after the funcs before the stubs,
but it's better than no funcs.
2013-12-01 19:43:40 -08:00
Kingcom
5844d0107b
Rewrite SymbolTable
2013-11-27 13:33:30 +01:00
Unknown W. Brackets
33d6ee77cb
Add a some more defines for ELF values.
...
Mostly flags and stuff.
2013-11-17 02:14:35 -08:00
Henrik Rydgard
6be534ca18
Merge branch 'warnings' of https://github.com/unknownbrackets/ppsspp into unknownbrackets-warnings
...
Conflicts:
Core/ELF/ElfReader.cpp
2013-11-15 19:11:51 +01:00
Henrik Rydgard
77ef79892e
Remove wrong alignment check on relocations. Add a comment.
2013-11-15 18:47:27 +01:00
Unknown W. Brackets
b9feae3b62
Don't require 32-bit relocs to be aligned.
...
Also, report these situations more, who knows what games they could break.
2013-11-15 08:19:29 -08:00
Henrik Rydgard
5e3fd4f1fa
Turn down reloc logging a bit more
2013-11-14 23:07:22 +01:00
Henrik Rydgard
003cb41db5
Oops, that was too much logging on startup.
2013-11-14 12:32:59 +01:00
Henrik Rydgard
9d4ece0f58
Robustify the ELF loader a little - it didn't like unaligned addresses..
2013-11-14 11:44:14 +01:00
Unknown W. Brackets
ba69eba53c
Just log and continue when EI_CLASS is wrong.
...
Users with emulator-only patches or etc. shouldn't necessarily have to
not be able to play the game anymore, as long as the problem is surfaced.
2013-10-12 10:03:27 -07:00
Kingcom
7f1fca8e74
Check e_ident of elf header
2013-10-05 10:05:55 +02:00
Unknown W. Brackets
8ccd3773d9
Open files using wide functions on win32.
...
Fixes #3432 .
2013-08-27 00:28:46 -07:00
adrian17
06a015983a
Fixed some doubled semicolons
2013-08-25 19:43:18 +02: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
083fa71c1a
Fix 26-bit reloc truncation (was 30 bit...)
...
Hopefully didn't affect anything?
2013-08-22 23:21:54 -07:00
Unknown W. Brackets
a217cefa11
Tone down some less needed reporting.
2013-08-21 08:40:29 -07:00