Commit Graph
27588 Commits
Author SHA1 Message Date
Unknown W. Brackets 42fe8ee32e Convert FormatMessage() to utf-8 to fix locale.
Otherwise we get non-utf-8 garbage if the user isn't in a Latin codepage.
2014-09-27 09:04:24 -07:00
Unknown W. Brackets 2c99baf295 Delay sceUtilityMsgDialogUpdate() per tests.
This is an approximate value, but it should be close.
2014-09-27 00:13:27 -07:00
Unknown W. Brackets 00491bb33b Process msgdialog abort on Update().
Matches tests.
2014-09-27 00:13:11 -07:00
Unknown W. Brackets ad191cdd3a Correct error codes in sceFontOpenUserMemory(). 2014-09-26 23:44:36 -07:00
Unknown W. Brackets 1d4bd6c695 Add a delay for creating fontlibs and fonts.
Matches tests, low bound on the delay.
2014-09-26 23:44:04 -07:00
daniel229 aad301a97a Replace download frame in Boku no Natsuyasumi 2 and 4 2014-09-27 14:00:37 +08:00
Unknown W. Brackets 32fc4c7676 d3d9: Try harder to get a shader compile error. 2014-09-26 21:32:22 -07:00
Unknown W. Brackets 0039eab878 Offer to toggle graphics backends on any failure.
So, even if Direct3D 9 fails.
2014-09-26 21:20:51 -07:00
Unknown W. Brackets 358462a7f4 Add a .gitattributes to normalize newlines.
No code changes.
2014-09-26 21:20:50 -07:00
Unknown W. Brackets b97af10a6d d3d9: Show error when default shaders fail. 2014-09-26 21:20:50 -07:00
Unknown W. Brackets 265094f614 Merge pull request #6951 from chinhodado/patch-5
Use E_FAIL instead of -1 and clean up
2014-09-26 21:19:37 -07:00
Franklin S Cooper Jr 50b8debead MemArena.cpp: Fix Bus Error when running on Beaglebone/Beaglebone Black
* Similar to commit 178891b576 when running the
  emulator a "Bus Error" would be given andn will cause a seg fault immediately.
* When running on the BB change the path of the ram temp file to a valid
  location.

Signed-off-by: Franklin S Cooper Jr <fcooper27@gmail.com>
2014-09-26 19:07:34 -05:00
Franklin S Cooper Jr 08303678a4 CMakeLists.txt: Add BB as a supported board
* Some of the configuration needs to be tweaked when building for a Beaglebone
  and Beaglebone Black.
* Unlike the Raspberry PI there aren't any files to check against to determine
  at build time if this is being built for the Raspberry PI. Therefore, create
  a variable that the user has to pass in (-DBB:BOOL=ON) that will tell CMAKE
  to build PPSSPPSDL for the BB/BBB.
* This will also make it alot easier for users to cross compile for this device

Signed-off-by: Franklin S Cooper Jr <fcooper27@gmail.com>
2014-09-26 19:02:32 -05:00
Franklin S Cooper Jr f76669b61c CMakeLists.txt: Add ARM based Linux PLATFORM_ARCH
* Don't assume all Linux systems are strictly x86.
* Add values when Linux is used on an ARM device

Signed-off-by: Franklin S Cooper Jr <fcooper27@gmail.com>
2014-09-26 18:59:24 -05:00
Franklin S Cooper Jr c5bb2c7b23 base: Allow building when not using X11 on a FBDEV based system
* Currently building base will fail on non X11 based systems due to
  inclusion of X11 headers and some calls to X11 functions.
* Portions of the code currently attempts to avoid calling X11 functions
  when fbdev is used. This patch adds additional checks to avoid X11 calls.

