#include "absl/debugging/failure_signal_handler.h"
#include "absl/debugging/symbolize.h"
#include "app/core/controller.h"
#include "util/flag.h"
Go to the source code of this file.
Namespaces | |
namespace | yaze |
Main namespace for the application. | |
Functions | |
DEFINE_FLAG (std::string, rom_file, "", "The ROM file to load.") | |
int | main (int argc, char **argv) |
DEFINE_FLAG | ( | std::string | , |
rom_file | , | ||
"" | , | ||
"The ROM file to load." | ) |
int main | ( | int | argc, |
char ** | argv ) |
Definition at line 18 of file main.cc.
References EXIT_IF_ERROR, yaze::util::global_flag_registry(), yaze::emu::Snes::Init(), yaze::Rom::is_loaded(), yaze::Rom::LoadFromFile(), yaze::emu::Snes::Memory(), yaze::util::FlagParser::Parse(), RETURN_IF_EXCEPTION, yaze::emu::Snes::RunFrame(), yaze::emu::Snes::SetPixels(), yaze::emu::Snes::SetSamples(), and yaze::Rom::vector().
Referenced by yaze::zelda3::OverworldMap::LoadPalette(), yaze::gfx::Paletteset::Paletteset(), and yaze::zelda3::palette_internal::SetColorsPalette().