Skip to content

Instantly share code, notes, and snippets.

View DaisukeDaisuke's full-sized avatar
overwork

DaisukeDaisuke

overwork
View GitHub Profile
@DaisukeDaisuke
DaisukeDaisuke / 2025-3-17_desmume-stacktrace.diff
Last active March 17, 2025 06:57 — forked from oupo/desmume-stacktrace.diff
DeSmuME スタックトレース その2
diff --git a/desmume/src/arm_instructions.cpp b/desmume/src/arm_instructions.cpp
index e413393d..2ac9e6c0 100644
--- a/desmume/src/arm_instructions.cpp
+++ b/desmume/src/arm_instructions.cpp
@@ -5752,6 +5752,13 @@ TEMPLATE static u32 FASTCALL OP_STMDB_W(const u32 i)
u32 c = 0, b;
u32 start = cpu->R[REG_POS(i,16)];
+ #ifdef HAVE_LUA
+ if (REG_POS(i, 16) == 13 && BIT_N(i, 14) && PROCNUM == 0) {
<?php
namespace delion\discord;
use React\EventLoop\Factory as LoopFactory;
use Discord\Discord;
use Discord\Parts\Channel\Channel;
define('BOT_TOKEN', '');
define('BOT_CHANNEL', '');