Commit Graph

132 Commits

Author SHA1 Message Date
Henrik Rydgard
75a9420b21 Reduce the number of places we include JitCommon.h. Update native. 2014-12-12 23:49:08 +01:00
Unknown W. Brackets
b620070fa6 Kill FileLoader::Reopen()...
Was a bad idea.
2014-11-23 14:08:14 -08:00
Unknown W. Brackets
fd2d7406d1 Make LocalFileLoader essentially private. 2014-11-23 14:02:35 -08:00
Unknown W. Brackets
967b589778 Consistently use FileLoader for standard ISOs. 2014-11-23 13:59:56 -08:00
Unknown W. Brackets
102b7b03fa Add an interface to load files with.
This allows loading from other than raw files.
2014-11-23 13:25:32 -08:00
Henrik Rydgard
d24abb3af0 More GetPointer cleanup. memCardDirectory->memStickDirectory. 2014-10-19 23:20:51 +02:00
Henrik Rydgard
1d7642fa48 Remove most mentions of the "_XBOX" define 2014-08-24 14:21:35 +02:00
Unknown W. Brackets
640c1231f3 Improve a crash in disassembly on game shutdown. 2014-07-20 14:42:20 -07:00
Henrik Rydgård
0e5679c833 Revert "Detect Peace Walker's anti-cheat hash func" 2014-07-20 23:39:11 +02:00
Unknown W. Brackets
aa28c0f40d Improve a crash in disassembly on game shutdown. 2014-07-18 00:22:19 -07: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
Unknown W. Brackets
6d104edb5d Make sure not to leak any enabled vertex arrays.
When returning to EmuScreen, we need to reset any enabled vertex arrays or
we could crash in EmuScreen.  Also, when starting a frame / dirting the
shader, make sure also to toggle the vertex arrays.
2014-06-22 21:42:29 -07:00
Henrik Rydgard
1d0cc3417c Audio stuff: Cleanup, delete dead code 2014-06-22 14:01:23 +02:00
Henrik Rydgard
6ec74ef99e Be consistent about how we read and update the UI state variable 2014-06-22 09:57:01 +02:00
Unknown W. Brackets
a09f1fd80f Clean up a leak in sceAudiocodec load state. 2014-05-29 08:11:00 -07:00
Unknown W. Brackets
d97c229eaf Fix IsOnSeparateCPUThread(), was always false.
Erp, because of detach().
2014-04-28 23:22:46 -07:00
kaienfr
b18252b2b5 Support audio playing (AT3, AT3+, Mp3, AAC) 2014-03-23 19:45:08 +01:00
Henrik Rydgard
efa7ba5570 Set both Default-NAN and FZ on ARM. See comments.
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0274h/Babffifj.html
2014-03-23 10:07:20 +01:00
Unknown W. Brackets
996fa39684 Reduce some unnecessary includes in Core/. 2014-03-15 10:41:07 -07:00
Ced2911
596dea63ed [Xbox] 2014-03-02 11:29:27 -08:00
Ced2911
59f4c05132 [core/common] cpu/gpu threading 2014-03-02 11:29:07 -08:00
Ced2911
f012e7a879 [core] 360 fixes 2014-03-02 11:24:10 -08:00
Ced2911
cc9f238d36 [xbox] 360 support for Core 2014-03-02 11:22:02 -08:00
Unknown W. Brackets
5dec831abc Reset initing if boot fails with threading off.
Fixes #5580.
2014-02-28 09:58:10 -08:00
The Dax
8c31e1ca21 Add a basic decrypted EBOOT.BIN dump function.
It won't dump already decrypted EBOOTs.
2014-02-27 01:35:17 -05:00
Unknown W. Brackets
71ad115b81 Fix incorrect return in PSP_Init().
Mostly affects reset and tests, PSP_InitUpdate() worked properly for the
normal flow.
2014-02-17 10:57:47 -08:00
Unknown W. Brackets
1d8375924a Allow double PSP_Shutdown() without any error.
We call it in a few places to "ensure" shutdown, e.g. before resetting,
but there are cases of double-shutdown.  Let's allow it since there's
there shouldn't be any multithreading here.
2014-02-14 21:53:59 -08:00
Unknown W. Brackets
d2108a962e Switch from USING_GLES2 to MOBILE_DEVICE.
Still using USING_GLES2 for, well, GLES2.  But for things that are really
about mobile, we need a new define.  Devices are coming that don't use
GLES2.
2014-02-08 16:37:58 -08:00
Henrik Rydgård
2b05a60d9d Clear out the jit pointer on shutdown. Some cleanup. 2014-01-28 11:32:54 +01:00
Unknown W. Brackets
a73b15b963 In multithreadead, load the game async.
This way if it takes time to load, things aren't frozen while it's doing
that.  This allows us to show any sort of loading animation or etc. we
want.

