-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Switch to 64-bit executable: - it allows to add support for modern (64-bit) emulators, without relying on WOW64 API, - add support for `BizHawk 2.3.x` emulator - Drop ***Unicode*** support. Not needed in practice, - Replace `sprintf` with the safe version: `sprintf_s`, - Introduce unified custom type system, inspired by the ***Rust*** data-types: `i8, u8, i16, u16, i32, u32, i64, u64, usize, f32, f64`, - Move types and structs definitions into a separate header file `vst_types.h`, - Move global varibales into a separate header file `vst_init.h`, - Update the file storing the current play-time only if needed, instead of writing to it on every loop iteration, - Display proper location message while the game is loading - Tweak/refine some structs: `location`, `player_stats`, `item_info`, - Replace custom `NELEMS` macro with existing `_countof` macro, - Fix indexing bug for the `AccessoriesList` array: first element is at index 97 instead of 0 or 1.
- Loading branch information
1 parent
fc521e5
commit b34a2d4
Showing
18 changed files
with
1,658 additions
and
1,296 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
############################################################################### | ||
# Set default behavior to automatically normalize line endings. | ||
############################################################################### | ||
* text=auto | ||
|
||
############################################################################### | ||
# Set default behavior for command prompt diff. | ||
# | ||
# This is need for earlier builds of msysgit that does not have it on by | ||
# default for csharp files. | ||
# Note: This is only used by command line | ||
############################################################################### | ||
#*.cs diff=csharp | ||
|
||
############################################################################### | ||
# Set the merge driver for project and solution files | ||
# | ||
# Merging from the command prompt will add diff markers to the files if there | ||
# are conflicts (Merging from VS is not affected by the settings below, in VS | ||
# the diff markers are never inserted). Diff markers may cause the following | ||
# file extensions to fail to load in VS. An alternative would be to treat | ||
# these files as binary and thus will always conflict and require user | ||
# intervention with every merge. To do so, just uncomment the entries below | ||
############################################################################### | ||
#*.sln merge=binary | ||
#*.csproj merge=binary | ||
#*.vbproj merge=binary | ||
#*.vcxproj merge=binary | ||
#*.vcproj merge=binary | ||
#*.dbproj merge=binary | ||
#*.fsproj merge=binary | ||
#*.lsproj merge=binary | ||
#*.wixproj merge=binary | ||
#*.modelproj merge=binary | ||
#*.sqlproj merge=binary | ||
#*.wwaproj merge=binary | ||
|
||
############################################################################### | ||
# behavior for image files | ||
# | ||
# image files are treated as binary by default. | ||
############################################################################### | ||
#*.jpg binary | ||
#*.png binary | ||
#*.gif binary | ||
|
||
############################################################################### | ||
# diff behavior for common document formats | ||
# | ||
# Convert binary document formats to text before diffing them. This feature | ||
# is only available from the command line. Turn it on by uncommenting the | ||
# entries below. | ||
############################################################################### | ||
#*.doc diff=astextplain | ||
#*.DOC diff=astextplain | ||
#*.docx diff=astextplain | ||
#*.DOCX diff=astextplain | ||
#*.dot diff=astextplain | ||
#*.DOT diff=astextplain | ||
#*.pdf diff=astextplain | ||
#*.PDF diff=astextplain | ||
#*.rtf diff=astextplain | ||
#*.RTF diff=astextplain |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
@echo off | ||
cl main.c /Fe: vstrack-release /nologo /link user32.lib psapi.lib | ||
cl main.c /Fe: vstrack-release /nologo /link user32.lib psapi.lib Wtsapi32.lib Advapi32.lib | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
@echo off | ||
cl main.c /Fe: vstrack /nologo /Zi /link user32.lib psapi.lib | ||
cl main.c /Fe: vstrack /nologo /Zi /link user32.lib psapi.lib Wtsapi32.lib Advapi32.lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
#ifndef _VST_EMULATION_H | ||
#define _VST_EMULATION_H | ||
|
||
// #define PSX_TO_EPSXE_1900 0x7F5A8660 | ||
#define PSX_TO_EPSXE_1900 0x7F9A8660 | ||
// The formula: | ||
// PSX_TO_EMU = PSX_OFFSET - EMU_OFFSET + EMU_BASE_ADDRESS | ||
|
||
// #define PSX_TO_EPSXE_1925 0x7F574960 | ||
#define PSX_TO_EPSXE_1900 0x7F9A8660 | ||
#define PSX_TO_EPSXE_1925 0x7F974960 | ||
|
||
// #define PSX_TO_EPSXE_2050 0x7EC4DFE0 | ||
#define PSX_TO_EPSXE_2050 0x7F57DFE0 | ||
|
||
#define PSX_TO_BIZHAWK_2300 0x7FEE2750 | ||
#define PSX_TO_BIZHAWK_2320 0x7FEE2780 | ||
#endif |
Oops, something went wrong.