~ubuntu-branches/ubuntu/raring/vice/raring

« back to all changes in this revision

Viewing changes to src/arch/msdos/vsync.c

  • Committer: Bazaar Package Importer
  • Author(s): Laszlo Boszormenyi (GCS)
  • Date: 2009-03-31 00:37:15 UTC
  • mfrom: (1.2.2 upstream)
  • mto: This revision was merged to the branch mainline in revision 17.
  • Revision ID: james.westby@ubuntu.com-20090331003715-mzclchtl0dp7fcl0
Tags: upstream-2.1.dfsg
ImportĀ upstreamĀ versionĀ 2.1.dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
#include "resources.h"
51
51
#include "sound.h"
52
52
#include "ui.h"
 
53
#include "translate.h"
53
54
#include "types.h"
54
55
#include "vsync.h"
55
56
 
135
136
 
136
137
/* Vsync-related command-line options.  */
137
138
static const cmdline_option_t cmdline_options[] = {
138
 
    { "-speed", SET_RESOURCE, 1, NULL, NULL, "Speed", NULL,
 
139
    { "-speed", SET_RESOURCE, 1,
 
140
      NULL, NULL, "Speed", NULL,
 
141
      USE_PARAM_STRING, USE_DESCRIPTION_STRING,
 
142
      IDCLS_UNUSED, IDCLS_UNUSED,
139
143
      "<percent>", "Limit emulation speed to specified value" },
140
 
    { "-refresh", SET_RESOURCE, 1, NULL, NULL, "RefreshRate", NULL,
 
144
    { "-refresh", SET_RESOURCE, 1,
 
145
      NULL, NULL, "RefreshRate", NULL,
 
146
      USE_PARAM_STRING, USE_DESCRIPTION_STRING,
 
147
      IDCLS_UNUSED, IDCLS_UNUSED,
141
148
      "<value>", "Update every <value> frames (`0' for automatic)" },
142
 
    { "-warp", SET_RESOURCE, 0, NULL, NULL, "WarpMode", (resource_value_t)1,
 
149
    { "-warp", SET_RESOURCE, 0,
 
150
      NULL, NULL, "WarpMode", (resource_value_t)1,
 
151
      USE_PARAM_STRING, USE_DESCRIPTION_STRING,
 
152
      IDCLS_UNUSED, IDCLS_UNUSED,
143
153
      NULL, "Enable warp mode" },
144
 
    { "+warp", SET_RESOURCE, 0, NULL, NULL, "WarpMode", (resource_value_t)0,
 
154
    { "+warp", SET_RESOURCE, 0,
 
155
      NULL, NULL, "WarpMode", (resource_value_t)0,
 
156
      USE_PARAM_STRING, USE_DESCRIPTION_STRING,
 
157
      IDCLS_UNUSED, IDCLS_UNUSED,
145
158
      NULL, "Disable warp mode" },
146
159
    { NULL }
147
160
};