Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
flycast
Commits
527a712d
Commit
527a712d
authored
Aug 09, 2018
by
Libretro-Admin
Browse files
Now works on 32bit Windows
parent
25b0e3d1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Makefile
View file @
527a712d
...
...
@@ -7,6 +7,7 @@ NO_THREADS := 1
NO_EXCEPTIONS
:=
0
NO_NVMEM
:=
0
NO_VERIFY
:=
1
HAVE_LTCG
:=
1
HAVE_GENERIC_JIT
:=
1
HAVE_GL3
:=
0
FORCE_GLES
:=
0
...
...
@@ -469,6 +470,10 @@ RZDCY_CFLAGS += $(HOST_CPU_FLAGS)
include
Makefile.common
ifeq
($(WITH_DYNAREC), x86)
HAVE_LTCG
=
0
endif
ifeq
($(DEBUG),1)
OPTFLAGS
:=
-O0
LDFLAGS
+=
-g
...
...
@@ -479,12 +484,17 @@ ifneq (,$(findstring msvc,$(platform)))
else
OPTFLAGS
:=
-O3
endif
CORE_DEFINES
+=
-DNDEBUG
-flto
CORE_DEFINES
+=
-DNDEBUG
LDFLAGS
+=
-DNDEBUG
ifeq
($(HAVE_LTCG), 1)
CORE_DEFINES
+=
-flto
endif
CORE_DEFINES
+=
-DRELEASE
endif
ifeq
($(HAVE_GL3), 1)
HAVE_CORE
=
1
CORE_DEFINES
+=
-DHAVE_GL3
...
...
core/libretro/common.cpp
View file @
527a712d
...
...
@@ -685,7 +685,7 @@ void common_libretro_setup(void)
// setup_seh();
AddVectoredExceptionHandler
(
1
,
ExceptionHandler
);
#endif
SetUnhandledExceptionFilter
(
0
);
SetUnhandledExceptionFilter
(
&
ExceptionHandler
);
#else
exception_handler_install_platform
();
signal
(
SIGINT
,
exit
);
...
...
core/rec-x86/rec_win86_asm.S
View file @
527a712d
...
...
@@ -9,7 +9,7 @@
.
globl
_cycle_counter
.
globl
_loop_no_update
.
globl
_intc_sched
.
globl
_bm_GetCode
.
globl
_
_Z10
bm_GetCode
j
.
globl
_UpdateSystem
.
globl
_rdv_DoInterrupts
.
globl
_rdv_BlockCheckFail
...
...
@@ -91,7 +91,7 @@ _ngen_mainloop:
#
next_pc
_MUST_
be
on
ecx
no_update
:
mov
esi
,
ecx
call
_bm_GetCode
#
bm_GetCode
call
_
_Z10
bm_GetCode
j
#
bm_GetCode
jmp
eax
intc_sched_offs
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment