Skip to content

Instantly share code, notes, and snippets.

View Hirato's full-sized avatar

Hirato Kirata Hirato

View GitHub Profile
diff --git a/Source/ui_qt/ControllerConfig/inputeventselectiondialog.cpp b/Source/ui_qt/ControllerConfig/inputeventselectiondialog.cpp
index 2107c95d..3d228eb6 100644
--- a/Source/ui_qt/ControllerConfig/inputeventselectiondialog.cpp
+++ b/Source/ui_qt/ControllerConfig/inputeventselectiondialog.cpp
@@ -42,10 +42,8 @@ void InputEventSelectionDialog::Setup(const char* text, CInputBindingManager* in
static bool IsAxisIdle(uint32 value)
{
- uint32 triggerRange = (255 * 20) / 100;
- uint32 triggerVal1 = 255 - triggerRange;
Thread 73 "PPU[0x1000010] " received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffee97fa700 (LWP 79205)]
0x0000000000ec3818 in se_t<double, true, 8ul>::operator= (this=0x350170080, value=-2.9374465244229968e-306) at /home/hirato/temp/rpcs3/Utilities/BEType.h:530
530 return m_data = storage::to(value), *this;
(gdb) bt full
#0 0x0000000000ec3818 in se_t<double, true, 8ul>::operator= (this=0x350170080, value=-2.9374465244229968e-306) at /home/hirato/temp/rpcs3/Utilities/BEType.h:530
No locals.
#1 0x0000000000ebcaa6 in ppu_interpreter::STFD (ppu=..., op=...) at /home/hirato/temp/rpcs3/rpcs3/Emu/Cell/PPUInterpreter.cpp:4555
addr = 1343684736
#2 0x00000000006d7e67 in ppu_thread::exec_task (this=0x7fff24549b50) at /home/hirato/temp/rpcs3/rpcs3/Emu/Cell/PPUThread.cpp:655
This file has been truncated, but you can view the full file.
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
rpcs3: /home/hirato/temp/rpcs3/llvm/lib/ExecutionEngine/GDBRegistrationListener.cpp:168: virtual void {anonymous}::GDBJITRegistrationListener::NotifyObjectEmitted(const llvm::object::ObjectFile&, const llvm::RuntimeDyld::LoadedObjectInfo&): Assertion `ObjectBufferMap.find(Key) == ObjectBufferMap.end() && "Second attempt to perform debug registration."' failed.
Thread 43 "PPU[0x1000000] " received signal SIGABRT, Aborted.
[Switching to Thread 0x7fff366f6700 (LWP 54147)]
0x00007ffff4eead7f in raise () from /usr/lib/libc.so.6
(gdb) bt full
#0 0x00007ffff4eead7f in raise () from /usr/lib/libc.so.6
No symbol table info available.
#1 0x00007ffff4ed5672 in abort () from /usr/lib/libc.so.6
No symbol table info available.
@Hirato
Hirato / gist:3cd51dc846c4dbc99562df95fa529041
Created September 25, 2016 13:06
RE compiler warning
game/game.cpp: In function ‘bool game::tvmode(bool, bool)’:
game/game.cpp:676:34: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
case CS_WAITING: if((waitmode && (!player1->lastdeath || lastmillis-player1->lastdeath >= 500)) || (force && focus != player1 && followmode && followaim()))
^~
game/game.cpp:677:34: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’
return true; break;
^~~~~
PCSX2 1.3.1-20151110081220 - compiled on Nov 10 2015
Savestate version: 0x9a0b0000
Host Machine Init:
Operating System = Linux 4.2.5-1-ARCH x86_64
Physical RAM = 16083 MB
CPU name = AMD FX(tm)-8320 Eight-Core Processor
Vendor/Model = AuthenticAMD (stepping 00)
CPU speed = 3.512 ghz (8 logical threads)
x86PType = Standard OEM
PCSX2 1.3.1-20151110081220 - compiled on Nov 10 2015
Savestate version: 0x9a0b0000
Host Machine Init:
Operating System = Linux 4.2.5-1-ARCH x86_64
Physical RAM = 16083 MB
CPU name = AMD FX(tm)-8320 Eight-Core Processor
Vendor/Model = AuthenticAMD (stepping 00)
CPU speed = 3.513 ghz (8 logical threads)
x86PType = Standard OEM
PCSX2 1.3.1-20151110081220 - compiled on Nov 10 2015
Savestate version: 0x9a0b0000
Host Machine Init:
Operating System = Linux 4.2.5-1-ARCH x86_64
Physical RAM = 16083 MB
CPU name = AMD FX(tm)-8320 Eight-Core Processor
Vendor/Model = AuthenticAMD (stepping 00)
CPU speed = 3.513 ghz (8 logical threads)
x86PType = Standard OEM
/usr/share/fonts/Type1/n019003l.pfb: Nimbus Sans L:style=Regular
/usr/share/fonts/TTF/FreeMonoBold.ttf: FreeMono:style=Bold,получерен,negreta,tučné,fed,Fett,Έντονα,Negrita,Lihavoitu,Gras,Félkövér,Grassetto,Vet,Halvfet,Pogrubiony,Negrito,gros,Полужирный,Fet,Kalın,huruf tebal,жирний,polkrepko,treknraksts,pusjuodis,đậm,Lodia,धृष्ट:spacing=100
/usr/share/fonts/misc/6x9.pcf.gz: Fixed:style=Regular:spacing=110
/usr/share/fonts/Type1/n021003l.pfb: Nimbus Roman No9 L:style=Regular
/usr/share/fonts/Type1/n019044l.pfb: Nimbus Sans L:style=Bold Condensed
/usr/share/fonts/TTF/DejaVuSerifCondensed.ttf: DejaVu Serif,DejaVu Serif Condensed:style=Condensed,Book
/usr/share/fonts/TTF/FreeMono.ttf: FreeMono:style=Regular,нормален,normal,obyčejné,Standard,µεσαία,Normaali,Normál,Normale,Standaard,Normalny,Обычный,Normálne,menengah,прямій,navadno,vidējs,normalusis,thường,Arrunta,सामान्य:spacing=100
/usr/share/fonts/misc/9x15.pcf.gz: Fixed:style=Regular:spacing=110
/usr/share/fonts/Type1/n021024l.pfb: Nimbus Roman No9 L:style=Med
Pattern has 33 elts (size 48)
family: "DejaVu Sans"(s)
familylang: "en"(s)
style: "Book"(w)
stylelang: "en"(w)
fullname: "DejaVu Sans"(w)
fullnamelang: "en"(w)
slant: 0(i)(s)
weight: 80(i)(s)
width: 100(i)(s)