Signed-off-by: Franklin S Cooper Jr <fcooper27@gmail.com>
2014-09-26 18:56:17 -05:00
chinhodado 7b4b0eb0a0 Use E_FAIL instead of -1 and clean up 2014-09-26 15:55:21 -04:00
daniel229 4de7e89330 Replace download frame in Sora no kiseki SC,and a comment for Sora no kiseki 3rd 2014-09-26 17:13:01 +08:00
daniel229 ea9a0182e4 Replace download frame in Sora no kiseki FC 2014-09-26 16:55:37 +08:00
beaumanvienna d54daa2ea5 amendement for sdl version after Qt changes 2014-09-25 21:59:45 +02:00
Henrik Rydgård 7442e5746b Merge pull request #6946 from unknownbrackets/gpu-minor
Simplify the viewport calculation
2014-09-25 15:44:30 +02:00
Unknown W. Brackets 67a54504c7 Oops, left the comment in the wrong one. 2014-09-24 23:11:47 -07:00
Unknown W. Brackets cee2827172 Normalize newlines, no code changes.
We really shouldn't let mixed newlines creep into the codebase.
They're annoying.
2014-09-24 23:10:13 -07:00
Unknown W. Brackets d1e992736b Simplify the viewport code a bit. 2014-09-24 23:09:09 -07:00
beaumanvienna fadedee75f amendments for: global variable 'fullscreenCLI'/move on top timer/Qt fullscreen code 2014-09-24 23:24:23 +02:00
beaumanvienna 48856951a7 amendments for: global variable 'fullscreenCLI'/move on top timer/Qt fullscreen code 2014-09-24 23:23:25 +02:00
Henrik Rydgård abb294ff7d Merge pull request #6940 from unknownbrackets/blend-logicop
d3d9: Emulate some logic ops with blending
2014-09-24 09:30:58 +02:00
Henrik Rydgård 6d5236baa6 Merge pull request #6942 from unknownbrackets/gpu-minor
gles: Avoid pow(<= 0, 0) entirely, undefined
2014-09-24 09:29:24 +02:00
Unknown W. Brackets 81592e9cf5 gles: Avoid pow(<= 0, 0) entirely, undefined.
Should work on more driver versions.  Fixes #6941.
2014-09-23 23:59:32 -07:00
Unknown W. Brackets c88b66b308 d3d9: Emulate some logic ops with blending.
This makes Brave Story's intro visible.  Also add for GLES2/GLES3, but
doesn't seem to work on GLES2.
2014-09-23 21:13:47 -07:00
Henrik Rydgård 2aed007250 Merge pull request #6935 from unknownbrackets/atrac-minor
Try to match the initial atrac decode size
2014-09-24 00:13:10 +02:00
beaumanvienna 3db5420beb dual head support for Qt reworked / --fullscreen for Qt / fullscreen top most 2014-09-23 22:33:25 +02:00
beaumanvienna e11f403a8e dual head support for Qt reworked / --fullscreen for Qt / fullscreen top most 2014-09-23 22:30:50 +02:00
beaumanvienna 3a918141ef dual head support for Qt reworked / --fullscreen for Qt / fullscreen top most 2014-09-23 22:29:02 +02:00
beaumanvienna 2bc6864222 dual head support for Qt reworked / --fullscreen for Qt / fullscreen top most 2014-09-23 22:27:18 +02:00
Unknown W. Brackets 0ebe5325d4 Correct the end from sceAtracGetSoundSample().
I think it's meant to be the last *valid* sample.
2014-09-23 11:33:21 -07:00
Unknown W. Brackets e717a87f9f Add extra frames if we run out of atrac data.
We could probably insert frames instead for GHA phase shifting, but this
will solve other bugs too, I think.
2014-09-23 11:33:21 -07:00
Unknown W. Brackets fa42426d21 Clamp the final sample count during decode.
Some games depend on / expect this, or else they'll let important data get
overwritten.
2014-09-23 11:33:20 -07:00
Unknown W. Brackets 68f4a1e7f7 Return the correct next sample at the beginning. 2014-09-23 11:33:20 -07:00
Unknown W. Brackets 0aa7247fea Fix seeking in atrac after the start.
Not sure the very start is right though, arg.
2014-09-23 11:33:19 -07:00
Unknown W. Brackets 4702ae0e41 Add breakpoints to most sceAtrac mem access. 2014-09-23 11:33:18 -07:00
Unknown W. Brackets 6b6bf3f8e6 Correct the dataOff member of atrac context. 2014-09-23 11:33:18 -07:00
Unknown W. Brackets ac1fcdb269 Skip samples in the first chunk of atrac output.
This seems to be what the PSP actually does, although not sure.  The first
result is always smaller by this amount (numerous atrac files tested.)
2014-09-23 11:32:11 -07:00
Unknown W. Brackets 70705d4a9d Remove incorrect atrac decode ptr nullcheck.
Already shown in decode test to be valid.
2014-09-23 08:32:09 -07:00
Unknown W. Brackets 199e6bcd3b Avoid crashing when calling an invalid address.
We already have a check, let's use it properly.
2014-09-23 08:31:29 -07:00
beaumanvienna 66c585e931 dual head support (SDL_VIDEO_FULLSCREEN_HEAD) for Qt and SDL2 2014-09-22 20:08:02 +02:00
beaumanvienna eb0ca946e9 dual head support (SDL_VIDEO_FULLSCREEN_HEAD) for Qt and SDL2 2014-09-22 20:07:03 +02:00
Unknown W. Brackets 9bcffc5b4d Fix divide by zero in memcpy checks.
Happened in Resistance demo.
2014-09-21 21:36:26 -07:00
Henrik Rydgård 9aaaf3a835 Merge pull request #6922 from daniel229/a_few_func_replacement
A few functions replace in some games
2014-09-21 23:13:02 +02:00
Henrik Rydgård b9d3443e1b Merge pull request #6931 from CPkmn/patch-6
D3D9 Get maxAnisotropyLevel from device caps
2014-09-21 22:31:31 +02:00
Henrik Rydgård e20816a223 Merge pull request #6934 from unknownbrackets/d3d9
Update the Direct3D pixel shader to be more like GLES
2014-09-21 22:30:38 +02:00