(VirtualBoy) Updated Reality Boy - 模擬器

Table of Contents

2010.03.25

Actually, in my version of the front-end at least, the file paths (emu
and ROM) are stored in 2048-byte strings. But, I kinda goofed because
the command-line options (minus the emu executable path) is stored in
a 512-byte string... :doh:

Microsoft′s docs for ShellExecute don′t say if there is a limit to
the lengths of strings passed to it, so I′m going to increase it to
4K or so and test it out with a really long path.

EDIT: I increased the path variable size and also now use _snprintf()
so there shouldn′t be anymore buffer overruns even if the size is
exceeded (it′ll just cut off the last few options). I tested it on:

"C:Documents and Settings\My DocumentsReally Big, Long, and also Huge
Test PathWhich is also nested quite deeplyAnd is used to store only a
single Virtual Boy ROM ImageSpace Invaders Virtual Collection (J) [!]
.vb" and it worked a treat

Attached you should find a new executable to test.
______________________________________________________________________________

下載;http://ppt.cc/HtEt

來源:http://ppt.cc/6iLM

--
谷 繁 田 中 賢 稻 葉 吉 見 石 川 雅
矢 野 中 村 ロ ㄧ ズ チ ェ ン 攝 津
鳥 谷 ラミレス 涌 井 岩 瀨
小 笠 原 井 端 青 木 ダルビッ 藤 川
ブランコ 杉 內 クルㄧン
宮 本 田 中 將 林 昌 勇

--

All Comments