Before, it might show a odd looking game select screen while loading, and
then finally go to black.  Now it immediately goes to black.

Fixes #2030.
2014-01-19 14:41:01 -08:00
sum2012
3bf2fcacf0 Make Log display Windows 32 or 64 bit
Some games have problem in windows 64 bit
2014-01-15 22:02:47 +08:00
Unknown W. Brackets
1d302f9cab Keep track of whether PSP_Init() was called.
This way settings are properly enabled/disabled in the menu.
2013-12-29 18:09:28 -08:00
Henrik Rydgård
ce378b231f Delete CPU.cpp/h , cleanup 2013-12-30 00:11:29 +01:00
Henrik Rydgård
87f203a5b8 More include untangling 2013-12-29 23:44:35 +01:00
Henrik Rydgard
2eab4aa1bf Play around with function replacement. Turned off by default of course. 2013-12-17 23:40:27 +01:00
Henrik Rydgard
291d25f43d Only autosave the hashmap if enabled and not on mobile. 2013-12-17 12:30:56 +01:00
Henrik Rydgard
2140892074 Initial preparations for ability to replace game functions with custom implementations.
Also auto-saves hashmap additions and reapplies the hashmap on function
rename so that if you rename a function that exists in several copies
they will all be labelled.

Note that actual function replacement is not activated yet.
2013-12-17 12:27:20 +01:00
The Dax
ba31e18060 Perform savestate actions more intelligently. 2013-11-28 15:34:11 -05:00
The Dax
85e3a2dbfb Make the model option ini-only.
Move PSP_MODEL_FAT and PSP_MODEL_SLIM to Config.h.
Default to a PSP Slim, and enable 64 megs of memory by default.
2013-11-28 14:37:10 -05:00
Unknown W. Brackets
fa7467f03d Try to find the flash0 directory in headless. 2013-11-17 10:15:49 -08:00
Unknown W. Brackets
d6048dc646 Don't burn the cpu while idle in multithread. 2013-11-09 23:08:45 -08:00
Unknown W. Brackets
113146302b Don't schedule a finish event when not running.
Otherwise it'll get it when it does run, and stop early.
2013-11-09 23:08:44 -08:00
Unknown W. Brackets
afafa5fcd6 Make sure the gpu thread has a chance to run.
If the scheduler puts it on the same core, it may not even do anything
before we check if the framebuffer is dirty, so SyncThread will quit since
it's not even running.

Instead, let's wait until it's at least done something.
2013-11-09 23:08:28 -08:00
Unknown W. Brackets
879060f008 Use a CORE_POWERUP state when starting.
Otherwise, we could startup in CORE_POWERDOWN in a second game, which is
confusing.
2013-11-09 23:07:52 -08:00
Unknown W. Brackets
712b582d26 Remove coreParam.disableG3Dlog and enableDebugging.
One was uninitialized, the other one unused.
2013-11-09 11:02:12 -08:00
Unknown W. Brackets
82706ef82d Fix a crash if the gpu doesn't load.
E.g. for invalid files with multithreading enabled.
2013-11-06 07:49:32 -08:00
adrian17
0a086915f5 We don't need to reset the counter as it's already done in Reset() 2013-10-23 19:05:08 +02:00
Sacha
fafe4fc4f2 Fix multi-threading crashes on shutdown with Linux and Blackberry. Fixes issue #3133 -- thanks @unknown 2013-10-17 17:39:04 +10:00
The Dax
845a25e897 Whoops. Forgot to push this. 2013-10-15 03:41:11 -04:00
The Dax
b549a4e6e5 Assume g_Config.memCardDirectory will have a trailing slash. Make InitSysDirectories for Win32 only. 2013-10-15 03:41:10 -04:00