mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-14 10:37:17 -07:00
Code cleanup and fixes on 64bits
This commit is contained in:
parent
af8c5ab978
commit
394939347c
6 changed files with 23 additions and 11 deletions
|
@ -30,8 +30,13 @@
|
|||
#include "ichain.h"
|
||||
#include "regs.h"
|
||||
|
||||
//#define AUDIO_HEAP_SIZE 0x38000
|
||||
#define AUDIO_HEAP_SIZE 0x3800000 // The original audio heap size was too small. The heap would exceed capacity and corrupt everything in its path.
|
||||
#if defined(_WIN64) || defined(__x86_64__)
|
||||
#define _SOH64
|
||||
#define AUDIO_HEAP_SIZE 0x70000
|
||||
#else
|
||||
#define AUDIO_HEAP_SIZE 0x38000
|
||||
#endif
|
||||
|
||||
#define SYSTEM_HEAP_SIZE (1024 * 1024 * 4)
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -537,9 +542,9 @@ typedef enum {
|
|||
/* 4 */ TEXT_STATE_CHOICE,
|
||||
/* 5 */ TEXT_STATE_EVENT,
|
||||
/* 6 */ TEXT_STATE_DONE,
|
||||
/* 7 */ TEXT_STATE_SONG_DEMO_DONE,
|
||||
/* 8 */ TEXT_STATE_8,
|
||||
/* 9 */ TEXT_STATE_9,
|
||||
/* 7 */ TEXT_STATE_SONG_DEMO_DONE,
|
||||
/* 8 */ TEXT_STATE_8,
|
||||
/* 9 */ TEXT_STATE_9,
|
||||
/* 10 */ TEXT_STATE_AWAITING_NEXT
|
||||
} TextState;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue