yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
controller.h File Reference
#include "app/platform/sdl_compat.h"
#include <memory>
#include "absl/status/status.h"
#include "app/editor/editor_manager.h"
#include "app/gfx/backend/irenderer.h"
#include "app/platform/iwindow.h"
#include "rom/rom.h"

Go to the source code of this file.

Classes

class  yaze::Controller
 Main controller for the application. More...
 

Namespaces

namespace  yaze
 

Functions

int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int argc,
char ** argv )
Todo
Use factory or detect backend
Todo
Use proper aspect ratio handling

Definition at line 39 of file emu.cc.

References yaze::emu::Snes::apu(), yaze::emu::audio::AudioConfig::buffer_frames, yaze::emu::audio::AudioConfig::channels, yaze::util::CrashHandler::CleanupOldLogs(), yaze::platform::Close, yaze::util::LogManager::configure(), yaze::emu::Snes::cpu(), yaze::emu::audio::AudioBackendFactory::Create(), yaze::gfx::RendererFactory::Create(), yaze::platform::WindowBackendFactory::Create(), yaze::platform::DropFile, yaze::platform::WindowEvent::dropped_file, yaze::emu::audio::AudioConfig::format, yaze::core::FeatureFlags::get(), yaze::platform::WindowBackendFactory::GetDefaultType(), yaze::util::PlatformPaths::GetUserDocumentsSubdirectory(), yaze::util::global_flag_registry(), yaze::platform::WindowConfig::height, yaze::platform::WindowConfig::high_dpi, yaze::emu::test::HeadlessEmulator::Init(), yaze::emu::Snes::Init(), yaze::Application::Initialize(), yaze::util::CrashHandler::Initialize(), yaze::emu::input::InputManager::Initialize(), yaze::Application::Instance(), yaze::util::LogManager::instance(), yaze::emu::audio::INT16, yaze::Rom::is_loaded(), yaze::core::FeatureFlags::Flags::kLogToConsole, yaze::Rom::LoadFromFile(), yaze::emu::Snes::loadState(), LOG_ERROR, LOG_INFO, anonymous_namespace{main.cc}::LogLevelToString(), yaze::emu::Snes::memory(), yaze::util::FlagParser::Parse(), anonymous_namespace{main.cc}::ParseCommaList(), anonymous_namespace{main.cc}::ParseLogCategories(), anonymous_namespace{main.cc}::ParseLogLevelFlag(), yaze::emu::input::InputManager::Poll(), yaze::platform::Quit, yaze::platform::WindowConfig::resizable, RETURN_IF_EXCEPTION, yaze::AppConfig::rom_file, yaze::emu::Snes::RunFrame(), yaze::emu::test::HeadlessEmulator::RunFrames(), yaze::emu::audio::AudioConfig::sample_rate, yaze::emu::Snes::saveState(), yaze::emu::audio::AudioBackendFactory::SDL2, yaze::emu::input::InputBackendFactory::SDL2, yaze::emu::Snes::SetPixels(), yaze::emu::Snes::SetSamples(), yaze::Application::Shutdown(), yaze::Rom::size(), yaze::StartupVisibilityFromString(), TickFrame(), yaze::platform::WindowConfig::title, yaze::platform::WindowEvent::type, yaze::Rom::vector(), yaze::platform::WindowConfig::width, yaze::util::YAZE_DEBUG, and YAZE_VERSION_STRING.

Referenced by yaze::zelda3::OverworldMap::LoadPalette(), and yaze::zelda3::palette_internal::SetColorsPalette().