]> git.sur5r.net Git - cc65/blobdiff - src/sim65/simdata.h
Working
[cc65] / src / sim65 / simdata.h
index 915c31c7c3e70df61c4a4d83140417ede6a96321..c4d80ccb1438e61f5a7553820e7ac085209086c9 100644 (file)
@@ -67,6 +67,9 @@ struct SimData {
     void (*Internal) (const char* Format, ...);
     /* Print an internal program error and terminate */
 
+    void (*Break) (const char* Format, ...);
+    /* Stop the CPU and display the given message */
+
     int (*GetCfgId) (void* CfgInfo, const char* Name, char** Id);
     /* Search CfgInfo for an attribute with the given name and type "id". If
      * found, remove it from the configuration, pass a pointer to a dynamically
@@ -76,11 +79,11 @@ struct SimData {
      */
 
     int (*GetCfgStr) (void* CfgInfo, const char* Name, char** S);
-    /* Search CfgInfo for an attribute with the given name and type "id". If
-     * found, remove it from the configuration, pass a pointer to a dynamically
-     * allocated string containing the value to Id, and return true. If not
-     * found, return false. The memory passed in S must be free by a call to
-     * Free();
+    /* Search CfgInfo for an attribute with the given name and type "string".
+     * If found, remove it from the configuration, pass a pointer to a
+     * dynamically allocated string containing the value to S, and return
+     * true. If not found, return false. The memory passed in S must be free
+     * by a call to Free();
      */
 
     int (*GetCfgNum) (void* CfgInfo, const char* Name, long* Val);