ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/BasiliskII/src/main.cpp
(Generate patch)

Comparing BasiliskII/src/main.cpp (file contents):
Revision 1.8 by cebix, 2001-06-27T20:05:23Z vs.
Revision 1.9 by cebix, 2001-06-30T17:21:51Z

# Line 64 | Line 64 | bool InitAll(void)
64   {
65          // Check ROM version
66          if (!CheckROM()) {
67 <                ErrorAlert(GetString(STR_UNSUPPORTED_ROM_TYPE_ERR));
67 >                ErrorAlert(STR_UNSUPPORTED_ROM_TYPE_ERR);
68                  return false;
69          }
70  
# Line 153 | Line 153 | bool InitAll(void)
153  
154          // Install ROM patches
155          if (!PatchROM()) {
156 <                ErrorAlert(GetString(STR_UNSUPPORTED_ROM_TYPE_ERR));
156 >                ErrorAlert(STR_UNSUPPORTED_ROM_TYPE_ERR);
157                  return false;
158          }
159  
# Line 211 | Line 211 | void ExitAll(void)
211          DiskExit();
212          SonyExit();
213   }
214 +
215 +
216 + /*
217 + *  Display error/warning alert given the message string ID
218 + */
219 +
220 + void ErrorAlert(int string_id)
221 + {
222 +        ErrorAlert(GetString(string_id));
223 + }
224 +
225 + void WarningAlert(int string_id)
226 + {
227 +        WarningAlert(GetString(string_id));
228 + }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines