<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>dumbo001</author_name>
  <author_url>https://blog.hatena.ne.jp/dumbo001/</author_url>
  <blog_title>DumBo さんの Homebrew 開発日記</blog_title>
  <blog_url>https://dumbo001.hatenablog.com/</blog_url>
  <categories>
    <anon>ニンテンドーDS</anon>
    <anon>プログラミング</anon>
    <anon>学習</anon>
    <anon>作り物</anon>
  </categories>
  <description>RGKT-NDS-HMBR-005(002) 各場面毎の遷移の一部には少しの待ち時間を置いて状態遷移を行ってます。 市販ゲームでよくあるような挙動に近付けるためです。 ウェイト動作無しで順次駆動させるだけだと目まぐるしいというか 味気ないゲームになってしまうからです。 で、以下のようなウェイトを掛ける極単純な関数を作ってみました。 void setWaitForVBlank(u32 frame) { while(frame){ swiWaitForVBlank(); frame--; } } とある処理の後に、少し待ち時間を設けたいといったとき、 そこで待ちたいだけの V-BLANK 割り込み…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fdumbo001.hatenablog.com%2Fentry%2F20090307%2F1236423941&quot; title=&quot;ピンポンゲーム（簡易版）。（２） - DumBo さんの Homebrew 開発日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2009-03-07 20:05:41</published>
  <title>ピンポンゲーム（簡易版）。（２）</title>
  <type>rich</type>
  <url>https://dumbo001.hatenablog.com/entry/20090307/1236423941</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
