#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.
|
namespace | yaze |
| Main namespace for the application.
|
|
◆ DECLARE_FLAG()
DECLARE_FLAG |
( |
std::string | , |
|
|
rom_file | ) |
◆ DEFINE_FLAG()
DEFINE_FLAG |
( |
std::string | , |
|
|
rom_file | , |
|
|
"" | , |
|
|
"The ROM file to load." | ) |
◆ main()
int main |
( |
int | argc, |
|
|
char ** | argv ) |
Definition at line 19 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().