NDS

DeSmuMEがUbuntuで起動しない件が解決した

NDS

Ubuntuをインストールした当初から遭遇していた問題で、コマンドラインでDeSmuMEを起動しようとすると $ desmumeNbr of joysticks: 0The program 'desmume' received an X Window System error. This probably reflects a bug in the program. The error was…

NDSでMQOビューアをつくる(3)

NDS

前回のコードをNDSでも動くようにした。 #include <nds.h> #include <fat.h> #include <stdio.h> #include <string> #include <boost/xpressive/xpressive.hpp> #include "drunkenlogo.h" void init() { // irqs are nice irqInit(); irqSet(IRQ_VBLANK, 0); // set the mode for 2 text layers and two extended background</boost/xpressive/xpressive.hpp></string></stdio.h></fat.h></nds.h>…

NDSでMQOビューアをつくる(2)

昨日のコードのC++版。とりあえずPC用で。 #include <stdio.h> #include <iostream> #include <string> #include <boost/xpressive/xpressive.hpp> using namespace std; int main(int argc, char *argv[]) { using namespace boost::xpressive; if (argc < 1) { return 1; } FILE *fp = fopen(argv[1], "r"); if (fp ==</boost/xpressive/xpressive.hpp></string></iostream></stdio.h>…

NDSでMQOビューアをつくる(1)

DSのマジコンを手に入れた。自作のプログラムを動かせるので、MQOを表示するソフトでも作ってみることにしたよ。まずはMQOをパースしてデータを取り出してみようということで、一行取得して空白で切り出して…とかがんばってたけど、http://rainer.blog7.fc2.…