Skip to content

trevornunes/libpbrom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PlaybookRom class in a shared lib. This is to manage rom/file lists in a common way for the emulators I've ported I didn't like replicating similar code so it makes it easier to maintain a rom browsing library that can be enhanced over time.

#include "pbrom.h"

PlaybookRom romz(rom_nes_c); // sets misc/roms/nes as rom path .. which can be overrided.

romz.updateRomList(); // builds up a list of .nes .NES or .zip files in this directory // initializes the navigator index to 0

romz.getNextRom(); // will return the first rom path in the list ...

romz.getActiveRomName(); // returns the current name of the rom as a string.

see the pbrom.h for more methods.

About

Rom browser shared library toolkit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages