mirror of https://github.com/nmlgc/ReC98.git
[Decompilation] [th02] Dialog: EGC initialization
Second-to-last one! Completes P0259, funded by Splashman and Yanga.
This commit is contained in:
parent
8f28286349
commit
dfaa3c67c4
|
@ -1,5 +1,6 @@
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include "platform.h"
|
#include "platform.h"
|
||||||
|
#include "pc98.h"
|
||||||
#include "shiftjis.hpp"
|
#include "shiftjis.hpp"
|
||||||
#include "master.hpp"
|
#include "master.hpp"
|
||||||
#include "th02/formats/dialog.hpp"
|
#include "th02/formats/dialog.hpp"
|
||||||
|
@ -27,3 +28,8 @@ void dialog_load_and_init(void)
|
||||||
file_close();
|
file_close();
|
||||||
dialog_box_cur = 0;
|
dialog_box_cur = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ZUN bloat: Turn into a single global inline function.
|
||||||
|
#define egc_start_copy near egc_start_copy_2
|
||||||
|
#include "th01/hardware/egcstart.cpp"
|
||||||
|
#undef egc_start_copy
|
||||||
|
|
|
@ -12358,12 +12358,11 @@ loc_12C66:
|
||||||
sub_12B9E endp
|
sub_12B9E endp
|
||||||
|
|
||||||
extern @dialog_load_and_init$qv:proc
|
extern @dialog_load_and_init$qv:proc
|
||||||
|
@egc_start_copy_2$qv procdesc pascal near
|
||||||
DIALOG_TEXT ends
|
DIALOG_TEXT ends
|
||||||
|
|
||||||
main_03__TEXT segment byte public 'CODE' use16
|
main_03__TEXT segment byte public 'CODE' use16
|
||||||
|
|
||||||
EGC_START_COPY_DEF 2, near
|
|
||||||
|
|
||||||
; =============== S U B R O U T I N E =======================================
|
; =============== S U B R O U T I N E =======================================
|
||||||
|
|
||||||
; Attributes: bp-based frame
|
; Attributes: bp-based frame
|
||||||
|
|
Loading…
Reference in New Issue