-
-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
71 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/* #undef ALLEGRO_BCC32 */ | ||
/* #undef ALLEGRO_BEOS */ | ||
/* #undef ALLEGRO_DJGPP */ | ||
/* #undef ALLEGRO_DMC */ | ||
/* #undef ALLEGRO_HAIKU */ | ||
/* #undef ALLEGRO_MACOSX */ | ||
/* #undef ALLEGRO_MINGW32 */ | ||
/* #undef ALLEGRO_MPW */ | ||
/* #define ALLEGRO_MSVC */ | ||
/* #undef ALLEGRO_PSP */ | ||
/* #undef ALLEGRO_QNX */ | ||
/* #undef ALLEGRO_UNIX */ | ||
/* #undef ALLEGRO_WATCOM */ | ||
|
||
/* These are always defined now. */ | ||
#define ALLEGRO_NO_ASM | ||
#define ALLEGRO_USE_C |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ set(ROMVIEW_CORE_SOURCES | |
|
||
src/zsys.cpp | ||
src/romview.cpp | ||
src/alleg_compat.cpp | ||
|
||
## End of Romview Core module | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
//-------------------------------------------------------- | ||
// Zelda Classic | ||
// | ||
// alleg_compat.cpp | ||
// | ||
// Compatibility between allegro versions. | ||
// | ||
//-------------------------------------------------------- | ||
|
||
#include <allegro.h> | ||
|
||
PACKFILE *pack_fopen_password(const char *filename, const char *mode, const char *password) { | ||
packfile_password(password); | ||
return pack_fopen(filename, mode); | ||
} | ||
|
||
uint64_t file_size_ex_password(const char *filename, const char *password) { | ||
packfile_password(password); | ||
return file_size_ex(filename); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
//-------------------------------------------------------- | ||
// Zelda Classic | ||
// | ||
// alleg_compat.h | ||
// | ||
// Compatibility between allegro versions. | ||
// | ||
//-------------------------------------------------------- | ||
|
||
#ifndef _ZC_ALLEG_COMPAT_H_ | ||
#define _ZC_ALLEG_COMPAT_H_ | ||
|
||
PACKFILE *pack_fopen_password(const char *filename, const char *mode, const char *password); | ||
uint64_t file_size_ex_password(const char *filename, const char *password); | ||
|
||
#endif // _ZC_ALLEG_COMPAT_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters