GodMode9i/arm9/source/driveMenu.h
Pk11 d8bf2447ec
Clear cart info on eject outside of drive menu and detect ramdrive eject (#146)
* Fix cart info if ejected not in drive menu

* Fix a couple ramdrive issues

- Unmount ramdrive if Slot-2 RAM is ejected
- Fix potentially reading from the wrong location if numSectors > 1 and crosses between locations
- free ramdLoc on regular DS too
- Use calloc to 0 initialize, I saw it mess up occasionally on DSi too

* Update time in the Vblank handler
2022-01-07 20:35:49 -07:00

16 lines
239 B
C++

#ifndef DRIVE_MENU_H
#define DRIVE_MENU_H
#include <string>
#include <vector>
extern bool flashcardMountSkipped;
extern char romTitle[2][13];
extern u32 romSize[2], romSizeTrimmed;
extern void driveMenu (void);
#endif //DRIVE_MENU_H