Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
Version Update: 0.3.0
  • Loading branch information
SourMesen committed Oct 26, 2019
1 parent bfa88fb commit b4d28cfbdce241e4a849dd49eb78454499bbb3cb
Showing with 13 additions and 17 deletions.
  1. +2 −2 Core/EmuSettings.cpp
  2. +5 −8 InteropDLL/EmuApiWrapper.cpp
  3. +1 −1 UI/Config/Configuration.cs
  4. +2 −2 UI/Properties/AssemblyInfo.cs
  5. +3 −4 buildPGO.sh
@@ -17,9 +17,9 @@ EmuSettings::EmuSettings(Console* console)

uint32_t EmuSettings::GetVersion()
{
//Version 0.2.0
//Version 0.3.0
uint16_t major = 0;
uint8_t minor = 2;
uint8_t minor = 3;
uint8_t revision = 0;
return (major << 16) | (minor << 8) | revision;
}
@@ -264,16 +264,13 @@ extern "C" {
_console->Initialize();
_console->LoadRom((VirtualFile)testRoms[i], VirtualFile());

thread testThread([=] {
if(enableDebugger) {
//turn on debugger to profile the debugger's code too
_console->GetDebugger();
}
_console->Run();
});
if(enableDebugger) {
//turn on debugger to profile the debugger's code too
_console->GetDebugger();
}

std::this_thread::sleep_for(std::chrono::duration<int, std::milli>(5000));
_console->Stop(false);
testThread.join();
_console->Release();
}
}
@@ -14,7 +14,7 @@ public class Configuration
{
private bool _needToSave = false;

public string Version = "0.2.0";
public string Version = "0.3.0";
public VideoConfig Video;
public AudioConfig Audio;
public InputConfig Input;
@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("0.2.*")]
[assembly: AssemblyFileVersion("0.2.0.0")]
[assembly: AssemblyVersion("0.3.*")]
[assembly: AssemblyFileVersion("0.3.0.0")]
@@ -13,7 +13,7 @@
#
# Note: While GCC runs through this script just fine, the runtime performance is pretty terrible (something must be wrong with the way this is built)
#
# This will produce the following binary: bin/x64/Release/Mesen.exe
# This will produce the following binary: bin/x64/Release/Mesen-S.exe
if [ "$MESENPLATFORM" = x86 ]; then
PLAT="x86"
else
@@ -27,13 +27,12 @@ else
fi

OBJ="PGOHelper/obj.${PLAT}/"
FLAGS="LTO=true MESENPLATFORM=${PLAT}"
FLAGS="LTO=true STATICLINK=true MESENPLATFORM=${PLAT}"

eval ${FLAGS} make clean

#create instrumented binary
eval ${FLAGS} PGO=profile make ${TARG} -j 16
eval ${FLAGS} PGO=profile make pgohelper -B
eval ${FLAGS} PGO=profile make pgohelper -B -j 16
eval cp bin/pgohelperlib.so ${OBJ}

#run the instrumented binary

0 comments on commit b4d28cf

Please sign in to comment.