Commit Graph
23807 Commits
Author SHA1 Message Date
valef ac6667d463 Added ShortcutActivity class on ppsspp manifest, so it will appears on homescreen shortcuts choice ("PPSSPP game" in our case). 2014-01-06 18:08:38 +07:00
valef ba5cbfdbfe Added name to display when user long-press homescreen and choose "Shortcuts".
In our case it's "PPSSPP game".
2014-01-06 18:08:38 +07:00
valef 61138e2d1d Added simple file chooser dialog,
This is to select game iso when creating homescreen shortcut.

Probably not an ideal solution, could use ppsspp internal GameBrowser later.
2014-01-06 18:08:37 +07:00
valef 134ebebb93 Added ShortcutActivity class to respond to homescreen shortcut intent.
It will show file dialog and return path to selected file as intent response.
2014-01-06 18:08:37 +07:00
valef 43691090f3 - Removed SHORTCUT_EXTRA_KEY and shortcut query out of NativeActivity class.
- Added String shortcutParam member & setShortcutParam() method. This will be set from other class.
2014-01-06 18:00:24 +07:00
Henrik Rydgård 9f4feafe10 Merge pull request #5027 from unknownbrackets/mpeg-minor
Correct some basic mpeg functionality to match tests
2014-01-06 01:20:39 -08:00
Henrik Rydgård 82c28aa93f Merge pull request #5029 from pal1000/work
Fix warning in MIPS/MIPSAnalyst.cpp
2014-01-06 01:17:55 -08:00
pal1000 e7672655d3 Fix warning in MIPS/MIPSAnalyst.cpp 2014-01-06 10:48:52 +02:00
Unknown W. Brackets 40745e727c Correct errors in sceMpegRingbufferAvailableSize(). 2014-01-05 23:12:16 -08:00
Unknown W. Brackets a896877449 Fix mpeg struct header. 2014-01-05 23:03:17 -08:00
valef b2c3ee8d57 - Added jshortcutParam parameter to libnative_NativeApp_init.
- If shortcut_param is not empty, pass it as additional varargs argument to NativeInit() method.
const char *argv[3] = {app_name.c_str(), shortcut_param.c_str(), 0};
NativeInit(2, argv, user_data_path.c_str(), externalDir.c_str(), installID.c_str());

- NativeInit() is expected to treat extra argument as boot_filename, which in turn will start game immediately.
2014-01-06 13:36:40 +07:00
valef 234344983a - Added key to get shortcut parameter.
public static final String SHORTCUT_EXTRA_KEY = "org.ppsspp.ppsspp.Shortcuts";

- Added code to get shortcut parameter from intent.
String shortcutParam = getIntent().getStringExtra(SHORTCUT_EXTRA_KEY);

