cen64/device/options.h
Christopher Bonhage 6b7c2af8d4 Add support for 768Kbit SRAM save type
Fixes a Segfault when loading Dezaemon 3D.

  * Unfortunately, Dezaemon 3D does not actually work yet. It appears to
    fail the SRAM test, which still needs further investigation.

Adds an option alias for sram256k to disambiguate with new sram768k option.
2021-12-17 21:18:48 +01:00

49 lines
1 KiB
C

//
// options.h: Common CEN64 simulation options.
//
// CEN64: Cycle-Accurate Nintendo 64 Emulator.
// Copyright (C) 2015, Tyler J. Stachecki.
//
// This file is subject to the terms and conditions defined in
// 'LICENSE', which is part of this source code package.
//
#ifndef __options_h__
#define __options_h__
#include "common.h"
struct cen64_options {
const char *ddipl_path;
const char *ddrom_path;
const char *pifrom_path;
const char *cart_path;
const char *debugger_addr;
const char *eeprom_path;
size_t eeprom_size;
const char *sram_path;
size_t sram_size;
const char *flashram_path;
int is_viewer_present;
struct controller *controller;
#ifdef _WIN32
bool console;
#endif
bool enable_debugger;
bool enable_profiling;
bool multithread;
bool no_audio;
bool no_video;
};
extern const struct cen64_options default_cen64_options;
cen64_cold int parse_options(struct cen64_options *, int argc, const char *argv[]);
cen64_cold void print_command_line_usage(const char *invokation_string);
#endif