mirror of
https://github.com/MiSTer-devel/Main_MiSTer.git
synced 2026-05-31 03:04:12 +00:00
Add shared game asset resolution for cheats and game docs, preserving the existing cheat-compatible lookup order while allowing asset-specific validation. Use it to find PDF manuals under docs/<core>/Manuals and keep cheat loading aligned with the same matching rules. Show a synthetic Manual row above Cheats in the generic menu when a matching manual is available, and open it through the existing document viewer. Update manual state when games/images are loaded.
11 lines
200 B
C
11 lines
200 B
C
#ifndef GAME_DOCS_H
|
|
#define GAME_DOCS_H
|
|
|
|
#include <stdint.h>
|
|
|
|
void game_docs_init(const char *rom_path, uint32_t romcrc);
|
|
int game_docs_manual_available();
|
|
const char *game_docs_get_manual();
|
|
|
|
#endif
|