- Call NativeApp.init() with shortcutParam argument.
NativeApp.init(dpi, deviceType, languageRegion, apkFilePath, dataDir, externalStorageDir, libraryDir, shortcutParam, installID, useOpenSL);
2014-01-06 13:36:40 +07:00
valef 87533085fa Added 'shortcutParam' argument to init() method declaration.
public static native void init(int dpi, String deviceType, String languageRegion, String apkPath, String dataDir, String externalDir, String libraryDir, String shortcutParam, String installID, boolean useOpenSL);
2014-01-06 13:36:40 +07:00
Unknown W. Brackets e16602641c Improve errors in sceMpegRingbufferConstruct().
And also make Destruct() not actually null out the ringbuffer, per tests.
2014-01-05 22:34:11 -08:00
Sacha 469088b162 Oops. Maemo fix. 2014-01-06 10:41:53 +10:00
Henrik Rydgård cb28d332d3 Merge pull request #5021 from unknownbrackets/mbx-fix
Remove weird 991 mbx check (fixes #2927)
2014-01-05 08:14:09 -08:00
Unknown W. Brackets 116f86a8e8 Remove weird 991 mbx check (fixes #2927.) 2014-01-05 08:10:36 -08:00
Sacha e3a1ecf8a4 Qt: Last fix for Maemo. Confirmed compiling. Thanks @AapoRantalainen 2014-01-05 23:36:08 +10:00
Henrik Rydgard aaf219d063 Only copy the depth buffer if the framebuffer size matches. 2014-01-05 13:00:57 +01:00
Henrik Rydgård 53e23d12a4 Update native with input workaround for Ouya 2014-01-05 12:50:14 +01:00
Henrik Rydgård 432fa7e6e6 Workaround for broken key repeat on Ouya - it sends repeats with a different device ID 2014-01-05 12:49:40 +01:00
Henrik Rydgård 367a5b7a0f Merge pull request #5012 from raven02/patch-6
Typo fix
2014-01-04 17:32:57 -08:00
Unknown W. Brackets 2a56c76f55 Fix crash in non-buffered rendering. 2014-01-04 17:29:00 -08:00
Sacha bb864bdb9a Fix Qt for Maemo 2014-01-05 10:54:05 +10:00
Sacha a2dfb0f5ea Fix Qt for Maemo 2014-01-05 10:53:47 +10:00
raven02 1e3ec469fd Typo fix 2014-01-05 08:46:50 +08:00
Henrik Rydgård ce8f98e1fb Merge pull request #5010 from unknownbrackets/depth-copy
On desktop, blit depth when not cleared
2014-01-04 13:33:33 -08:00
Henrik Rydgard 5398133267 Update native (fbo change on non-ES, read/draw_framebuffer) 2014-01-04 22:32:31 +01:00
Henrik Rydgård 0673808282 Merge pull request #185 from unknownbrackets/fbo-fix
Use GL_READ/DRAW_FRAMEBUFFER on desktop GL.
2014-01-04 13:31:10 -08:00
Unknown W. Brackets 202842d690 On desktop, blit depth when not cleared.
Workaround for #1283, makes Jeanne d'Arc playable.
2014-01-04 11:27:01 -08:00
Unknown W. Brackets ed8df1005d Use GL_READ/DRAW_FRAMEBUFFER on desktop GL.
Even for < OpenGL 4.3 (GLES3 = false.)
2014-01-04 11:13:44 -08:00
Henrik Rydgård 4d477f0076 Merge pull request #4997 from raven02/patch-4
sceMpeg: Add all missing invalid memory check and cleanup format
2014-01-04 07:59:52 -08:00
Henrik Rydgård 7e7d888876 Merge pull request #5007 from jefrsilva/ptpopenfix
Fix for not updating local port information after bind in PtpOpen
2014-01-04 07:57:16 -08:00
Jeferson Rodrigues da Silva 4284290463 Fix for not updating local port information after bind in PtpOpen 2014-01-04 12:57:08 -02:00
raven02 54d97824e0 Apply hleDelayResult to sceMpegAvcCsc 2014-01-04 22:47:34 +08:00
Henrik Rydgård 2c5de99634 Merge pull request #5006 from vnctdj/patch-1
Make "Extract File..." menu item translatable
2014-01-04 03:35:21 -08:00
vnctdj 522f9176a4 Make "Extract File..." menu item translatable 2014-01-04 12:33:02 +01:00
Henrik Rydgard ddfdeb2222 VAGADPCM: no need to check end_ for every sample, it's only modified in DecodeBlock (and Start). 2014-01-04 11:01:44 +01:00
Henrik Rydgård 7ae7807658 Merge pull request #5004 from unknownbrackets/debugger
Don't hashmap functions smaller than 16 bytes
2014-01-04 01:52:02 -08:00
Henrik Rydgård f630d8f1d3 Merge pull request #5002 from unknownbrackets/mpeg-minor
Prevent psmfplayer from loading too many mpeg frames at once
2014-01-04 01:51:28 -08:00
Unknown W. Brackets 1abb001e7f Don't hashmap functions smaller than 16 bytes.
Otherwise, small stub funcs "replicate" annoyingly.
2014-01-04 01:36:36 -08:00
Unknown W. Brackets 936f34a6b7 Check the audio buffer size just in case.
This way we definitely won't overfill it.
2014-01-04 01:25:42 -08:00
Unknown W. Brackets f095ac656b Don't completely fill the psmf ringbuffer at once.
It takes more time (slowing the start of the video), and gets us closer to
overflowing buffers and stuff.
2014-01-04 01:23:44 -08:00
raven02 b28f224fe2 sceMpeg: Add all missing invalid memory check and cleanup format 2014-01-04 16:55:20 +08:00
Amir Zaim Mohd Zaini 33f26a68c2 Qt buildfix for Qt 5.2.0
adding the -lz in line "LIBS" in Linux section to fix compilation error when compiling under Qt version 5.2.0. See issue #4885
2014-01-04 16:43:37 +08:00
Henrik Rydgard 0de71f27cb Optimize the VAGADPCM decoder. 2014-01-04 01:59:20 +01:00
Henrik Rydgård 53deef19c5 Merge pull request #4998 from ufdada/master
disable some settings if sound isn´t enabled
2014-01-03 12:06:55 -08:00
Henrik Rydgård 0a916d48ab Merge pull request #4995 from raven02/patch-3
Lowering the log level of sceNET
2014-01-03 12:06:20 -08:00
ufdada 028bbbeb0b value already bool, no need to cast it 2014-01-03 21:03:57 +01:00
ufdada 70a8391d90 disable some settings if sound isn´t enabled 2014-01-03 20:58:59 +01:00