Commit Graph

4181 Commits

Author SHA1 Message Date
danyalzia
8f55e145c0 Update variables 2013-09-17 11:33:32 +05:00
The Dax
e6d85cfb39 Rename Config::languageIni to Config::sLanguageIni for consistency. 2013-09-16 19:47:25 -04:00
The Dax
426e6630d9 Rewrite most of the translation stuff to be cleaner.
Also fix a bug where in-game only menu items become enabled after selecting a language when we're in various NewUI menus.
Rename Config::ilanguage to Config::iLanguage for consistency with other Config variables.
2013-09-16 18:45:09 -04:00
Unknown W. Brackets
0c6fbb461d Tweak ffmpeg logging in mp3/atrac as well. 2013-09-16 08:40:38 -07:00
Unknown W. Brackets
d13d8ad946 Avoid writing to stdout/stderr from ffmpeg.
This will log some errors in the log even in release.
2013-09-16 08:35:32 -07:00
Henrik Rydgard
83f39fdaa6 Report the combination of bezier/spline + morph/skinning to see if it happens 2013-09-16 09:01:20 +02:00
Unknown W. Brackets
4e86fc6266 Buildfix. 2013-09-15 16:02:05 -07:00
Henrik Rydgard
1bb6bbd07d Remove superfluous check in vrot 2013-09-16 00:24:28 +02:00
Henrik Rydgård
a4d040beff Merge pull request #3785 from thedax/moreCommandLineOptions
Win32: Add command-line arguments to allow different ppsspp/control ini files.
2013-09-15 15:21:45 -07:00
Henrik Rydgard
6aecfe3998 Trying the VROT disable experiment again, this time in the right file... 2013-09-16 00:14:05 +02:00
Henrik Rydgård
2ec10d5835 Merge pull request #3780 from unknownbrackets/savestates
Make it possible to add new sections optionally
2013-09-15 15:10:16 -07:00
Henrik Rydgård
06b2151939 Merge pull request #3784 from unknownbrackets/debugger
Enable the debug windows always, disable buttons
2013-09-15 15:07:13 -07:00
Henrik Rydgård
a83b5a849b Merge pull request #3790 from thedax/fixAndroidAudio
Swap order of ifdefs so Android's Atrac3+ works again.
2013-09-15 15:02:23 -07:00
The Dax
e49bdbb363 Swap order of ifdefs so Android's Atrac3+ works again. 2013-09-15 15:25:35 -04:00
Unknown W. Brackets
16b27ffb23 Disable x86 Comp_VRot on non-Windows.
This may fix x86 Android issues as well as Linux/etc.
2013-09-15 11:42:58 -07:00
Unknown W. Brackets
cfb50bf4d6 Add some more locking to prevent crash on reset. 2013-09-15 09:53:49 -07:00
The Dax
5cdfb6c4f9 Add command-line argument to allow a path to be specified for configuration files and control mapping files. Also fix a possible crash when loading ini files. 2013-09-15 12:50:42 -04:00
Unknown W. Brackets
8902e85f0a Enable the debug windows always, disable buttons.
This way you can close them/whatever, and hopefully should avoid crashes.

