mirror of
https://codeberg.org/KeybadeBlox/JSRF-Decompilation.git
synced 2026-02-20 02:07:02 +03:00
Separate compiler optimization flags
The /O2 used before was actually a preset for a bunch of more specific flags, which are now written explicitly for clarity and easier modification later.
This commit is contained in:
parent
4dae5206c0
commit
683818b637
2 changed files with 2 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ all: src/JSRF/Jet2.obj
|
||||||
# Simple inference rule for producing object files
|
# Simple inference rule for producing object files
|
||||||
.SUFFIXES: .cpp .obj
|
.SUFFIXES: .cpp .obj
|
||||||
.cpp.obj:
|
.cpp.obj:
|
||||||
CL.EXE /nologo /Wall /TP /W3 /O2 /Ob0 /MT /GX /Fo$@ /c $<
|
CL.EXE /nologo /Wall /TP /W3 /Ogityb0 /MT /GX /Fo$@ /c $<
|
||||||
|
|
||||||
# Header files used for each object
|
# Header files used for each object
|
||||||
src/JSRF/Jet2.obj: src/JSRF/Core.hpp src/XDK/D3D.hpp src/XDK/Win32.hpp\
|
src/JSRF/Jet2.obj: src/JSRF/Core.hpp src/XDK/D3D.hpp src/XDK/Win32.hpp\
|
||||||
|
|
|
||||||
|
|
@ -569,7 +569,7 @@ void Game::frame() {
|
||||||
// Matching: yes
|
// Matching: yes
|
||||||
int Game::mainLoop() {
|
int Game::mainLoop() {
|
||||||
if (this->initState >= 0) while (true) {
|
if (this->initState >= 0) while (true) {
|
||||||
if (this->fatalErr == FALSE) this->frame();
|
if (!this->fatalErr) this->frame();
|
||||||
else {
|
else {
|
||||||
readInput();
|
readInput();
|
||||||
Sleep(0x10);
|
Sleep(0x10);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue