Skip to content

Instantly share code, notes, and snippets.

View Bigpet's full-sized avatar

Peter Tissen Bigpet

View GitHub Profile
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
#include <stdio.h>
#include <sys/process.h>
#include <sys/ppu_thread.h>
#include <pthread.h>
SYS_PROCESS_PARAM(1001, 0x10000)
int thread_getStackSize(uint64_t arg) {
pthread_attr_t attr;
size_t size = 0;
2:02 PM <Bigpet__> can anyone run the *.self on a real PS3 that was posted here: http://www.emunewz.net/forum/showthread.php?tid=167481&page=2
2:04 PM <Nekoteki> only two prx fail to loat
2:04 PM <Nekoteki> *load
2:05 PM <Nekoteki> sys_fs_Library
2:06 PM <Nekoteki> and cellMusicDecUtil_Library
2:07 PM ↔ AlexAltea nipped out
2:09 PM <BlackDa3> Bigpet__: hmm
2:09 PM BlackDa3 → BlackDaem
2:13 PM <BlackDaem> Bigpet__: http://pastie.org/private/z6nozedhuher4nnor8xoea for some reason it crashed
2:15 PM <BlackDaem> hmm
memeka> I am having issues with alpha in ppssppsdl (using sdl2) .. but the libretro version is working fine
12:38 PM <memeka> libretro does not use STENCIL, but uses ALPHA instead ... no idea details ... but can STENCIL be disabled in ppssppsdl ?
1:55 PM <memeka> hm
1:55 PM <memeka> can I force the use of FBO565?
2:29 PM → TheMajinZenki, AreaScout and Bobbo_ joined ⇐ anarsoul|2, TheMajin|AWAY, chinho_, memeka, xsacha, Achiel and marzipanWhale quit
5:04 PM → sergio-br2, Achiel, ent, refs and chinho joined ⇐ AreaScout quit ↔ dogen, [SS] and Achielsan popped in ↔ DocMAX (was DocMAX2), Viper168 (was Viper168_) and elgatov nipped out
Thursday, February 19th, 2015
12:21 AM → memeka joined ⇐ Bobbo_ and Achiel quit
12:32 AM <memeka> https://github.com/hrydgard/native/blob/master/gfx_es2/fbo.cpp#L157 has transparency issues with FBO_8888 ... using FBO_565 the image looks good with buffered rendering - unbuffered still have the alpha issues ... any idea why?
bool tryandloadDX9(std::string *error_message)
{
DIRECT3DCREATE9EX g_pfnCreate9ex;
HMODULE hD3D9 = LoadLibrary(TEXT("d3d9.dll"));
if (!hD3D9) {
ELOG("Missing d3d9.dll");
*error_message = "D3D9.dll missing - try reinstalling DirectX.";
return false;
}
@Bigpet
Bigpet / gist:945bd47d26f4e23a5c6b
Created January 21, 2015 23:12
ppsspp tony hawk log clean
08:24:354 EmuThread.cpp:169 I[BOOT]: Done.
08:25:546 FileUtil.cpp:533 I[COMMON]: CreateEmptyFile: D:\DEV\ppsspp\Windows\..\installedTEMP.txt
08:25:546 FileUtil.cpp:210 I[COMMON]: Delete: file D:\DEV\ppsspp\Windows\..\installedTEMP.txt
08:30:277 Config.cpp:915 I[LOAD]: Config saved: D:\DEV\ppsspp\Windows\..\memstick/PSP/SYSTEM/ppsspp.ini
08:30:279 Config.cpp:928 I[LOAD]: Controller config saved: D:\DEV\ppsspp\Windows\..\memstick/PSP/SYSTEM/controls.ini
08:30:635 Config.cpp:915 I[LOAD]: Config saved: D:\DEV\ppsspp\Windows\..\memstick/PSP/SYSTEM/ppsspp.ini
08:30:636 Config.cpp:928 I[LOAD]: Controller config saved: D:\DEV\ppsspp\Windows\..\memstick/PSP/SYSTEM/controls.ini
08:31:445 Config.cpp:1159 I[LOAD]: Failed to read D:\DEV\ppsspp\Windows\..\memstick/PSP/SYSTEM/ULES00035_ppsspp.ini. No game-specific settings found, using global defaults.
08:31:445 System.cpp:348 I[BOOT]: PPSSPP v0.9.9-1687-g08eaa6e Windows 64 bit
08:31:446 MemMap.cpp:338 I[MM]: Memory system initialized. RAM at 000000000AC10000 (mirror at 0 @
32:19:164 bbe_main I[ME]: HLE/sceMpeg.cpp:421 sceMpegInit()
32:19:165 bbe_main I[KERNEL]: HLE/sceKernelThread.cpp:2176 302=sceKernelCreateThread(name=bbe_dlc, entry=08a2e4a4, prio=10, stacksize=16384)
32:19:165 bbe_main I[KERNEL]: HLE/sceKernelThread.cpp:2275 sceKernelStartThread(thread=302, argSize=4, argPtr=08b775b4)
32:21:300 bbe_main I[SCEGE]: Common/FramebufferCommon.cpp:329 Creating FBO for 00154000 : 480 x 272 x 0
32:21:333 bbe_main I[SCEGE]: Common/FramebufferCommon.cpp:329 Creating FBO for 00198000 : 256 x 272 x 3
32:21:334 bbe_main W[SCEGE]: Common/FramebufferCommon.cpp:371 FBO reusing depthbuffer, 00198000/00088000 and 00154000/00088000
32:21:381 bbe_main I[SCEGE]: Common/FramebufferCommon.cpp:329 Creating FBO for 001ba000 : 128 x 272 x 3
32:21:381 bbe_main W[SCEGE]: Common/FramebufferCommon.cpp:371 FBO reusing depthbuffer, 001ba000/00088000 and 00154000/00088000
32:21:385 bbe_main I[SCEGE]: Common/FramebufferCommon.cpp:329 Creating FBO for 001c4000 : 64 x 272 x
05:04:751 HLE/sceKernelModule.cpp:1235 I[LOAD]: Exporting ent 144 named obj__app__ys_menu_cursor_o, 3 funcs, 0 vars, resident 089cd038
05:04:751 HLE/sceKernelModule.cpp:1235 I[LOAD]: Exporting ent 145 named obj__app_task__ui_main_menu_o, 122 funcs, 36 vars, resident 089cd070
05:04:752 HLE/sceKernelModule.cpp:1235 I[LOAD]: Exporting ent 146 named obj__app_task__ui_storage_o, 76 funcs, 21 vars, resident 089cd61c
05:04:752 HLE/sceKernelModule.cpp:1235 I[LOAD]: Exporting ent 147 named obj__app_task__ys_network_game_message_receiver_o, 4 funcs, 0 vars, resident 089cd9f8
05:04:753 HLE/sceKernelModule.cpp:1235 I[LOAD]: Exporting ent 148 named obj__god__god_support_o, 12 funcs, 0 vars, resident 089cda30
05:04:753 HLE/sceKernelModule.cpp:1235 I[LOAD]: Exporting ent 149 named obj__enemy__creature_share_action_move_state_o, 20 funcs, 9 vars, resident 089cdac0
05:04:753 HLE/sceKernelModule.cpp:1235 I[LOAD]: Exporting ent 150 named obj__enemy__creature_share_battle_move_state_o, 34 funcs, 5 vars, resident 089cdbf8
05:04:7
55:31:919 root N[BOOT]: UI/EmuScreen.cpp:138 Loading /home/bigpet/.config/ppsspp/PSP/GAME/NPJH90069...
Program received signal SIGSEGV, Segmentation fault.
0x00007fffd209902a in ?? ()
(gdb) bt
#0 0x00007fffd209902a in ?? ()
#1 0x000000000246e980 in ?? ()
#2 0x000000000246e980 in ?? ()
#3 0x000000000219c730 in ?? ()
#4 0x00000000ffffffff in ?? ()
Event Description CPU Time (ns) GPU Time (ns) API Error Message
0 (Start of Capture) 0x00010001 0 0
1 void glDepthMask(GLboolean flag = GL_TRUE) 0x00010001 12 0
2 void glEnable(GLenum cap = GL_BLEND) 0x00010001 11 0
3 void glBlendEquationSeparate(GLenum modeRGB = GL_FUNC_ADD, GLenum modeAlpha = GL_FUNC_ADD) 0x00010001 12 0
4 void glBlendFuncSeparate(GLenum sfactorRGB = GL_SRC_ALPHA, GLenum dfactorRGB = GL_ONE_MINUS_SRC_ALPHA, GLenum sfactorAlpha = GL_MAP_READ_BIT, GLenum dfactorAlpha = GL_ZERO) 0x00010001 4 0
5 void glBlendColor(GLclampf red = 1.000000, GLclampf green = 1.000000, GLclampf blue = 1.000000, GLclampf alpha = 1.000000) 0x00010001 4 0
6 void glDisable(GLenum cap = GL_SCISSOR_TEST) 0x00010001 10 0
7 void glScissor(GLint x = 953, GLint y = 10, GLsizei width = 290, GLsizei height = 698) 0x00010001 5 0
8 void glDisable(GLenum cap = GL_CULL_FACE) 0x00010001 3 0