Only downside is you can't pause the game now and then hit stop in the
debugger.
2013-09-15 09:35:58 -07:00
Unknown W. Brackets
301884428f Buildfixes for Symbian and iOS/etc. 2013-09-15 08:18:20 -07:00
Unknown W. Brackets
887a61ae56 Make it possible to add new sections optionally. 2013-09-15 07:58:52 -07:00
Henrik Rydgård
82ee817647 Convert to new-style DoState 2013-09-15 09:53:24 +02:00
Henrik Rydgård
52e4a7cf5d Merge branch 'patch-1' of https://github.com/shenweip/ppsspp into shenweip-patch-1 2013-09-15 09:46:52 +02:00
Henrik Rydgård
966aa90f10 Merge pull request #3766 from kozec/master
AT3+ plugin detection on Linux
2013-09-15 00:26:52 -07:00
Henrik Rydgård
00f8ae5f2d Merge pull request #3772 from unknownbrackets/atrac-minor
Improve sceAtracGetBufferInfoForResetting()
2013-09-15 00:24:05 -07:00
Unknown W. Brackets
81c0a84322 Forgot a pointer check in atrac. 2013-09-14 21:22:02 -07:00
Unknown W. Brackets
418d6c1e83 Reset the game when loading a state fails.
This way it doesn't crash.
2013-09-14 21:19:10 -07:00
Unknown W. Brackets
2cca2568c7 Make sure the saved git ver is null terminated.
strncpy() is a tricky beast.
2013-09-14 20:29:01 -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
2ac5bcff1f Process savestates during single stepping.
This way we can handle them on the same thread, without weird delays.
2013-09-14 18:43:23 -07:00
Unknown W. Brackets
cf8a3e4df1 Improve sceAtracGetBufferInfoForResetting().
Fixes #2391.
2013-09-14 17:56:08 -07:00
kozec
1124ef91ea AT3+ plugin detection on Linux
Enables AT3+ plugin to be detected on linux, if placed on hardcoded or standard location - /usr/lib/libat3plusdecoder.so
2013-09-14 12:23:00 +02:00
Henrik Rydgård
3bc05a9941 Merge pull request #3764 from unknownbrackets/scheduling
Improve dispatch/interrupt handling in start/create thread
2013-09-14 02:57:09 -07:00
Henrik Rydgård
04b49dc42f Merge pull request #3760 from unknownbrackets/mips-minor
Fix fpu non-finite rounding on x86
2013-09-14 02:56:24 -07:00
Unknown W. Brackets
cff9a7b819 Don't allow thread start/create inside interrupts.
This fixes the volatile power test, and returns the right message even for
bad arguments.
2013-09-14 02:48:10 -07:00
Unknown W. Brackets
cbf1df9b01 Check for nan/inf in trunc.w.s in x86 jit.
Now x86 jit passes the fpu test too.
2013-09-13 22:32:25 -07:00
Unknown W. Brackets
7b71dc54dd Don't say nan is equal to anything.
I guess we were passing this because of fastmath?  Fixes interpreter
cpu/fpu/fpu test on Windows anyway.
2013-09-13 21:28:59 -07:00
Unknown W. Brackets
455431ba13 Integer round inf/nan to INT_MAX/INT_MIN.
Instead of 0x80000000 (the default "invalid" value.)
Improves the fpu test.
2013-09-13 21:27:31 -07:00
shenweip
d1cdf7538d fix wrong log message 2013-09-14 00:42:41 +08:00
shenweip
c018281509 fix style 2013-09-14 00:39:14 +08:00
shenweip
145a9b4e1d What a stupid 2013-09-13 23:57:31 +08:00
shenweip
82ad9ba853 Add GamedataInstallDialog to CMakeLists and Android.mk 2013-09-13 23:19:53 +08:00
shenweip
e286163690 Implemented some HLE functions for GamedataInstallDialog 2013-09-13 23:07:43 +08:00
shenweip
41dfea3150 Add PSPGamedataInstallDialog 2013-09-13 23:05:11 +08:00
The Dax
9dbf2b9d90 Add proper fullscreen and windowed launch arguments. Remove bFullScreenOnLaunch. 2013-09-12 16:56:18 -04:00
Unknown W. Brackets
ca6491ea22 Auto resume dispatch at thread start/create. 2013-09-12 08:02:43 -07:00
Ced2911
17b8d5d813 More recompiled instruction (fpu/alu) 2013-09-12 10:40:14 +02:00
Ced2911
23637db54c more recompiled fpu (not tested) 2013-09-12 10:34:10 +02:00
Ced2911
e90d9c035a more vfpu speed 2013-09-12 10:25:15 +02:00
Ced2911
bfe9018eb1 enable,fixe more vfpu 2013-09-12 10:25:15 +02:00
Ced2911
b90fde6c06 some fixes 2013-09-12 10:25:15 +02:00
Ced2911
e5024135a6 more on vfpu 2013-09-12 10:25:15 +02:00
Ced2911
a91d8bebe6 update ppc jit 2013-09-12 10:22:14 +02:00
Ced2911
7bf623d339 oops missed fpu reg cache 2013-09-12 10:22:01 +02:00
Ced2911
f8b5496bc8 some new recompiled instructions 2013-09-12 10:21:50 +02:00
Ced2911
dc41d0f0eb recompile Fpu ! 2013-09-12 10:21:39 +02:00
Ced2911
2ad39d3999 Almost all alu recompiled
Current issues:
	Comp_RType3(min/max): Can't select start in disgaea
	Comp_ShiftType(srl/srlv?): Crash ridge racer 2
