OSDN Git Service

vram mirroring が正しくとれないバグを修正
[unagi/old-svn-converted.git] / client / trunk / anago / script_program.h
index d1c3197..4767820 100644 (file)
@@ -1,8 +1,8 @@
 #ifndef _SCRIPT_PROGRAM_H_
 #define _SCRIPT_PROGRAM_H_
 struct program_config{
-       const char *script;
-       const char *target;
+       const wgChar *script;
+       const wgChar *target;
        const struct reader_handle *handle;
        const struct reader_control *control;
        struct flash_memory_driver{
@@ -17,9 +17,10 @@ struct program_config{
                struct gauge gauge;
        }cpu, ppu;
        long mappernum;
-       bool compare, testrun;
+       enum vram_mirroring vram_mirroring;
+       bool compare;
        struct textcontrol log;
-       void (*except)(const char *str);
+       void (*except)(const wgChar *str);
 };
-void script_program_execute(struct program_config *c);
+bool script_program_execute(struct program_config *c);
 #endif