Fixed eeprom saving on VC (#334)

* Fixed eeprom saving on VC

* Specify SM for EEP4K, for any other savetype use ED

* Moved IS_VC() check to an earlier point, switch IS_VC()->gIsVC

* Moved binary VC files to bin folder, added checks for EEP

* Do not keep vc_bin if EEP is not set
This commit is contained in:
Denis Kopyrin authored and GitHub committed 2022-03-26 22:39:44 -04:00
1 parent 4b9a0b89a0
commit 4a3ef802d5
12 files changed
+128 -3

No files matched your search

+3
View File
@@ -21,6 +21,8 @@
#include "game/puppyprint.h"
#include "game/puppylights.h"
#include "game/vc_check.h"
// Message IDs
enum MessageIDs {
MESG_SP_COMPLETE = 100,
@@ -302,6 +304,7 @@ void thread3_main(UNUSED void *arg) {
setup_mesg_queues();
alloc_pool();
load_engine_code_segment();
gIsVC = IS_VC();
#ifndef UNF
crash_screen_init();
#endif