mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-18 18:30:59 +00:00
DS: Merge r52533 from trunk.
svn-id: r52534
This commit is contained in:
parent
ff1b64937a
commit
9c495a23b2
@ -631,7 +631,10 @@ size_t std_fwrite(const void *ptr, size_t size, size_t numItems, FILE *handle) {
|
||||
return 0;
|
||||
|
||||
if ((handle == stderr) || (handle == stdout)) {
|
||||
#ifndef DISABLE_TEXT_CONSOLE
|
||||
nocashMessage((char *) ptr);
|
||||
// consolePrintf((char *) ptr);
|
||||
#endif
|
||||
return size;
|
||||
}
|
||||
|
||||
|
@ -237,7 +237,7 @@ CXXFLAGS= $(CFLAGS) -Wno-non-virtual-dtor -Wno-unknown-pragmas -Wno-reorder \
|
||||
|
||||
|
||||
ASFLAGS = -mcpu=arm9tdmi -mthumb-interwork
|
||||
DEFINES += -D__DS__ -DNDS -DARM9 -DNONSTANDARD_PORT -DDISABLE_FANCY_THEMES -DVECTOR_RENDERER_FORMAT=1555 -DDISABLE_DOSBOX_OPL -DDISABLE_DEFAULT_SAVEFILEMANAGER -DELF_LOADER_TARGET -DARM -DARM_TARGET -DONE_PLUGIN_AT_A_TIME
|
||||
DEFINES += -D__DS__ -DNDS -DARM9 -DNONSTANDARD_PORT -DDISABLE_TEXT_CONSOLE -DDISABLE_FANCY_THEMES -DVECTOR_RENDERER_FORMAT=1555 -DDISABLE_DOSBOX_OPL -DDISABLE_DEFAULT_SAVEFILEMANAGER -DELF_LOADER_TARGET -DARM -DARM_TARGET -DONE_PLUGIN_AT_A_TIME
|
||||
ifdef USE_MAD
|
||||
DEFINES += -DUSE_MAD
|
||||
endif
|
||||
|
@ -3232,6 +3232,10 @@ int main(void) {
|
||||
|
||||
|
||||
int main() {
|
||||
#ifndef DISABLE_TEXT_CONSOLE
|
||||
consoleDebugInit(DebugDevice_NOCASH);
|
||||
nocashMessage("startup\n");
|
||||
#endif
|
||||
DS::main();
|
||||
}
|
||||
|
||||
|
@ -40,10 +40,6 @@
|
||||
|
||||
#define double float
|
||||
|
||||
#ifndef DISABLE_TEXT_CONSOLE
|
||||
#define DISABLE_TEXT_CONSOLE
|
||||
#endif
|
||||
|
||||
#ifndef DISABLE_COMMAND_LINE
|
||||
#define DISABLE_COMMAND_LINE
|
||||
#endif
|
||||
|
3
configure
vendored
3
configure
vendored
@ -1546,7 +1546,7 @@ if test -n "$_host"; then
|
||||
DEFINES="$DEFINES -DDISABLE_DEFAULT_SAVEFILEMANAGER"
|
||||
DEFINES="$DEFINES -DREDUCE_MEMORY_USAGE -DSTREAM_AUDIO_FROM_DISK"
|
||||
DEFINES="$DEFINES -DDISABLE_DOSBOX_OPL -DDISABLE_SID -DDISABLE_NES_APU"
|
||||
DEFINES="$DEFINES -DDISABLE_TEXT_CONSOLE -DDISABLE_COMMAND_LINE"
|
||||
DEFINES="$DEFINES -DDISABLE_COMMAND_LINE"
|
||||
DEFINES="$DEFINES -DARM_TARGET"
|
||||
_need_memalign=yes
|
||||
add_line_to_config_mk 'USE_ARM_SOUND_ASM = 1'
|
||||
@ -1554,6 +1554,7 @@ if test -n "$_host"; then
|
||||
add_line_to_config_mk 'USE_ARM_GFX_ASM = 1'
|
||||
add_line_to_config_mk 'USE_ARM_COSTUME_ASM = 1'
|
||||
add_line_to_config_mk 'USE_ARM_SCALER_ASM = 1'
|
||||
add_line_to_config_h '#define DISABLE_TEXT_CONSOLE'
|
||||
_backend="ds"
|
||||
_build_scalers=no
|
||||
_mt32emu=no
|
||||
|
Loading…
x
Reference in New Issue
Block a user