yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
emu.cc File Reference
#include <SDL.h>
#include <memory>
#include <string>
#include <vector>
#include "absl/debugging/failure_signal_handler.h"
#include "absl/debugging/symbolize.h"
#include "absl/flags/flag.h"
#include "absl/flags/parse.h"
#include "app/emu/snes.h"
#include "app/rom.h"
#include "app/gfx/backend/irenderer.h"
#include "app/gfx/backend/sdl2_renderer.h"
#include "util/sdl_deleter.h"

Go to the source code of this file.

Functions

 ABSL_FLAG (std::string, emu_rom, "", "Path to the ROM file to load.")
 
 ABSL_FLAG (bool, emu_no_gui, false, "Disable GUI and run in headless mode.")
 
 ABSL_FLAG (std::string, emu_load_state, "", "Load emulator state from a file.")
 
 ABSL_FLAG (std::string, emu_dump_state, "", "Dump emulator state to a file.")
 
 ABSL_FLAG (int, emu_frames, 0, "Number of frames to run the emulator for.")
 
 ABSL_FLAG (int, emu_max_frames, 180, "Maximum frames to run before auto-exit (0=infinite, default=180/3 seconds).")
 
 ABSL_FLAG (bool, emu_debug_apu, false, "Enable detailed APU/SPC700 logging.")
 
 ABSL_FLAG (bool, emu_debug_cpu, false, "Enable detailed CPU execution logging.")
 
int main (int argc, char **argv)
 

Function Documentation

◆ ABSL_FLAG() [1/8]

ABSL_FLAG ( std::string  ,
emu_rom  ,
""  ,
"Path to the ROM file to load."   
)

◆ ABSL_FLAG() [2/8]

ABSL_FLAG ( bool  ,
emu_no_gui  ,
false  ,
"Disable GUI and run in headless mode."   
)

◆ ABSL_FLAG() [3/8]

ABSL_FLAG ( std::string  ,
emu_load_state  ,
""  ,
"Load emulator state from a file."   
)

◆ ABSL_FLAG() [4/8]

ABSL_FLAG ( std::string  ,
emu_dump_state  ,
""  ,
"Dump emulator state to a file."   
)

◆ ABSL_FLAG() [5/8]

ABSL_FLAG ( int  ,
emu_frames  ,
,
"Number of frames to run the emulator for."   
)

◆ ABSL_FLAG() [6/8]

ABSL_FLAG ( int  ,
emu_max_frames  ,
180  ,
"Maximum frames to run before auto-exit (0=infinite, default=180/3 seconds)."   
)

◆ ABSL_FLAG() [7/8]

ABSL_FLAG ( bool  ,
emu_debug_apu  ,
false  ,
"Enable detailed APU/SPC700 logging."   
)

◆ ABSL_FLAG() [8/8]

ABSL_FLAG ( bool  ,
emu_debug_cpu  ,
false  ,
"Enable detailed CPU execution logging."   
)

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 32 of file emu.cc.