2013-09-12 10:21:26 +02:00
Ced2911
fb24e0ed28 Add some badly tested instruction 2013-09-12 10:20:34 +02:00
Ced2911
47280f007f implement sltiu, slti is bad 2013-09-12 10:20:17 +02:00
Ced2911
d4acf0edd7 more jitted instructions 2013-09-12 10:20:02 +02:00
Ced2911
24576fd72f recompile shift left/right immediate 2013-09-12 10:19:47 +02:00
Ced2911
52f4cccfa4 fix Jit 2013-09-12 10:19:35 +02:00
Ced2911
3350061197 use _alloca 2013-09-12 10:19:23 +02:00
Ced2911
c98090e095 jit fixes 2013-09-12 10:19:11 +02:00
Ced2911
c94d9b62d0 Update ppc jit 2013-09-12 10:18:59 +02:00
Unknown W. Brackets
2c763365b4 Check size is within bounds in AllocAt(). 2013-09-11 22:52:22 -07:00
Henrik Rydgård
e8b8ed7d65 Merge pull request #3733 from thedax/simplifyOSKBypass
Win32: Simplify NativeKeyboard(OSK bypass), and speed up the char copy loop.
2013-09-11 13:23:49 -07:00
Henrik Rydgard
91f9161d76 Fix some bugs found in reports in the Android crash reporting console 2013-09-11 22:21:32 +02:00
The Dax
58aab2eeb8 Simplify NativeKeyboard, and only copy the amount of bytes of the output plus null terminator. 2013-09-11 15:42:32 -04:00
Unknown W. Brackets
db7496a37c Write only changed characters from OSK. 2013-09-11 08:04:01 -07:00
Unknown W. Brackets
a8c7421a0b Add some additional and mostly pointless accuracy. 2013-09-11 00:15:49 -07:00
Unknown W. Brackets
8e69b70bf5 Start sceRtc at now, not 1970. 2013-09-11 00:12:33 -07:00
Henrik Rydgård
e875e8597a Merge pull request #3728 from unknownbrackets/savedata-minor
Don't copy a negative size in savedata
2013-09-11 00:02:48 -07:00
Unknown W. Brackets
5352432d8f Don't copy a negative size in savedata.
Not sure what's correct here, Street Fighter Alpha 3 passes -1.
It seems to call it twice, so probably the first time is to get the size?

Fixes #3722, thanks @thedax.
2013-09-10 22:23:47 -07:00
Henrik Rydgard
2745744d99 Split the resolution setting into Window Size and Rendering Resolution (internal resolution).
Gets rid of our "antialiasing" (simply crank up internal resolution to 2x your window size).

