Henrik Rydgard
5a5f3c94fd
ARM64: Guess what? more emitter & disasm
2015-04-06 18:13:24 +02:00
Henrik Rydgard
0f430e6cd1
ARM64: More asimd scalar disasm, encoding fix
2015-04-06 18:13:23 +02:00
Henrik Rydgard
9f689b871a
ARM64: Work on emitting and disassembling fp conversion ops
2015-04-06 18:13:22 +02:00
Henrik Rydgard
2566972a4d
ARM64: Further disasm work
2015-04-06 18:13:21 +02:00
Henrik Rydgard
120e0bba3c
ARM64: Disassemble csel and multiply instructions
2015-04-06 18:13:19 +02:00
Henrik Rydgard
a12e448fb4
ARM64: Stub vertex decoder jit, implementing just enough for the cube.elf cube.
2015-04-06 18:13:18 +02:00
Henrik Rydgard
acd9502b44
ARM64: stp/ldp disasm improvements
2015-04-06 18:13:17 +02:00
Henrik Rydgard
2bca05c4f2
ARM64: implement shifts, movz/movn. Corresponding fixes to emitter/disasm
2015-04-06 18:13:14 +02:00
Henrik Rydgard
70f44c3894
ARM64 emitter: Default to non-extend instruction forms (LSL 0), fix bugs. also fixes to disasm.
2015-04-06 18:13:12 +02:00
Henrik Rydgard
d3669daba4
ARM64: Fixes to emitter and disassembly for logical immediates
2015-04-06 18:13:12 +02:00
Henrik Rydgard
0922db6062
ARM64: Some FP work.
2015-04-06 18:13:11 +02:00
Henrik Rydgard
d16bd1fd30
ARM64: Port over basic load/store from ARM. Works in FastMem only.
2015-04-06 18:13:10 +02:00
Henrik Rydgard
742f48ad56
ARM64: More emitter and disasm work
2015-04-06 18:13:08 +02:00
Henrik Rydgard
c4cdca83fc
ARM64: Fix some branch distance checks, add more stuff to disasm
2015-04-06 18:13:08 +02:00
Henrik Rydgard
73dd26fb75
More ARM64 disasm, warning fixes
2015-04-06 18:13:07 +02:00
Henrik Rydgard
f732fbb885
ARM64 emitter: Add MRS/MSR support (only for the flags register). Add some more to ARM64 Disasm
2015-04-06 18:13:04 +02:00
Henrik Rydgard
8945b2476d
Add the beginnings of a rudimentary ARM64 disassembler
2015-04-06 18:13:03 +02:00
Henrik Rydgard
b309c83973
Initial work on ARM64, based on the ARM jit.
2015-04-06 18:13:01 +02:00
Unknown W. Brackets
2450724be2
Make Memory::Memcpy() execute memchecks directly.
...
This makes it easier to handle breakpoints in HLE.
2015-04-05 18:09:20 -07:00
sum2012
4c827d1b3e
Add install error translatable
2015-03-04 20:59:09 +08:00
Unknown W. Brackets
d497bc7c8c
Ensure safe zim access regardless of file contents.
2015-01-17 18:43:00 -08:00
Unknown W. Brackets
50f5809c54
Oops, typo.
...
How did I not notice the distorted sound?
2015-01-11 16:49:22 -08:00
Unknown W. Brackets
4705a2568e
Convert s16->float using SSE2.
2015-01-11 14:31:21 -08:00
Unknown W. Brackets
db898aff23
Add a NEON method to apply the volume.
2015-01-11 14:23:41 -08:00
Lioncash
f830d5dec7
Core: Mark some functions as const
2014-12-03 15:16:11 -05:00
Unknown W. Brackets
b279b6d461
Typo.
2014-11-03 09:00:20 -08:00
Unknown W. Brackets
2d5733407b
Small optimization to __PPGeInit().
...
Small factor in startup time.
2014-11-02 17:44:24 -08:00
Unknown W. Brackets
996fa39684
Reduce some unnecessary includes in Core/.
2014-03-15 10:41:07 -07:00
lioncash
b9886942a7
Fix some vertical alignments in misc Core source files.
2014-03-03 11:16:53 -05:00
Kentucky Compass
fb1a3149fa
Don't use strstr for single character search terms
2013-12-30 21:48:36 -08:00
Unknown W. Brackets
f14361c3b8
Add a bunch more missing cstring includes.
2013-12-30 21:37:19 -08:00
Henrik Rydgård
00c32ddadb
Mostly get rid of including "Globals.h"
2013-12-30 10:17:11 +01:00
Henrik Rydgård
87f203a5b8
More include untangling
2013-12-29 23:44:35 +01:00
Henrik Rydgård
79ff2f0ba8
Start untangling our include mess a little.
2013-12-29 23:34:45 +01:00
Unknown W. Brackets
497537a4c4
Fix another dumb typo.
...
Arg, need to stop rushing things. May have caused #4869 .
2013-12-17 23:36:51 -08:00
Unknown W. Brackets
b2795b31c0
Only draw visible savedata icons, fix leak.
...
Fixes #4870 .
2013-12-17 08:07:30 -08:00
Unknown W. Brackets
f7bad51cc7
Clip in PPGe, fixing issues in softgpu.
...
We were just drawing wrong, so softgpu was correct.
2013-12-15 11:59:23 -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
Unknown W. Brackets
2d3f0758c1
Dynamically manage PPGe images so 50+ are okay.
...
Otherwise, we try to allocate all at once and could run out of ram.
Should fix #2242 .
2013-12-08 11:06:18 -08:00
Henrik Rydgård
37de6eee0f
Improved error handling in ZIP installer
2013-12-06 15:29:14 +01:00
Henrik Rydgård
c262e47bdc
Error handling on disk full when installing zip files
2013-12-06 12:49:57 +01:00
Henrik Rydgård
3ab1aeb9ef
Install zip file screen: Add working progress bar for install.
2013-12-05 17:49:37 +01:00
Sacha
31af63adf4
Buildfix: Another string::back() and including a .cpp?
2013-12-06 01:04:50 +10:00
Sacha
502621bb08
Travis: Fix android script.
2013-12-06 00:35:45 +10:00
Sacha
8eacddf549
Symbian buildfix.
2013-12-06 00:18:39 +10:00
Henrik Rydgård
160cafdb34
Game installer: Handle zip files without directory entries
2013-12-05 14:21:07 +01:00
Sacha
3ccbbcf63b
Buildfixes from homebrew merge.
2013-12-05 22:41:23 +10:00
Henrik Rydgård
e7ec53a97f
zip game installer: Extract files by streaming instead of reading the
...
whole thing into ram.
2013-12-05 13:22:06 +01:00
Henrik Rydgård
8e658d628f
GameManager: Add functions to query progress
2013-12-05 13:01:00 +01:00
Henrik Rydgård
6e60db7c22
Store: Handle zip files with external URLs and deep paths inside.
2013-12-05 12:48:09 +01:00
Henrik Rydgård
eaed2e516b
Show simple progress bars at the top of the screen during downloads.
...
Should do something more practical eventually.
2013-12-05 12:48:09 +01:00
Henrik Rydgård
8b1ef01b5a
GameManager: Sanity check ZIP files when installing them
2013-12-05 12:48:09 +01:00
Henrik Rydgård
5833bd45c3
More work on the Homebrew Store.
2013-12-05 12:48:09 +01:00
Henrik Rydgard
3a6941c1ab
Safeguard GameManager::Uninstall from calls with empty filename.
...
Could wipe all your games if a bug would cause this to happen.
2013-12-05 12:48:09 +01:00
Henrik Rydgård
15f45806b9
GameManager: Sanity check ZIP files when installing them
2013-12-05 12:48:09 +01:00
Henrik Rydgård
7f481905b0
More work on the Homebrew Store, get it working on Windows and Android
2013-12-05 12:48:09 +01:00
Henrik Rydgård
2fb2602387
Initial draft of the Homebrew Store. Lets you install a few homebrew.
2013-12-05 12:48:08 +01: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
Sacha
08803c101e
Remove MathUtil.{cpp,h}
2013-11-13 11:26:12 +10:00
adrian17
7e3f35dfe3
Removed redundant includes
2013-09-30 19:05:04 +02:00
Unknown W. Brackets
a7f60afecb
Use a saved ctx not break/continue in PPGe.
2013-09-20 21:15:36 -07:00
Unknown W. Brackets
0735a9a679
Just disable PPGe during tests, should be okay.
2013-09-17 23:13:13 -07:00
Unknown W. Brackets
50e9e45d65
Check version in each DoState() func.
...
They bail on PointerWrap error or bad version.
2013-09-14 20:23:03 -07:00
Unknown W. Brackets
2c763365b4
Check size is within bounds in AllocAt().
2013-09-11 22:52:22 -07:00
Henrik Rydgard
8c88dff5a4
More log categories, use them (and existing ones). Improve log config.
2013-09-07 22:02:55 +02:00
Unknown W. Brackets
dc3de4dbff
For an off-grain alloc, properly align size.
2013-08-20 00:58:38 -07:00
Unknown W. Brackets
69abe041b7
Properly handle off-grain allocations.
...
This was causing sceKernelMaxFreeMemSize() to report a size that wasn't
allocatable, since sizes are upaligned to grain.
2013-08-20 00:46:13 -07:00
Ced2911
0bae3f8bf9
fix endian in image
2013-08-16 09:18:30 +02:00
Unknown W. Brackets
2f94977efe
Don't include gfx/gl* outside the OpenGL GE.
2013-07-29 22:47:38 -07:00
Unknown W. Brackets
0a9ce9ae85
Specify memory layout in PPGe.
2013-07-27 15:38:38 -07:00
aquanull
3867a774ba
Text spacing adjustments.
2013-06-15 21:20:18 +08:00
aquanull
fb651156d8
Implement text truncation with ellipses.
2013-06-15 21:20:17 +08:00
aquanull
336f388fa2
Allow CJK characters to be wrapped individually.
2013-06-15 21:20:17 +08:00
aquanull
77a01c1526
Fix missing punctuation marks when the text is wrapped around them.
...
Truncate trailing white spaces instead of putting them on the beginning of the next line.
2013-06-15 21:20:17 +08:00
raven02
2e2ec5bcea
Quick fix wrong sizing of CIRCEL
2013-06-15 11:30:01 +08:00
Sacha
5aba914a42
Build fix for non-ffmpeg and non-gcc non-++11.
2013-06-12 10:51:30 +10:00
aquanull
3c140106be
Auto-height the "borders" of the message text area.
...
More dialog tweaks.
2013-06-10 21:24:48 +08:00
aquanull
ddc85988ab
Improve PSP system dialogs' looks.
...
Format date according to configurations.
Swap positions of button tips.
Fix text wrapping with non-top-left text alignment.
2013-06-10 21:24:48 +08:00
Henrik Rydgård
7b09062611
Merge pull request #1973 from aquanull/language
...
Update lang/ and zim assets.
2013-06-03 02:32:53 -07:00
aquanull
3b21e452dc
Update lang/ and zim assets.
2013-06-03 17:22:58 +08:00
Sacha
b39a572043
Buildfixes.
...
Fix C++11 usage.
Remove redundancy.
Fix st_*time re-usage.
2013-06-02 13:26:39 +10:00
Unknown W. Brackets
98f99e1e3c
Fix some initialization order warnings.
2013-05-31 23:14:28 -07:00
aquanull
fb81e6b2eb
Update lang/ and zim assets.
2013-05-29 12:22:55 +08:00
Unknown W. Brackets
5f3cede64c
Fix typo making the first line wrap wrong.
2013-05-27 19:35:49 -07:00
Unknown W. Brackets
8c984c2440
Use better replacements for missing space chars.
2013-05-27 19:26:37 -07:00
Unknown W. Brackets
90715c2ec2
Avoid a double lookup in FreeExact().
2013-05-26 23:48:55 -07:00
Unknown W. Brackets
776c8e8533
Rewrite BlockAllocator in attempt to free faster.
...
And more importantly try to find that weird heap corruption, but no
luck...
2013-05-26 23:09:27 -07:00
aquanull
87f398b1af
Make more menu screen items translatable.
...
Update font atlas files.
2013-05-25 11:23:14 +08:00
Unknown W. Brackets
6ac0149244
Wrap long words without punctuation correctly.
2013-05-19 23:36:23 -07:00
Unknown W. Brackets
c82fd54d1c
Implement simple text wrapping for PPGe/MsgDialog.
...
Probably not enough. Maybe should apply other places.
2013-05-19 23:20:50 -07:00
nachume
eac08a496c
FIX unintelligible sequence of decimal characters on savedialog.
...
ppge_atlas JPN font define ShiftJIS -> UTF8 is all ok.
but, cannot use all of chinese character. bacause blockAlloc failed.
So no change drawing Kanji.
you can try to change native/tools/atlastool.cpp USE_LEVEL for all of chinese character.
FIX savedialog XXXGetStatus() loop. for daungeon traveler 2.
Can now be saved it.
FIX sceAtrac getCodec InvalidMemory
2013-05-02 00:14:41 +09:00
Henrik Rydgard
e3ddb12783
Use 16-bit color for the PPGe texture palette
2013-04-18 15:01:36 +02:00
Henrik Rydgard
42e4dc897e
Add most Japanese kanji, the brute force way.
...
Hope everything supports 2048x2048 textures.
2013-04-18 14:59:00 +02:00
Henrik Rydgård
8bc942f4ad
Merge pull request #1318 from raven02/master
...
Fix enable sound in windows and comsetic fix to UI based on new font
2013-04-18 00:57:08 -07:00
Unknown W. Brackets
4920cd3eea
Use replacement chars for unknown PPGe characters.
2013-04-17 23:25:40 -07:00
raven02
12651bc7e0
Fix oversize circle button in UI
2013-04-18 07:03:43 +08:00
Henrik Rydgard
b8eac3330b
PPGe save state fix
2013-04-17 21:43:45 +02:00
Henrik Rydgard
b12fc6e7aa
UTF8-enable PPGE and add hiragana and katakana, let's see if this is enough.
2013-04-17 20:51:02 +02:00
Henrik Rydgard
d1bcc8afd4
Switch main UI font to one built to include Hiragana and Katakana. Don't know if that is enough.
...
Also includes more western characters so I can write my name right :)
2013-04-17 16:39:01 +02:00
Henrik Rydgard
8833f6eb25
Don't swapbuffer if stepping. Default to 2x zoom on Windows. Alert on missing atlases.
2013-03-30 08:35:47 +01:00
Henrik Rydgard
43df3c9071
Lazy font loading (to speed up running unit tests...)
2013-03-06 22:26:54 +01:00
Henrik Rydgard
d4603136f0
Minor stuff: Fake-implement sceKernelReferThreadProfiler, make sure GPU frame dump logging gets output by not sending it to G3D.
2013-03-04 22:15:39 +01:00
Unknown W. Brackets
f2bdea74be
Don't align size to grain for PMB.
2013-03-03 20:26:57 -08:00
Unknown W. Brackets
20bb472b66
Simplify reverse_iterator usage in block alloc.
2013-03-03 16:17:05 -08:00
Unknown W. Brackets
255cbec57c
Fix alignment in block allocator.
2013-03-03 16:17:05 -08:00
Unknown W. Brackets
a3f93ed203
Fix some printf size warnings, signed warnings.
2013-03-02 15:34:15 -08:00
Henrik Rydgard
ba0362d817
PGF font support. Mostly an adaptation and cleanup of JPCSP's font system.
2013-02-27 17:41:39 +01:00
Unknown W. Brackets
a3610ec49e
Make PPGeMeasureText() actually measure the text.
...
Specifically, it was skipping newlines and ignoring the last line,
so always returning 0.
2013-02-11 00:38:08 -08:00
Unknown W. Brackets
a4032c5170
Simplify savestate code so it's all automagical.
...
If you can't beat 'em, join 'em?
2013-02-04 08:27:01 -08:00
Unknown W. Brackets
07a5dca98e
Expand out some savestate code saving non-pod.
2013-02-04 08:26:59 -08:00
Unknown W. Brackets
2a6457b6ab
Cut down on h files including PointerWrap.
...
This makes changes to it a bit faster to build.
2013-02-04 08:26:59 -08:00
Florent Castelli
c37566d3bc
Use proper draw sequence in PPGeDraw
2013-02-04 01:28:19 +01:00
Unknown W. Brackets
4c510b5649
Clean up sceKernelFreeVpl(), not waking yet.
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
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
9363a867e2
Add glViewport to cached gl state. Add a couple of missing VFPU ops.
2013-01-06 23:23:36 +01:00
Henrik Rydgard
59e52f4e5a
Make MsgDialog not put text outside the screen.
2013-01-03 14:02:35 +01:00
Henrik Rydgård
95c4e0b9c4
Quick build fix for gcc
2012-12-28 23:33:00 +01:00
Unknown W. Brackets
bcecd881b1
Savestate cleanup + be more careful with vectors.
...
For some reason I debugged it going into std::string so I just made
them all more explicit which fixed everything.
2012-12-28 13:55:31 -08:00
Unknown W. Brackets
cd1d4367bf
Save state of a bunch of small modules.
2012-12-28 13:55:28 -08:00
Unknown W. Brackets
d9efdf548b
Add basic state for the memory kernel objects.
...
Not the actual memory partitions quite yet.
2012-12-28 13:52:52 -08:00
raven02
91c188c4d0
Border cosmetic fix in save/load menu
2012-12-28 11:22:12 +08:00
raven02
a4dd204ce8
Fix I_CIRCLE right/bottom cutoff
2012-12-25 13:33:37 +08:00
Xele02
67c88d7b33
* Load and display save image in save/load menu
...
* Add help math function
* Add draw function in PPGe without texture and with alternative
texture.
* Change hardcoded atlas texture size in PPGe
2012-12-13 22:06:45 +01:00
Xele02
7de10d223b
* Create class for Save and Message dialog for cleaner code.
...
* Update Save dialog to work more like the real one on PSP
* Correct some return value for Save Dialog.
2012-12-10 13:08:54 +01:00
Henrik Rydgard
e370a1a8aa
Fix project and .rc so it builds with VS 2010 Express, thanks Darth1701. Plus logging tweaks.
2012-11-29 10:41:48 +01:00
Henrik Rydgard
870ea6628b
Reasonably correct viewport handling. Optional debug stats overlay (not always 100% working).
2012-11-26 17:35:08 +01:00
Unknown W. Brackets
a6a47c0c3e
Don't complain when PPGe wasn't init yet.
...
This was causing BlockAllocator complaints if you closed right away.
2012-11-22 13:21:47 -08:00
Henrik Rydgard
75412b064b
Implement sceUtilityMsgDialog
2012-11-18 17:51:14 +01:00
Henrik Rydgard
e37a1fb1d3
Add internal 2D drawing library that goes through the Ge emulation for portability.
...
To be used for things like sceUtility* and other overlays like FPS and stats.
2012-11-18 13:04:49 +01:00
Henrik Rydgard
897bed8072
Fix crash bug in blockallocator when tag strings were too long
2012-11-07 19:10:34 +01:00
Henrik Rydgard
a6a6453c60
Add custom "grain" for block allocator. Set the big block allocs to grain 256.
2012-11-07 17:35:22 +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
0f04d108de
Sanity checks and cleanup
2012-11-05 13:36:12 +01:00
Henrik Rydgard
6f85f02e25
Module loading fixes - proper module blacklisting, correct some error codes
2012-11-05 12:02:09 +01:00
MrOrdinaire
1ab9943643
fix missing #include's and missing CMake linking directives
2012-11-03 10:33:24 +08:00
Henrik Rydgard
4f7ad15758
Add snapshot of the whole source code.
2012-11-01 16:19:01 +01:00