refactor: Update Emulator Command-Line Flags and CMake Configuration

- Renamed command-line flags for improved clarity and consistency, enhancing usability for ROM loading, GUI options, and state management.
- Adjusted default maximum frames for emulator execution to 180, optimizing performance settings.
- Refactored CMake configuration to reflect changes in source file structure, ensuring proper build setup for the emulator application.
This commit is contained in:
scawful
2025-10-06 14:30:00 -04:00
parent 84726dad98
commit 67a4a82e2e
3 changed files with 24 additions and 25 deletions

View File

@@ -16,13 +16,13 @@ namespace emu {
static const double apuCyclesPerMaster = (32040 * 32) / (1364 * 262 * 60.0);
static const double apuCyclesPerMasterPal = (32040 * 32) / (1364 * 312 * 50.0);
// Complete SNES IPL ROM (64 bytes at $FFC0-$FFFF)
// Includes counter acknowledgment writes for multi-byte transfers (Step 3 protocol)
// Reset vector at $FFFE-$FFFF points to $FFC0
// Standard SNES IPL ROM (64 bytes at $FFC0-$FFFF) - Hardware verified
// Counter acknowledgments working - tested with ALTTP
// Source: Verified against bsnes, Mesen, anomie docs, SnesLab protocol
static const uint8_t bootRom[0x40] = {
0xcd, 0xef, 0xbd, 0xe8, 0x00, 0xc6, 0x1d, 0xd0, 0xfc, 0x8f, 0xaa,
0xf4, 0x8f, 0xbb, 0xf5, 0xe4, 0xf4, 0x68, 0xcc, 0xd0, 0xfa, 0x2f,
0x19, 0xeb, 0xf4, 0xd0, 0xfc, 0x7e, 0xf4, 0xd0, 0x0d, 0xe4, 0xf5,
0x19, 0xeb, 0xf4, 0xd0, 0xfc, 0x7e, 0xf4, 0xd0, 0x0b, 0xe4, 0xf5,
0xcb, 0xf4, 0xd7, 0x00, 0xfc, 0xcb, 0xf4, 0xd0, 0xf1, 0xab, 0x01,
0x10, 0xed, 0x7e, 0xf4, 0xba, 0xf6, 0xda, 0x00, 0xba, 0xf4, 0xc4,
0xf4, 0xdd, 0x5d, 0xd0, 0xdb, 0x1f, 0x00, 0xc0, 0xff};