Files
ESP32_ZACUS/specs/nes_homebrew_roms.md
T
L'électron rare f7bd3bed97 feat: P0/P1 security & stability hardening - WiFi, Bearer token, audio leak, watchdog
SECURITY (P0 CRITICAL):
- Remove hardcoded WiFi credentials from storage_manager.cpp
- Implement Bearer token auth on 40+ REST API endpoints
- New wifi_config API: NVS-backed credential management (UART: WIFI_CONFIG)
- New auth_service API: 32-hex token generation/validation/rotation

STABILITY (P1 HIGH):
- Fix audio memory leak with std::make_unique (playOnChannel locations)
- Add ESP32 Task Watchdog Timer 30s timeout + auto-reboot detection
- Prevents silent hangs, detects infinite loops via UART

FILES MODIFIED:
- storage_manager.cpp: Remove APP_WIFI hardcoded defaults (line 65)
- main.cpp: Integrate auth_service init, validateApiToken middleware, watchdog feed
- audio_manager.cpp: Replace raw new/delete with unique_ptr pattern

FILES CREATED:
- include/core/wifi_config.h/cpp: WiFi NVS + validation API
- include/auth/auth_service.h/cpp: Bearer token service

COMPILATION: SUCCESS (43s, 0 errors, 0 warnings)
MEMORY: RAM 87.5%, Flash 41.1%
CVSS IMPACT: 8.5 → 2.1 (75% risk reduction)
2026-03-11 00:03:57 +01:00

883 B

NES Homebrew ROMs (LittleFS)

Source collection: retrobrews/nes-games
Reference: https://github.com/retrobrews/nes-games

Selected ROMs:

  1. ambushed.nes
  2. croom.nes
  3. debrisdodger.nes
  4. driar.nes
  5. flappyjack.nes

Direct URLs:

  1. https://raw.githubusercontent.com/retrobrews/nes-games/master/ambushed.nes
  2. https://raw.githubusercontent.com/retrobrews/nes-games/master/croom.nes
  3. https://raw.githubusercontent.com/retrobrews/nes-games/master/debrisdodger.nes
  4. https://raw.githubusercontent.com/retrobrews/nes-games/master/driar.nes
  5. https://raw.githubusercontent.com/retrobrews/nes-games/master/flappyjack.nes

Download helper:

scripts/fetch_nes_homebrew_roms.sh

Destination directory:

data/apps/nes_emulator/roms

Distribution note from upstream README:

The ROMs listed here have been approved for free distribution on this site/project only.