This file contains hidden or 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
set(CMAKE_SYSTEM_NAME Generic) | |
set(CMAKE_SYSTEM_PROCESSOR aarch64) | |
set(CMAKE_EXE_LINKER_FLAGS_INIT "-march=armv8-a -mtune=cortex-a57 -mtp=soft -fPIE -ftls-model=local-exec -L/opt/devkitpro/portlibs/switch/lib -L/opt/devkitpro/libnx/lib -specs=/opt/devkitpro/libnx/switch.specs") | |
set(CMAKE_MODULE_LINKER_FLAGS_INIT "${CMAKE_EXE_LINKER_FLAGS_INIT}") | |
set(CMAKE_REQUIRED_LIBRARIES nx) | |
set(SWITCH_LIBNX TRUE) | |
SET(CMAKE_FIND_ROOT_PATH /opt/devkitpro/portlibs/switch/) |
This file contains hidden or 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
unsigned int approx(float f) { | |
float ax = fabs(f); | |
unsigned int extra = 1; | |
if (ax >= 128.f) { | |
ax = 129.f; | |
extra = 0; | |
} | |
double w; | |
float ax2 = modf(ax, &w); | |
unsigned int sign = (f < 0.0f) << 31; |
This file contains hidden or 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
diff --git a/src/core/file_sys/vfs_real.cpp b/src/core/file_sys/vfs_real.cpp | |
index 22c858e0..99deb579 100644 | |
--- a/src/core/file_sys/vfs_real.cpp | |
+++ b/src/core/file_sys/vfs_real.cpp | |
@@ -1,7 +1,7 @@ | |
// Copyright 2018 yuzu emulator team | |
// Licensed under GPLv2 or any later version | |
// Refer to the license.txt file included. | |
- | |
+#pragma optimize("", off) |
This file contains hidden or 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
struct Proxy { | |
std::string url; | |
std::string username; | |
std::string password; | |
u16 port; | |
}; | |
struct BasicAuth { | |
std::string username; | |
std::string password; |
This file contains hidden or 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
#!/bin/bash | |
# First, install Docker. | |
echo "Adding Docker APT repository" | |
sudo apt-get update | |
sudo apt-get install -y apt-transport-https ca-certificates curl software-properties-common | |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu xenial stable" | |
sudo apt-get update |
This file contains hidden or 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
[ 201.841446] Service.NVDRV <Warning> core\hle\service\nvdrv\devices\nvhost_gpu.cpp:SubmitGPFIFO:127: (STUBBED) called, gpfifo=1080ac108, num_entries=7, flags=104 | |
[ 230.096599] HW.GPU <Warning> video_core\command_processor.cpp:ProcessCommandList:98: Processing command list | |
[ 230.097010] HW.GPU <Warning> video_core\command_processor.cpp:ProcessCommandList:106: Processing command (raw: 0x2001C00B) method 0xB mode 0x1 subchannel 0x6 argcount/inlinedata 0x1 | |
[ 230.097119] HW.GPU <Warning> video_core\command_processor.cpp:WriteReg:36: Writing method 0xB on subchannel 0x6 value 0x80000000 remaining params 0 | |
[ 230.097239] HW.GPU <Error> video_core\command_processor.cpp:WriteReg:70: Special buffer methods other than Bind are not implemented | |
[ 230.097329] HW.GPU <Warning> video_core\command_processor.cpp:ProcessCommandList:106: Processing command (raw: 0x2001C00B) method 0xB mode 0x1 subchannel 0x6 argcount/inlinedata 0x1 | |
[ 230.097445] HW.GPU <Warning> video_core\command_processor.cpp:WriteReg:36: Writing method 0xB on |
This file contains hidden or 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
apiVersion: apps/v1 # for versions before 1.9.0 use apps/v1beta2 | |
kind: Deployment | |
metadata: | |
name: mysql-deployment | |
spec: | |
selector: | |
matchLabels: | |
app: mysql | |
replicas: 1 | |
template: # create pods using pod definition in this template |
This file contains hidden or 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
diff --git a/src/core/hle/service/apt/apt.cpp b/src/core/hle/service/apt/apt.cpp | |
index 164c5bb6..3965dee5 100644 | |
--- a/src/core/hle/service/apt/apt.cpp | |
+++ b/src/core/hle/service/apt/apt.cpp | |
@@ -79,8 +79,18 @@ struct AppletSlotData { | |
AppletAttributes attributes; | |
Kernel::SharedPtr<Kernel::Event> notification_event; | |
Kernel::SharedPtr<Kernel::Event> parameter_event; | |
+ | |
+ void Reset() { |
This file contains hidden or 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
for (unsigned i = 0; i < command_buffer->number_commands; ++i) { | |
g_debugger.GXCommandProcessed((u8*)&command_buffer->commands[i]); | |
// Decode and execute command | |
ExecuteCommand(command_buffer->commands[i], thread_id); | |
// Indicates that command has completed | |
command_buffer->number_commands.Assign(command_buffer->number_commands - 1); | |
} |
This file contains hidden or 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
DVLE 0: byte offset to main: 0x00000444", original filename "DVLP" | |
Got 1 DVLE headers | |
Constant register info: b0 = false (raw: 0x00000000) | |
Constant register info: b1 = false (raw: 0x00010000) | |
Constant register info: b2 = true (raw: 0x00020000) | |
Constant register info: b3 = true (raw: 0x00030000) | |
Constant register info: b4 = true (raw: 0x00040000) | |
Constant register info: b5 = false (raw: 0x00050000) | |
Constant register info: b6 = false (raw: 0x00060000) | |
Constant register info: b7 = true (raw: 0x00070000) |