Proper MSAA is coming later.
2013-09-11 00:19:34 +02:00
Henrik Rydgård
fb48defa75 Experiment: Disable VROT on x86 32-bit except on Windows where I know it works. 2013-09-10 18:17:00 +02:00
Henrik Rydgård
5a9bed50bf Merge pull request #3715 from unknownbrackets/savedata-minor
Fix custom save dialog dates
2013-09-10 02:12:48 -07:00
Unknown W. Brackets
e75ea49a66 Fix #3706, custom save dialog dates. 2013-09-10 02:09:18 -07:00
Henrik Rydgård
d20e7a93aa Merge pull request #3713 from unknownbrackets/thread-stack
Correct sceKernelGetThreadStackFreeSize()
2013-09-10 02:04:26 -07:00
Unknown W. Brackets
9fb64183e6 Don't write more than the savedata buffer.
Fixes Numblast when there's savedata, probably others.
Could use more testing.
2013-09-10 01:46:49 -07:00
Unknown W. Brackets
b898e397aa Correct sceKernelGetThreadStackFreeSize().
It was always returning 0.
2013-09-10 01:31:03 -07:00
Unknown W. Brackets
0f7ac377cd Offset the root thread's stack by arg size.
Otherwise it'll just overwrite, right?
2013-09-10 01:12:51 -07:00
Henrik Rydgård
ff0eb6eb62 Merge pull request #3712 from unknownbrackets/volatile-mem
Improve volatile mem locking w/ suspended intr
2013-09-09 23:57:26 -07:00
Henrik Rydgård
164d0972a7 Merge pull request #3711 from unknownbrackets/thread-minor
Fixes to various thread functions + heap corruption fix
2013-09-09 23:56:07 -07:00
Unknown W. Brackets
6d949f4d0b Improve volatile mem locking w/ suspended intr. 2013-09-09 23:49:06 -07:00
Unknown W. Brackets
15f66f2ff2 Log when syscalls fail due to intr/dispatch. 2013-09-09 23:14:40 -07:00
Unknown W. Brackets
19f517b042 Add a few new syscalls from reporting. 2013-09-09 22:38:29 -07:00
Unknown W. Brackets
ada492febe Fix really stupid heap corruption mistake. 2013-09-09 22:33:17 -07:00
Unknown W. Brackets
ccf021cef0 Return a negative error code in __KernelGetWaitID.
This way we can use 0 as a proper wait id.
2013-09-09 21:39:56 -07:00
Unknown W. Brackets
2577f65b80 Reset waits when terminating a thread.
Terminated threads can't be waiting.
2013-09-09 21:39:38 -07:00
Unknown W. Brackets
e19fdef0fd Reset thread priority on terminate. 2013-09-09 21:31:04 -07:00
Unknown W. Brackets
a3637a1cad Set the low mystery bits of the thread attr.
Tests on PSP show this, and I can't find a way to not have them set.
But I don't really know what they mean.

Anyway, since you can refer the status, you can see them, may improve
compatibility.
2013-09-09 20:51:52 -07:00
Unknown W. Brackets
0af3c50924 Eat cycles after creating a thread.
Improves things on some tests, should be more accurate.
Creating a thread sure takes a long time.
2013-09-09 20:49:30 -07:00
Unknown W. Brackets
1481bbdd3b Validate and report some thread attributes. 2013-09-09 20:48:23 -07:00
Unknown W. Brackets
ce4c0d85bb Support some thread stack attr options.
May improve memory management in some games.
2013-09-09 20:46:19 -07:00
Henrik Rydgard
b24ea4014a Simple tilt sensitivity setting 2013-09-09 23:48:11 +02:00
Unknown W. Brackets
65a1350f32 Oops, timegm() is supposed to modify its argument. 2013-09-09 08:50:49 -07:00
Unknown W. Brackets
281685fd43 Fix minor scheduling issues in the vpl test. 2013-09-09 01:05:38 -07:00
Unknown W. Brackets
478d007f96 I'm a typo machine. 2013-09-09 00:35:38 -07:00
Henrik Rydgård
628f77e2b0 Merge pull request #3700 from unknownbrackets/callbacks
Improve callbacks (still not rescheduling properly inside one)
2013-09-09 00:30:14 -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